po4a-Bugs item #314332 was changed at 2013-08-19 14:41 by Denis Barbier
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=410622&aid=31...
Status: Open
Priority: 3
Submitted By: Federico Poloni (fph-guest)
Assigned to: Nobody (None)
Summary: tex module does not like \newtheorem{}[]{}
Category: None
Group: None
Resolution: Fixed
Initial Comment:
The tex module does not accept the (valid) middle optional argument to a newtheorem call.
For instance, the following file does not work:
\documentclass{article}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}[theorem]{Lemma}
\begin{document}
\end{document}
Inserting the following line fixes the problem:
%po4a: command newtheorem {}[]{_}[]
I suspect that the stored description of the command newtheorem is missing the first
optional parameter.
----------------------------------------------------------------------
Comment By: Denis Barbier (barbier-guest)
Date: 2013-08-19
14:41
Message:
Fixed in SVN, thanks!
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=410622&aid=31...