[Po4a-devel] [po4a-Bugs][313322] latex format can not recognize custom environments

po4a-bugs at alioth.debian.org po4a-bugs at alioth.debian.org
Wed Aug 31 20:50:50 UTC 2011


Bugs item #313322, was changed at 31/08/2011 13:45 by Nicolas FRANÇOIS
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=410622&aid=313322&group_id=30267

Status: Open
Priority: 3
Submitted By: Cristian Consonni (cristiancantoro-guest)
Assigned to: Nobody (None)
Summary: latex format can not recognize custom environments 
Category: None
Group: None
Resolution: None


Initial Comment:
I don't know if this is more a feature request than a bug report, anyway I was creating a po file with po4a-gettextize and got the following

$ po4a-gettextize -f latex -m mbe1intro.tex -p olo.po
mbe1intro.tex:101: (po4a::tex)
               ambiente «myVerbatim2» sconosciuto

\begin{myVerbatim2} 
[...]

this is the definition of the environment:
\DefineVerbatimEnvironment%
   {myVerbatim2}%
   {Verbatim}%
   {fontfamily=courier,fontseries=b,frame=single,rulecolor=\color{blue}}

The problem was resolved by commenting all the occurrences of the environment.

Cristian

p.s: the original tex file has been downloaded from:
[1]http://www.csulb.edu/~woollett/mbe1intro.tex 

----------------------------------------------------------------------

>Comment By: Nicolas FRANÇOIS (nekral-guest)
Date: 31/08/2011 22:50

Message:
Hello,

This is intended to be supported.
Did you try any of the TeX module options? (e.g. -o no_wrap="myVerbatim2")
Or did you try to define the environment in the TeX file for po4a. For example:
% po4a: environment myVerbatim2
or
% po4a: verbatim environment myVerbatim2

(see man Locale::Po4a::TeX for more info)

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=410622&aid=313322&group_id=30267



More information about the Po4a-devel mailing list