Johann Cohen-Tanugi wrote:
> Personnally I get:
> build/latex/Matplotlib.tex:$\Cap$ \code{\textbackslash{}Cap}
That's a usage, not a definition.  The problem is related to duplicate 
definitions of \Cap.
> but I have sphinx 0.3 which is the version easy_installed on my FC8 
> box. Actually I wonder how much trouble this 0.3 version is a promise 
> of.....
Eventually, we'll have to track down and document which versions of 
sphinx, docutils and pygments work to build the matplotlib 
documentation.  There's a lot of moving parts here...

Cheers,
Mike
> Johann
>
>
> Michael Droettboom wrote:
>> 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 <[EMAIL PROTECTED]> 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


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to