[Po4a-devel] Another issue with po4a-gettextsize: verbatim environments are mangled

David MENTRE dmentre at linux-france.org
Fri Aug 18 09:08:26 UTC 2006


Hello Nicolas,

Nicolas François <nicolas.francois at centraliens.net> writes:

> You cannot use an option twice. You must specify both environment this way.
> -o verbatim=codesample2,codesample4

Thank you, with above option, it seems to work.

Should I give the -o verbatim=codesample2,codesample4 option to
po4a-translate? 

> (I've added this in my TODO, or at least to raise a warning)

Thanks. Yes, it would be better to raise a warning.

>   * The verbatim line is now sufficient (no need for the additional
>     '% po4a: environment xxx ' lines) in po4a 0.28;
>   * These verbatim lines are documented in the Locale::Po4a::TeX man page
>     since 0.28, but they were valid in earlier releases

Thanks.

> I mostly tested the LaTeX module with inline (% po4a:) commands, because
> it's very common to have newly defined / not-standard commands in LaTeX,
> so the inline commands probably provide a better interface. Do not hesitate
> to mention the list if an option is missing.

Ok. Right now, I stay with option because it works but we might refactor
the code latter with %po4a: lines.

> BTW, if modifying the original file is a problem, you can also add these
> commands in a separate file, and specify this file with the
> '-o definitions=' option.

Ok.

Many thanks for the help,
Best regards,
david
-- 
GPG/PGP key: A3AD7A2A David MENTRE <dmentre at linux-france.org>
 5996 CC46 4612 9CA4 3562  D7AC 6C67 9E96 A3AD 7A2A



More information about the Po4a-devel mailing list