[WIP] Configuration to properly build PDFs in japanese and french by JulienPalard · Pull Request #34 · python/docsbuild-scripts (original) (raw)

This contains two parts, first the switch between xelatex (for french and english) and platex (for japanese). This switch is hard to put in cpython Doc/conf.py for the moment as we don't know the language while the conf is executed.

The other part is the drop of latex_elements, which can be backported to cpython with a xelatex engine, as it works well to generate english PDF.

Oh I also added a -j4 to sphinx build.