severity 672586 important
tags 672586 - moreinfo unreproducible + confirmed
thanks

* Melissa Draper <meli...@catalyst.net.nz>, 2012-05-13, 00:07:
to see the pdf fail is much more complex, but here goes:

* Install git-core and python-sphinx along with its recommends.
* git clone git://gitorious.org/mahara/manual.git
* cd manual
* mkdir source/locales/es/LC_MESSAGES/
* from https://translations.launchpad.net/mahara-manual/1.5/+export get
the MO version of the translation files. Put all the spanish .mo files
in that newly created directory
* add the following to the bottom of source/conf.py:
language = 'es'
locale_dirs =  ["locales/"]
* run 'make clean latexpdf'
* wait while approximately 258 pages worth of latex are compiled and the
pdf attempts to compile from those. It'll stop saying this:

<use groups_csv_add.png> <use groups_csv_add.png> [188
<./groups_csv_add.png (P
NG copy)>] <groups_csv.png, id=3006, 692.5875pt x 79.29625pt>
<use groups_csv.png> <use groups_csv.png>
! Bad character code (-1).
\es@chf ->\char \hyphenchar \font

l.8537 ...dded","public","hidemembersfrommembers"}

?

Is that enough info now?

Yes, thanks.

FWIW, I don't believe that this (PDF failing to build) can happen with other languages you mentioned in the bug title, which is why I was initially unable to reproduce it. You can get unexpected diacritics, though.

The minimal test case is:

$ echo '``"r``' > testcase.rst
$ echo 'language = "es"' > conf.py
$ echo 'latex_documents = [("testcase", "testcase.tex", "", "", "manual")]' >> conf.py $ sphinx-build -Q -b latex . build/
Making output directory...
$ make -C build/
[...]
! Bad character code (-1).
\es@chf ->\char \hyphenchar \font
l.118 \code{"r} ?

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to