Latex output file must end in .tex
This commit is contained in:
parent
30ee00b33b
commit
359f5a3c9b
|
@ -9,5 +9,16 @@ coverage:
|
||||||
sphinx-build -b coverage ${SPHINXOPTS} sphinx/build/coverage
|
sphinx-build -b coverage ${SPHINXOPTS} sphinx/build/coverage
|
||||||
cat sphinx/build/coverage/python.txt
|
cat sphinx/build/coverage/python.txt
|
||||||
|
|
||||||
|
.PHONY: latex
|
||||||
|
latex:
|
||||||
|
sphinx-build -b latex $(SPHINXOPTS) sphinx/build/latex
|
||||||
|
|
||||||
|
# Building a pdf requires a latex installation. For macports, the needed
|
||||||
|
# packages are texlive-latex-extra and texlive-fonts-recommended.
|
||||||
|
# The output is in sphinx/build/latex/tornado.pdf
|
||||||
|
.PHONY: pdf
|
||||||
|
pdf: latex
|
||||||
|
cd sphinx/build/latex && pdflatex -interaction=nonstopmode tornado.tex
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf sphinx/build
|
rm -rf sphinx/build
|
||||||
|
|
|
@ -76,5 +76,5 @@ html_theme_options = dict(
|
||||||
)
|
)
|
||||||
|
|
||||||
latex_documents = [
|
latex_documents = [
|
||||||
('index', 'tornado', 'Tornado Documentation', 'Facebook', 'manual', False),
|
('index', 'tornado.tex', 'Tornado Documentation', 'Facebook', 'manual', False),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue