[SciPy-dev] numpy/scipy docs and make html

Nils Wagner nwagner@iam.uni-stuttgart...
Fri Dec 5 01:30:19 CST 2008


On Thu, 4 Dec 2008 16:47:45 +0000 (UTC)
  Pauli Virtanen <pav@iki.fi> wrote:
> Thu, 04 Dec 2008 17:25:07 +0100, Nils Wagner wrote:
>> A make html in numpy/doc failed
> [clip]
>> ! LaTeX Error: File `preview.sty' not found.
> 
> You need the 'preview' Latex package so that Sphinx can 
>get the baseline 
> of the formulas right. See 
> 
>    http://sphinx.pocoo.org/ext/math.html#confval-pngmath_use_preview
> 
> or turn pngmath_use_preview off in source/conf.py.
> 
> -- 
> Pauli Virtanen
> 
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev

Hi Pauli,

I have disabled pngmath_use_preview.
Now a make html yields

spatial spatial.distance Math extension error:
latex exited with error:
[stderr]

[stdout]
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./math.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.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX 
document class
(/usr/share/texmf/tex/latex/base/size12.clo))
(/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/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/amscls/amsthm.sty)
(/usr/share/texmf/tex/latex/amsfonts/amssymb.sty
(/usr/share/texmf/tex/latex/amsfonts/amsfonts.sty))
(/usr/share/texmf/tex/latex/tools/bm.sty) (./math.aux)
(/usr/share/texmf/tex/latex/amsfonts/umsa.fd)
(/usr/share/texmf/tex/latex/amsfonts/umsb.fd)
! Missing } inserted.
<inserted text>
                 }
l.15 \end{gather}

! Missing { inserted.
<inserted text>
                 {
l.15 \end{gather}

! Missing } inserted.
<inserted text>
                 }
l.15 \end{gather}

! Missing { inserted.
<inserted text>
                 {
l.15 \end{gather}

[1] (./math.aux) )
(see the transcript file for additional information)
Output written on math.dvi (1 page, 580 bytes).
Transcript written on math.log.

make: *** [html] Error 1
  
Nils


More information about the Scipy-dev mailing list