blob: 5e8061793df6de9f1d454414574abe1da80e82ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
--- doc/Makefile.orig 2009-07-21 21:23:57.000000000 +0100
+++ doc/Makefile 2009-07-21 21:37:35.000000000 +0100
@@ -2,7 +2,7 @@
#
# You can set these variables from the command line.
-SPHINXOPTS =
+SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
@@ -20,6 +20,7 @@
@echo " json to make JSON files"
@echo " htmlhelp to make HTML files and a HTML help project"
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
+ @echo " pdf to make a PDF file from LaTeX"
@echo " changes to make an overview over all changed/added/deprecated items"
@echo " linkcheck to check all external links for integrity"
@@ -61,6 +62,10 @@
@echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
"run these through (pdf)latex."
+pdf: latex
+ $(MAKE) -C build/latex all-pdf
+ @echo "Build finished; the PDF file is in build/latex."
+
changes:
mkdir -p build/changes build/doctrees
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) build/changes
--- doc/source/sphinxext/inheritance_diagram.py.orig 2009-07-21 21:23:12.000000000 +0100
+++ doc/source/sphinxext/inheritance_diagram.py 2009-07-21 21:23:33.000000000 +0100
@@ -41,7 +41,7 @@
from docutils.nodes import Body, Element
from docutils.writers.html4css1 import HTMLTranslator
-from sphinx.latexwriter import LaTeXTranslator
+from sphinx.writers.latex import LaTeXTranslator
from docutils.parsers.rst import directives
from sphinx.roles import xfileref_role
|