docs are now built after every commit & sphinx latex output error

Hi all,

I added a recipe for to build a copy of the documentation after every
svn commit. The results may be seen at
http://matplotlib.sourceforge.net/trunk-docs/ (we can change the
location easily if desired).

This is just the result of another buildbot recipe, so any troubles that
crop up when building the docs should trigger an email on the
matplotlib-buildbot mailing list. For now, this is disabled because
compiling the latex document is failing. (Our buildbot is configured to
send email only on the first failure.)

In fact, does anyone know what could be wrong? The last lines of the
LaTeX output are below.

Happy New Year!

-Andrew

Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 13.59999pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.

[4]
Chapter 2.
(/usr/share/texmf-texlive/tex/latex/txfonts/ot1txr.fd)
(/usr/share/texmf-texlive/tex/latex/txfonts/utxsya.fd)
(/usr/share/texmf-texlive/tex/latex/txfonts/utxsyb.fd)
(/usr/share/texmf-texlive/tex/latex/txfonts/utxmia.fd)
(/usr/share/texmf-texlive/tex/latex/txfonts/utxsyc.fd)
! Undefined control sequence.
<argument> johnh\PYGZat
                        []flag:\textasciitilde []\textgreater [] ipython
-pylab
l.260 ...asciitilde[]@textgreater[] ipython -pylab

?
! Emergency stop.
<argument> johnh\PYGZat
                        []flag:\textasciitilde []\textgreater [] ipython
-pylab
l.260 ...asciitilde[]@textgreater[] ipython -pylab

! ==> Fatal error occurred, no output PDF file produced!
Transcript written on Matplotlib.log.

Andrew Straw wrote:

In fact, does anyone know what could be wrong? The last lines of the
LaTeX output are below.
  

OK, this cropped up on another buildbot for another project of mine --
it looks with a Sphinx dependency, Pygments 1.2.1 (just released), there
is some issue that wasn't there with Pygments 1.1.1. I'll try to isolate
the issue and report it to the appropriate tracker, but at this point I
don't think it's an MPL issue.

-Andrew

Andrew Straw wrote:

Andrew Straw wrote:
  

In fact, does anyone know what could be wrong? The last lines of the
LaTeX output are below.
  

OK, this cropped up on another buildbot for another project of mine --
it looks with a Sphinx dependency, Pygments 1.2.1 (just released), there
is some issue that wasn't there with Pygments 1.1.1. I'll try to isolate
the issue and report it to the appropriate tracker, but at this point I
don't think it's an MPL issue.
  

For the record, I reported it here:
http://dev.pocoo.org/projects/pygments/ticket/463