[issue3469] Umlauts make conf.latex_documents fail

2008-07-31 Thread Berthold Höllmann

Berthold Höllmann [EMAIL PROTECTED] added the comment:

OK, using Unicode strings in conf.py does work, so make this a Bug in
sphinx-quickstart. My conf.py was generated by sphinx-quickstart, When
asked for the author(s) name I gave my name and conf.py was generated
with a simple string for the name information instead of a Unicode string.

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3469
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3469] Umlauts make conf.latex_documents fail

2008-07-30 Thread Berthold Höllmann

New submission from Berthold Höllmann [EMAIL PROTECTED]:

For a Project of mine I have set latex_documents to something like

latex_documents = [
  ('index', 'doc.tex', 'Documentation', 'Berthold Höllmann', 'manual'),
]

With this processing fails with:

LANG=C make latex
mkdir -p build/latex build/doctrees
sphinx-build -b latex -d build/doctrees -D latex_paper_size=a4 -N source
build/latex
Sphinx v0.4.2, building latex
trying to load pickled env... done
building [latex]: all documents
updating environment: 0 added, 1 changed, 0 removed
reading... index
pickling the env... done
checking consistency...
processing CrossSolverTests.tex... index
resolving references...
writing... Exception occurred:
  File
/usr/software/gltools/python/Python-2.5/lib/python2.5/site-packages/Sphinx-0.4.2-py2.5.egg/sphinx/latexwriter.py,
line 162, in astext
'\\renewcommand{\\indexname}{Index}\n' or '') + \
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
206: ordinal not in range(128)
The full traceback has been saved in /tmp/sphinx-err-l_u8H4.log, if you
want to report the issue to the author.
Please also report this if it was a user error, so that a better error
message can be provided next time.
Send reports to [EMAIL PROTECTED] Thanks!
make: *** [latex] Error 1

changing ö to \o does work.

--
assignee: georg.brandl
components: Documentation tools (Sphinx)
files: sphinx-err-l_u8H4.log
messages: 70419
nosy: georg.brandl, hoel
severity: normal
status: open
title: Umlauts make conf.latex_documents fail
type: behavior
versions: Python 2.5
Added file: http://bugs.python.org/file11006/sphinx-err-l_u8H4.log

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3469
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3469] Umlauts make conf.latex_documents fail

2008-07-30 Thread Georg Brandl

Georg Brandl [EMAIL PROTECTED] added the comment:

Did you try using a Unicode string? IIRC the docs explicitly say that if
you include non-ASCII chars in the config you should use Unicode strings.

--
status: open - pending

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3469
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com