Hmm.  Isn't broken for me.  I suspect we have some sort of version mismatch.

One thing to try -- in conf.py remove the line

\usepackage{amsfonts}

It actually doesn't seem to be necessary (but the other two are).  This 
error message happens during package loading, before any of the core of 
our document is parsed.  Is suspect its a bug in your LaTeX distribution 
that is causing package conflicts.

Cheers,
Mike

John Hunter wrote:
> On Wed, Jun 11, 2008 at 12:35 PM, John Hunter <[EMAIL PROTECTED]> wrote:
>   
>> On Wed, Jun 11, 2008 at 12:25 PM, Michael Droettboom <[EMAIL PROTECTED]> 
>> wrote:
>>     
>>> Ok.  I think I have that worked out -- would you mind testing on docutils
>>> 0.4?  (I don't think I broke anything that wasn't already broken...)
>>>       
>> OK, sorry I've been causing so much trouble, but I guess it is good
>> that at least one of works on python 2.4 sometimes.
>>     
>
> Just a quick note that latex builds appear broken, and the error
> message suggests it is a math problem, perhaps caused by the new
> symbol table.  First error is:
>
> ! LaTeX Error: Command \Cap already defined.
>                Or name \end... illegal, see p.192 of the manual.
>
> complete output below...
>
> [EMAIL PROTECTED]:doc> python make.py latex
> making figs
>     already have dollar_ticks.png
>     already have pyplot_three.png
>     already have pyplot_two_subplots.png
>     already have fig_x.png
>     already have pyplot_annotate.png
>     already have text_commands.png
>     already have pyplot_simple.png
>     already have pyplot_mathtext.png
>     already have annotation_polar.png
>     already have annotation_basic.png
>     already have fig_axes_labels_simple.png
>     already have text_layout.png
>     already have pyplot_text.png
>     already have fig_axes_customize_simple.png
>     already have pyplot_formatstr.png
> all figures made
> Sphinx v0.3, building latex
> trying to load pickled env... not found
> building [latex]: all documents
> updating environment: 31 added, 0 changed, 0 removed
> reading... api/artist_api api/axes_api api/backend_api api/index
> api/pyplot_api devel/add_new_projection devel/coding_guide
> devel/documenting_mpl devel/index devel/outline devel/transformations
> faq/environment_variables_faq faq/howto_faq faq/index
> faq/installing_faq faq/troubleshooting_faq index users/annotations
> users/arraydata users/artists users/customizing users/event_handling
> users/index users/index_text users/intro users/mathtext
> users/navigation_toolbar users/pyplot_tutorial users/text_intro
> users/text_props users/usetex
> pickling the env... done
> checking consistency...
> WARNING: /home/jdhunter/mpl/doc/users/arraydata.rst:: document isn't
> included in any toctree
> processing Matplotlib.tex... index users/index users/intro
> users/pyplot_tutorial users/navigation_toolbar users/customizing
> users/index_text users/text_intro users/text_props users/mathtext
> users/usetex users/annotations users/artists users/event_handling
> faq/index faq/installing_faq faq/troubleshooting_faq faq/howto_faq
> faq/environment_variables_faq devel/index devel/coding_guide
> devel/documenting_mpl devel/transformations devel/add_new_projection
> devel/outline api/index api/artist_api api/axes_api api/pyplot_api
> api/backend_api
> resolving references...
> writing... done
> finishing...
> copying images... _static/cm_fontset.png
> users/figures/fig_axes_labels_simple.png mpl_data/images/back.png
> _static/stix_fontset.png users/figures/fig_x.png
> mpl_data/images/zoom_to_rect.png mpl_data/images/filesave.png
> users/figures/pyplot_text.png users/figures/dollar_ticks.png
> _static/transforms.png users/figures/annotation_basic.png
> users/figures/annotation_polar.png users/figures/pyplot_mathtext.png
> mpl_data/images/home.png _static/stixsans_fontset.png
> users/figures/pyplot_formatstr.png mpl_data/images/move.png
> users/figures/fig_axes_customize_simple.png
> users/figures/text_layout.png mpl_data/images/subplots.png
> users/figures/text_commands.png users/figures/pyplot_annotate.png
> _static/tex_unicode_demo.png users/figures/pyplot_three.png
> _static/tex_demo.png mpl_data/images/forward.png
> users/figures/pyplot_two_subplots.png _static/toolbar.png
> _static/stix_fonts.png users/figures/pyplot_simple.png
> copying TeX support files...
> build succeeded, 1 warning.
> This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
> entering extended mode
> (./Matplotlib.tex
> LaTeX2e <2003/12/01>
> Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, 
> b
> ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, 
> e
> stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, 
> polis
> h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, 
> tur
> kish, ukrainian, nohyphenation, loaded.
> (./manual.cls
> Document Class: manual 2008/05/01 Document class (Sphinx manual)
> (/usr/share/texmf/tex/latex/fancybox/fancybox.sty
> Style option: `fancybox' v1.3 <2000/09/19> (tvz)
> ) (/usr/share/texmf/tex/latex/base/report.cls
> Document Class: report 2004/02/16 v1.4f Standard LaTeX document class
> (/usr/share/texmf/tex/latex/base/size11.clo))
> (/usr/share/texmf/tex/latex/fancyhdr/fancyhdr.sty) (./fncychap.sty)
> (./sphinx.sty (/usr/share/texmf/tex/latex/base/textcomp.sty
> (/usr/share/texmf/tex/latex/base/ts1enc.def))
> (/usr/share/texmf/tex/latex/psnfss/times.sty)
> (/usr/share/texmf/tex/latex/fancyvrb/fancyvrb.sty
> Style option: `fancyvrb' v2.6, with DG/SPQR fixes <1998/07/17> (tvz)
> (/usr/share/texmf/tex/latex/graphics/keyval.sty)
> No file fancyvrb.cfg.
> ) (/usr/share/texmf/tex/latex/titlesec/titlesec.sty) (./tabulary.sty
> (/usr/share/texmf/tex/latex/tools/array.sty))
> (/usr/share/texmf/tex/latex/graphics/color.sty
> (/usr/share/texmf/tex/latex/graphics/color.cfg)
> (/usr/share/texmf/tex/latex/graphics/pdftex.def))
> (/usr/share/texmf/tex/latex/hyperref/hyperref.sty
> (/usr/share/texmf/tex/latex/hyperref/pd1enc.def)
> (/usr/share/texmf/tex/latex/hyperref/hyperref.cfg)
> Implicit mode ON; LaTeX internals redefined
> (/usr/share/texmf/tex/latex/url/url.sty))
> *hyperref using default driver hpdftex*
> (/usr/share/texmf/tex/latex/hyperref/hpdftex.def
> (/usr/share/texmf/tex/latex/psnfss/pifont.sty
> (/usr/share/texmf/tex/latex/psnfss/upzd.fd)
> (/usr/share/texmf/tex/latex/psnfss/upsy.fd)))
> (/usr/share/texmf/tex/latex/framed/framed.sty)
> (/usr/share/texmf/tex/latex/graphics/graphicx.sty
> (/usr/share/texmf/tex/latex/graphics/graphics.sty
> (/usr/share/texmf/tex/latex/graphics/trig.sty)
> (/usr/share/texmf/tex/latex/graphics/graphics.cfg)))
> (/usr/share/texmf/tex/plain/pdfcolor/pdfcolor.tex))
> (/usr/share/texmf/tex/latex/base/makeidx.sty))
> (/usr/share/texmf/tex/latex/base/inputenc.sty
> (/usr/share/texmf/tex/latex/base/utf8.def
> (/usr/share/texmf/tex/latex/base/t1enc.dfu)
> (/usr/share/texmf/tex/latex/base/ot1enc.dfu)
> (/usr/share/texmf/tex/latex/base/omsenc.dfu)
> (/usr/share/texmf/tex/latex/base/ts1enc.dfu)))
> (/usr/share/texmf/tex/latex/base/fontenc.sty
> (/usr/share/texmf/tex/latex/base/t1enc.def))
> (/usr/share/texmf/tex/latex/amsmath/amsmath.sty
> For additional information on amsmath, use the `?' option.
> (/usr/share/texmf/tex/latex/amsmath/amstext.sty
> (/usr/share/texmf/tex/latex/amsmath/amsgen.sty))
> (/usr/share/texmf/tex/latex/amsmath/amsbsy.sty)
> (/usr/share/texmf/tex/latex/amsmath/amsopn.sty))
> (/usr/share/texmf/tex/latex/amsfonts/amsfonts.sty)
> (/usr/share/texmf/tex/latex/amsfonts/amssymb.sty)
> Writing index file Matplotlib.idx
>
> ! LaTeX Error: Command \Cap already defined.
>                Or name \end... illegal, see p.192 of the manual.
>
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
>
> l.28 ...ap[1]{\textcolor[rgb]{0.78,0.36,0.04}{#1}}
>   

-- 
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