[Numpy-discussion] numpy-docs and sphinx

Nils Wagner nwagner@iam.uni-stuttgart...
Thu Nov 13 13:31:05 CST 2008

On Mon, 10 Nov 2008 08:42:16 +0100
  "Nils Wagner" <nwagner@iam.uni-stuttgart.de> wrote:
> Hi all,
> I tried to build the NumPy Reference Guide.
> svn/numpy-docs > make html
> mkdir -p build
> ./ext/autosummary_generate.py source/reference/*.rst \
>         -p dump.xml -o source/reference/generated
> Traceback (most recent call last):
>   File "./ext/autosummary_generate.py", line 18, in ?
>     from autosummary import import_by_name
>   File 
> "/data/home/nwagner/svn/numpy-docs/ext/autosummary.py", 
> line 59, in ?
>     import sphinx.addnodes, sphinx.roles, sphinx.builder
>   File 
> "/data/home/nwagner/local/lib/python2.5/site-packages/Sphinx-0.5dev_20081110-py2.5.egg/sphinx/__init__.py", 
> line 70
>     '-c' not in (opt[0] for opt in opts):
>                           ^
> SyntaxError: invalid syntax
> make: *** [build/generate-stamp] Fehler 1
> How can I fix that problem ?
> Nils
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion

make html in numpy-docs works for me now, but
make html in scipy-docs failed

(WARNING/2) toctree references unknown document 
WARNING: /home/nwagner/svn/scipy-docs/source/stats.rst:: 
(WARNING/2) failed to import anova
(WARNING/2) toctree references unknown document 
pickling environment... done
checking consistency... WARNING: 
document isn't included in any toctree
preparing documents... done
writing output... cluster cluster.hierarchy Math extension 
latex exited with error:

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
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.
Document Class: article 2004/02/16 v1.4f Standard LaTeX 
document class
For additional information on amsmath, use the `?' option.
No auxiliary output files.

No file math.aux.
Preview: Fontsize 12pt
! Display math should end with $$.
<to be read again>
l.14 $$ij$`
            th entry is the cophenetic distance between
! Missing $ inserted.
<inserted text>
l.16 \end{preview}

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

make: *** [html] Fehler 1

More information about the Numpy-discussion mailing list