Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ help:
@echo " devhelp to make HTML files and a Devhelp project"
@echo " epub to make an epub"
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
@echo " latexpdf to make LaTeX files and run them through pdflatex"
@echo " latexpdf to make LaTeX files and run them through xelatex"
@echo " text to make text files"
@echo " man to make manual pages"
@echo " texinfo to make Texinfo files"
Expand Down Expand Up @@ -100,29 +100,29 @@ latex:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
@echo "Run \`make' in that directory to run these through (pdf)latex" \
@echo "Run \`make' in that directory to run these through xelatex" \
"(use \`make latexpdf' here to do that automatically)."

latexpdf:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through pdflatex..."
@echo "Running LaTeX files through xelatex..."
@if command -v latexmk > /dev/null 2>&1; then \
$(MAKE) -C $(BUILDDIR)/latex \
LATEXOPTS='-interaction=nonstopmode -file-line-error -halt-on-error' \
all-pdf; \
else \
echo "latexmk not found, falling back to manual pdflatex..."; \
echo "latexmk not found, falling back to manual xelatex..."; \
$(MAKE) -C $(BUILDDIR)/latex \
PDFLATEX="pdflatex -interaction=nonstopmode -file-line-error -halt-on-error" \
PDFLATEX="xelatex -interaction=nonstopmode -file-line-error -halt-on-error" \
LATEXMKOPTS="" \
all-pdf || true; \
echo "Running pdflatex again for references..."; \
echo "Running xelatex again for references..."; \
$(MAKE) -C $(BUILDDIR)/latex \
PDFLATEX="pdflatex -interaction=nonstopmode -file-line-error -halt-on-error" \
PDFLATEX="xelatex -interaction=nonstopmode -file-line-error -halt-on-error" \
LATEXMKOPTS="" \
all-pdf; \
fi
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
@echo "xelatex finished; the PDF files are in $(BUILDDIR)/latex."

text:
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
Expand Down
Binary file modified docs/source/assets/logo.pdf
Binary file not shown.
25 changes: 24 additions & 1 deletion docs/source/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/assets/logo_bottom_text.pdf
Binary file not shown.
Loading
Loading