Bug#672586: python-sphinx: sometimes cannot build pdfs for de, sl, pt, es, nl, pl, or it locales

May 12th, 2012 - 05:40 am ET by Melissa Draper | Report spam
Package: python-sphinx
Version: 1.1.3+dfsg
Severity: normal
Tags: upstream patch

Newer versions of docutils (>=0.8) report full language name rather than
shortcodes and hence breaking pdf compilation in de, sl, pt, es, nl, pl and it
locales as the \shorthandoff directive is not added and triggering latex is
generated.

I submitted the patch upstream and it was accepted.
https://bitbucket.org/birkenfeld/sp...age-names-
to-the-shorthandoff



Debian Release: wheezy/sid
APT prefers oneiric-updates
APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-19-generic (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 6 repliesReplies Make a reply

Replies

#1 Melissa Draper
May 12th, 2012 - 06:30 am ET | Report spam
On 12/05/12 22:21, Jakub Wilk wrote:
* Melissa Draper , 2012-05-12, 21:30:
Newer versions of docutils (>=0.8) report full language name rather
than shortcodes and hence breaking pdf compilation in de, sl, pt, es,
nl, pl and it locales as the \shorthandoff directive is not added and
triggering latex is generated.



How can I reproduce this bug? A minimal test case would be great.




* add the following to the bottom of manual/source/conf.py:
language = 'de'
* run 'make clean latex'
* view the build/latex/Mahara.tex file with an editor.
* You should see the following after the preamble and \def stuff:
\begin{document}

\maketitle
* after applying the changes in the patches and viewing the .tex file
again, you should see this:
\begin{document}
\shorthandoff{"}
\maketitle



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics