Support for reST (reStructuredText)
by Christian Ziemski
Hi!
I'm using Po4a for maintenance of reST(reStructuredText) formatted
documents.
The format "text" is almost working fine here but has problems with some
of reST's specials.
So I patched Text.pm to get it working, at least for me.
Since I'm new to Po4a (and to this list) and not fluent in Perl
it may not be a perfect solution, but anyway:
Is there any interest in the patch (it's against version 0.42)?
Regards
Christian
10 years, 6 months
[PATCH] Use File::Temp::tempfile instead of File::Temp->tempfile
by Richard W.M. Jones
On some versions of Perl, using File::Temp->tempfile gives the error:
'tempfile' can't be called as a method at -e line 1.
which is true because tempfile shouldn't be used as a method.
This patch fixes the occurrences in the po4a-0.44 source.
Note this reveals a subtle bug too. There was some code which did:
File::Temp->tempfile ($filename, ...)
In this case, the first arg to the "method" tempfile is the File::Temp
object, so AFAICT the $filename is being ignored or at least not used
correctly. In this case $filename contained a full path like
"po/pod/foo". If you fix the method bug, $filename is suddenly being
used for the first time, and since it contains a full path, the
program breaks (because the parent directories don't exist).
Therefore I replaced that code with:
$basename = basename ($filename);
File::Temp::tempfile ($basename, ...)
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://libguestfs.org
11 years, 7 months
Handling of description environment in LaTeX files by po4a-gettextize
by Carsten Gerlach
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I have again a issue with the usage of po4a-gettextize. Following
example document shows the issue.
==minimal.tex==================
\documentclass{article}
\begin{document}
\begin{description}
\item [item one] description one
\item [item two] description two
\item [item three] description three
\end{description}
\end{document}
===============================
If I do now
$ po4a-gettextize -f latex -m minimal.tex
I get the following result:
==minimal.pot==================
#. type: item[#1]
#: minimal.tex:8
msgid "item one"
msgstr ""
#. type: description
#: minimal.tex:8
msgid "description one"
msgstr ""
#. type: description
#: minimal.tex:8
msgid "[item two] description two"
msgstr ""
#. type: description
#: minimal.tex:8
msgid "[item three] description three"
msgstr ""
===============================
The first line of the description is split into two entries in the pot
file; but beginning with the second line of the description the lines
are not split into two entries.
How can I tell po4a-gettextize, that it should split every line of the
description into two entries? I would prefer this solution, because
then I have not the LaTeX syntax (the square brackets []) in the pot
files.
Thanks for any hint.
Greetings, Carsten
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlFpTfQACgkQ6SlDN6cxaI76SQCgy4XKAo/gdbjVXJR+4b1Ifr90
4eAAmQH82vkXZKe9mQVU7OMuT9+ONJSU
=i0/V
-----END PGP SIGNATURE-----
11 years, 7 months
Invitation - Please Complete Your Profile
by Charles T. Norris
FROM: Worldwide Registry for Business Professionals
TO: po4a-devel(a)lists.alioth.debian.org
RE: Worldwide Registry Publication
Hello,
You were recently chosen to represent your professional
community, deeming you eligible for the inclusion in
the new 2013 Edition of Worldwide Registry for Business
Professionals.
We are pleased to inform you that your candidacy was
formally approved on February 1st, 2013. Congratulations!
Click the link below to verify your profile and accept
the candidacy:
http://www.benchmarketer.com/link.php?M=494309&N=96&L=5&F=T
The Publishing Committee selected you as a professional based not
only upon your current standing, but focusing as well on criteria
from executive and professional directories, associations, and
trade journals. Given your background, the Director believes your
profile makes a fitting addition to our publication.
As we are working off of secondary sources, we must receive
verification from you that your profile is accurate. After
receiving verification, we will validate your registry listing
within seven business days.
Once finalized, your listing will share prominent registry space
with thousands of fellow accomplished individuals across the
globe, each representing accomplishment within their own
geographical area.
To verify your profile and accept the candidacy, please click this
link:
http://www.benchmarketer.com/link.php?M=494309&N=96&L=5&F=T
Please kindly note that our registration deadline for this year's
publication is April 15th, 2013. To ensure you are included,
we must receive your verification on or before this date.
On behalf of our Committee I salute your achievement and welcome
you to our association.
Sincerely yours,
Charles T. Norris
Vice-President, Research Division
Worldwide Registry for Business Professionals
http://www.benchmarketer.com/link.php?M=494309&N=96&L=5&F=T
65 Scenicview Drive
Midland, TX 79701
432-226-2126
If you would like to update your communication preferences,
please click the link below:
http://www.benchmarketer.com/unsubscribe.php?M=494309&C=0a5f68a6042f27659...
11 years, 7 months