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(a)linux-france.org>
5996 CC46 4612 9CA4 3562 D7AC 6C67 9E96 A3AD 7A2A