Unable to build pdf doc

21 views
Skip to first unread message

Neal Becker

unread,
Oct 1, 2008, 11:14:37 AM10/1/08
to sy...@googlegroups.com
This is a bit strange.

cd doc
make latex
cd _build/latex
pdflatex sympy.tex
...
<featured-downloads.png, id=74, 282.05376pt x 71.26625pt>
<use featured-downloads.png> (/usr/share/texmf/tex/latex/psnfss/t1pcr.fd)
Overfull \hbox (14.79999pt too wide) in paragraph at lines 184--184
[]
[5 <./featured-downloads.png>]

! Package inputenc Error: Unicode char \u8:─ not set up for use with LaTeX.
[lots more errors like this]

pdflatex is trying to slurp the included png files, and choking. Any ideas?

Ondrej Certik

unread,
Oct 1, 2008, 11:19:17 AM10/1/08
to sy...@googlegroups.com

Indeed, this is weird. Are you using a hg/git version or a release? If
it helps, this is what I am getting:

ondra@pc232:~/repos/sympy$ cd doc/
ondra@pc232:~/repos/sympy/doc$ make latex
rm -rf sphinx
mkdir sphinx
cd sphinx; wget
http://pypi.python.org/packages/source/S/Sphinx/Sphinx-0.4.1.tar.gz;
--2008-10-01 17:17:56--
http://pypi.python.org/packages/source/S/Sphinx/Sphinx-0.4.1.tar.gz
Resolving pypi.python.org... 82.94.237.219
Connecting to pypi.python.org|82.94.237.219|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 294721 (288K) [application/x-gzip]
Saving to: `Sphinx-0.4.1.tar.gz'

100%[======================================>] 294,721 1.26M/s in 0.2s

2008-10-01 17:17:57 (1.26 MB/s) - `Sphinx-0.4.1.tar.gz' saved [294721/294721]

cd sphinx; tar xzf Sphinx-0.4.1.tar.gz
mkdir -p _build/latex _build/doctrees
PYTHONPATH=.. python sphinx/Sphinx-0.4.1/sphinx-build.py -b latex -d
_build/doctrees -D latex_paper_size= src _build/latex
Sphinx v0.4.1, building latex
trying to load pickled env... failed: env version not current
building [latex]: all documents
updating environment: 33 added, 0 changed, 0 removed
reading... aboutus guide index install modules modules/concrete
modules/core modules/geometry modules/matrices modules/mpmath/basics
modules/mpmath/differentiation modules/mpmath/functions
modules/mpmath/identification modules/mpmath/index
modules/mpmath/integration modules/mpmath/interpolation
modules/mpmath/intervals modules/mpmath/limits
modules/mpmath/optimization modules/mpmath/setup
modules/mpmath/speedtricks modules/mpmath/summation
modules/mpmath/technical modules/plotting modules/polynomials
modules/printing modules/rewriting modules/statistics outreach
python-comparisons sympy-patches-tutorial tutorial wiki
WARNING: /home/ondra/repos/sympy/sympy/core/basic.py:docstring of
Basic.new:5: (WARNING/2) Inline emphasis start-string without
end-string.
pickling the env... done
checking consistency...
processing sympy.tex... index install tutorial guide modules
modules/core modules/matrices modules/mpmath/index
modules/mpmath/setup modules/mpmath/basics modules/mpmath/functions
modules/mpmath/intervals modules/mpmath/integration
modules/mpmath/summation modules/mpmath/differentiation
modules/mpmath/optimization modules/mpmath/limits
modules/mpmath/interpolation modules/mpmath/identification
modules/mpmath/technical modules/mpmath/speedtricks modules/rewriting
modules/polynomials modules/printing modules/plotting modules/geometry
modules/statistics modules/concrete python-comparisons wiki
sympy-patches-tutorial outreach aboutus
resolving references...
writing... WARNING: unusable reference target found:
https://launchpad.net/ubuntu/+source/mpmath
WARNING: unusable reference target found: spt-printable.html
WARNING: unusable reference target found: spt-patches/1.patch
WARNING: unusable reference target found: spt-patches/2.patch
WARNING: unusable reference target found: spt-patches/3.patch
WARNING: unusable reference target found:
spt-patches/pprint-fix-old-classes.patch
WARNING: unusable reference target found: spt-patches/4.patch
WARNING: unusable reference target found:
spt-patches/pprint-fix-old-classes.patch
WARNING: unusable reference target found: spt-patches/xobj-fix-even-height.patch
WARNING: unusable reference target found: spt-patches/5.patch
WARNING: unusable reference target found:
spt-patches/pprint-fix-old-classes.patch
WARNING: unusable reference target found: spt-patches/xobj-fix-even-height.patch
WARNING: unusable reference target found: spt-patches/printer-fix-typos.patch
WARNING: unusable reference target found:
spt-patches/pprint-fix-old-classes.patch
WARNING: unusable reference target found: spt-patches/xobj-fix-even-height.patch
WARNING: unusable reference target found: spt-patches/printer-fix-typos.patch
WARNING: unusable reference target found: ssh://h...@hg.sympy.org/sympy
done
finishing...
copying images... pics/3b.png pics/10.png pics/12.png pics/6.png
figures/featured-downloads.png pics/winpdb2.png pics/15.png
pics/14.png pics/16.png pics/11.png pics/pngview1.png pics/2.png
pics/1b.png pics/18.png pics/17.png pics/13.png pics/5b.png
pics/4b.png pics/9.png pics/8.png pics/winpdb1.png pics/19.png
pics/7.png
copying TeX support files...
build succeeded, 18 warnings.

Build finished; the LaTeX files are in _build/latex.
Run `make all-pdf' or `make all-ps' in that directory to run these
through (pdf)latex.


Ondrej

Ondrej Certik

unread,
Oct 1, 2008, 11:21:44 AM10/1/08
to sy...@googlegroups.com
On Wed, Oct 1, 2008 at 5:19 PM, Ondrej Certik <ond...@certik.cz> wrote:
> On Wed, Oct 1, 2008 at 5:14 PM, Neal Becker <ndbe...@gmail.com> wrote:
>>
>> This is a bit strange.
>>
>> cd doc
>> make latex
>> cd _build/latex
>> pdflatex sympy.tex
>> ...
>> <featured-downloads.png, id=74, 282.05376pt x 71.26625pt>
>> <use featured-downloads.png> (/usr/share/texmf/tex/latex/psnfss/t1pcr.fd)
>> Overfull \hbox (14.79999pt too wide) in paragraph at lines 184--184
>> []
>> [5 <./featured-downloads.png>]
>>
>> ! Package inputenc Error: Unicode char \u8:─ not set up for use with LaTeX.
>> [lots more errors like this]
>>
>> pdflatex is trying to slurp the included png files, and choking. Any ideas?

Ah, sorry, I got you, it fails on the actual pdflatex run. Yes, that's
a known bug in sphinx, see:

http://groups.google.com/group/sphinx-dev/browse_thread/thread/5327cb0015c23686/

If anyone is interested in contributing the patch to sphinx, it'd be awesome.

Ondrej

Reply all
Reply to author
Forward
0 new messages