[Po4a-devel] [po4a-Bugs][314332] tex module does not like \newtheorem{}[]{}

po4a-bugs at alioth.debian.org po4a-bugs at alioth.debian.org
Mon Aug 19 12:41:18 UTC 2013


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=314332&group_id=30267

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=314332&group_id=30267



More information about the Po4a-devel mailing list