[Po4a-devel] Issue with po4a-gettextize and verbatim option

David MENTRE dmentre at linux-france.org
Sun Aug 13 14:54:34 UTC 2006


Hello,

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.

I'm using following command line:
 PERLLIB=~/pub/book/po4a-0.27.2/lib ~/pub/book/po4a-0.27.2/po4a-gettextize -f latex -m daily.tex -p daily.po -o verbatim=codesample2

I get following error message:
daily.tex:15: (po4a::tex)
              unknown environment: 'codesample2'


Am I using badly the command line?

I attach the failing latex file, daily.tex. For information, the
codesample2 environment is defined in another file of the latex document
as:
\DefineVerbatimEnvironment{codesample2}{Verbatim}{frame=single,gobble=2,numbers=left,commandchars=\\\{\}}

Best wishes,
david

PS: The man page locale::po4a::latex should say that LaTeX modules
    inherits options from TeX module.
-- 
GPG/PGP key: A3AD7A2A David MENTRE <dmentre at linux-france.org>
 5996 CC46 4612 9CA4 3562  D7AC 6C67 9E96 A3AD 7A2A

-------------- next part --------------
A non-text attachment was scrubbed...
Name: daily.tex
Type: text/x-tex
Size: 673 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/po4a-devel/attachments/20060813/1f3ea11a/daily.tex


More information about the Po4a-devel mailing list