Skip to content

Commit f12754a

Browse files
scrussdpgeorge
authored andcommitted
docs: Set LaTeX engine to XeLaTeX for PDF generation.
Also added to suggested packages list for PDF build. See comment in Sphinx project for (some) details: sphinx-doc/sphinx#5693 (review)
1 parent 9175482 commit f12754a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ This can be achieved with:
4747

4848
make latexpdf
4949

50-
but require rather complete install of LaTeX with various extensions. On
51-
Debian/Ubuntu, try (500MB+ download):
50+
but requires a rather complete install of LaTeX with various extensions. On
51+
Debian/Ubuntu, try (1GB+ download):
5252

53-
apt-get install texlive-latex-recommended texlive-latex-extra
53+
apt install texlive-latex-recommended texlive-latex-extra texlive-xetex texlive-fonts-extra cm-super xindy

docs/conf.py

+2
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@
259259
# If false, no module index is generated.
260260
#latex_domain_indices = True
261261

262+
# Enable better Unicode support so that `make latexpdf` doesn't fail
263+
latex_engine = "xelatex"
262264

263265
# -- Options for manual page output ---------------------------------------
264266

0 commit comments

Comments
 (0)