From 3409d215edd5f29e39ac5e525ccb1a05fa96e558 Mon Sep 17 00:00:00 2001 From: Bryan Herman Date: Fri, 13 Mar 2015 23:13:49 -0400 Subject: [PATCH] can differentiate latex mode in conf.py using tags --- docs/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Makefile b/docs/Makefile index 89c71dc074..7e94d2cea9 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -106,14 +106,14 @@ epub: @echo "Build finished. The epub file is in $(BUILDDIR)/epub." latex: images - $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex + $(SPHINXBUILD) -t latex -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" \ "(use \`make latexpdf' here to do that automatically)." latexpdf: images - $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex + $(SPHINXBUILD) -t latex -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex @echo "Running LaTeX files through pdflatex..." make -C $(BUILDDIR)/latex all-pdf @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."