[Po4a-devel] Issue with po4a-gettextize and verbatim option
Nicolas François
nicolas.francois at centraliens.net
Tue Aug 15 19:26:01 UTC 2006
Hello,
On Sun, Aug 13, 2006 at 04:54:34PM +0200, David MENTRE wrote:
>
> I'm trying to apply po4a on a LaTeX document. poa4-gettextize fails to
> generate .po files because it does not understand a document-defined
> environment, codesample2, even if I use the "-o verbatim=codesample2"
> option.
The verbatim option permits to add an existing environment to the list
of verbatim environments.
So it's 'normal' if it fails.
This was not a great idea. I will commit a patch to register the
environment if it was not registered before.
In the meantime, you can add to your file a line like:
% po4a: environment codesample2
(note the space at the end of the line)
This will tell po4a that the codesample2 environment exists (the
"-o verbatim=codesample2" option is still needed).
> PS: The man page locale::po4a::latex should say that LaTeX modules
> inherits options from TeX module.
Thanks. I will also fix this.
Kind Regards,
--
Nekral
More information about the Po4a-devel
mailing list