fixed python2 warning
-# -*- coding: utf-8 -*-
-#
# Sphinx Demo documentation build configuration file, created by
# sphinx-quickstart on Fri Aug 26 16:52:16 2016.
#
@@ -293,13 +291,13 @@ latex_elements = {
# Additional stuff for the LaTeX preamble.
#
'preamble': '%XeLaTeX packages'
- '\usepackage{xltxtra}'
- '\usepackage{fontspec} %Font package'
- '\usepackage{xunicode}'
- '%Select fonts'
- '\setmainfont[Mapping=tex-text]{nimbusserif}'
- '\setsansfont[Mapping=tex-text]{nimbussans}'
- '\setmonofont{nimbusmono}',
+ '\\usepackage{xltxtra}'
+ '\\usepackage{fontspec} %%Font package'
+ '\\usepackage{xunicode}'
+ '%%Select fonts'
+ '\\setmainfont[Mapping=tex-text]{nimbusserif}'
+ '\\setsansfont[Mapping=tex-text]{nimbussans}'
+ '\\setmonofont{nimbusmono}',
# Latex figure (float) alignment
#
