From: John H. <jd...@gm...> - 2008-06-12 14:20:20
|
On Wed, Jun 11, 2008 at 4:00 PM, John Hunter <jd...@gm...> wrote: > ! LaTeX Error: Command \Cap already defined. > Or name \end... illegal, see p.192 of the manual. This may have been obvious to all of you,but I am just discovering it. The problem is that *sphinx* is defining \Cap as a color, and this is clashing with the ams name. From Matplotlib.tex:: \newcommand\Car[1]{\textcolor[rgb]{0.73,0.38,0.84}{#1}} \newcommand\Caq[1]{\textcolor[rgb]{0.38,0.68,0.84}{#1}} \newcommand\Cap[1]{\textcolor[rgb]{0.78,0.36,0.04}{#1}} \newcommand\Caw[1]{\textcolor[rgb]{0.13,0.50,0.31}{#1}} but I haven't yet found the file which is adding this. This looks like a docutils/sphinx bug. JDH JDH |