On 12/05/12 23:13, Jakub Wilk wrote: > tags 672586 + unreproducible moreinfo > thanks > > * Melissa Draper <meli...@catalyst.net.nz>, 2012-05-12, 22:24: >>>> 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. > > Uhm. And where do I get these files? > >> * 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 > > Wait, not so fast. :) I'm not trying to verify that your patch works > yet. I'm trying to understand what the bug is. > > The bug title is "sometimes cannot build pdfs" so I want to see a PDF > failing to build.
Those instructions were minimal to reproduce the bug which is the absence of the \shorthandoff{"} directive, but 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? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org