From: Michael D. <md...@st...> - 2008-06-12 14:25:24
|
Interestingly, sphinx *doesn't* define it for me. One of the first things I did was "grep Cap" on the latex build directory. I updated sphinx from SVN pretty recently... I wonder if that has anything to do with it. If that doesn't fix it, yes, that sounds like something to report. Cheers, Mike John Hunter wrote: > 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 > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |