use xetex to generate pdf

To correctly handle unicode art in code blocks...
This commit is contained in:
Dietmar Maurer
2020-05-03 07:47:03 +02:00
parent 8df51d4852
commit 15d74eaaf4
2 changed files with 14 additions and 3 deletions

View File

@ -73,10 +73,11 @@ html: ${GENERATED_SYNOPSIS}
.PHONY: latexpdf
latexpdf: ${GENERATED_SYNOPSIS}
@echo "Requires python3-sphinx, texlive-xetex and xindy"
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through pdflatex..."
@echo "Running LaTeX files through xelatex..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
@echo "xelatex finished; the PDF files are in $(BUILDDIR)/latex."
.PHONY: epub3
epub3: ${GENERATED_SYNOPSIS}