Skip to content

Commit

Permalink
Use xelatex instead of pdflatex
Browse files Browse the repository at this point in the history
  python setup.py build_sphinx -b latex
  cd build/sphinx/latex/
  make all-pdf

Closes #350
  • Loading branch information
skirpichev committed Jul 12, 2017
1 parent 9804835 commit 336125e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
# Options for LaTeX output
# ------------------------

latex_engine = 'xelatex'

# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, document class [howto/manual], toctree_only).
# toctree_only is set to True so that the start file document itself is not included in the
Expand All @@ -92,6 +94,10 @@
'fontenc': r'''
\usepackage{bm}
\usepackage{amssymb}
\usepackage{fontspec}
\setmainfont{DejaVu Serif}
\setsansfont{DejaVu Sans}
\setmonofont{DejaVu Sans Mono}
''',
'fontpkg': '',
'inputenc': '',
Expand Down
1 change: 1 addition & 0 deletions docs/release/notes-0.9.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ Issues closed
* :sympyissue:`12769` Slow limit() calculation?!
* :issue:`375` Separate user-level API and documentation of internals
* :issue:`358` Use pytest-warnings?
* :issue:`350` Pretty printing in pdf docs looks bad

.. last pr: #494
Expand Down

0 comments on commit 336125e

Please sign in to comment.