Open sbrisard opened 7 years ago
This improvement requires to override some latex elements in order
\DeclareUnicodeCharacter{00A0}{\nobreakspace}
The following lines in conf.py
latex_elements = {'preamble': '',
'inputenc': '',
'fontenc': ''}
Allow to get rid of inputenc
and fontenc
. However, the line
\DeclareUnicodeCharacter{00A0}{\nobreakspace}
in the generated *.tex
file leads to a XeLaTeX error.
Compiling the latex files produced by sphinx with
pdflatex
results in some cryptic error messagesThe culprit seems to be the "↦" character, used in the tutorial source files. Rather than modifying these sources, the way around would probably be to use xelatex rather than latex.