numpy/scipy docs and make html
Hi all, A make html in numpy/doc failed (/usr/share/texmf/tex/latex/amsfonts/amssymb.sty (/usr/share/texmf/tex/latex/amsfonts/amsfonts.sty)) (/usr/share/texmf/tex/latex/tools/bm.sty) ! LaTeX Error: File `preview.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty) Enter file name: ! Emergency stop. <read *> l.13 \begin {document}^^M No pages of output. Transcript written on math.log. make: *** [html] Error 1 echo $TEXINPUT /data/home/nwagner/texmf:/usr/share/texmf find ~/texmf/ -name preview.sty /data/home/nwagner/texmf/preview/preview.sty Any idea ? Nils
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
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
Fri, 05 Dec 2008 08:30:19 +0100, Nils Wagner wrote: [clip]
I have disabled pngmath_use_preview. Now a make html yields
spatial spatial.distance Math extension error: latex exited with error: [stderr] [clip]
Upgrade to Sphinx 0.5. Latex errors are no more fatal for it. -- Pauli Virtanen
participants (2)
-
Nils Wagner -
Pauli Virtanen