Skip to content

Commit f554d23

Browse files
committed
move a lot of material around
1 parent 79d6271 commit f554d23

8 files changed

+20
-8
lines changed

‎doc/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -138,14 +138,14 @@ latexpdf: apidoc
138138
cd $(BUILDDIR)/latex; latexmk -pdf
139139
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
140140

141-
book: apidoc
141+
book:
142142
$(SPHINXBUILD) $(ALLSPHINXOPTS) -b latex -t book $(BUILDDIR)/book
143143
@echo
144144
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/book."
145145
@echo "Run \`make' in that directory to run these through (pdf)latex" \
146146
"(use \`make bookpdf' here to do that automatically)."
147147

148-
bookpdf: apidoc
148+
bookpdf:
149149
PYTHONPATH=$(PWD)/..:$(PYTHONPATH) $(SPHINXBUILD) -b latex -t book $(ALLSPHINXOPTS) $(BUILDDIR)/book
150150
@echo "Running LaTeX files through pdflatex..."
151151
# $(MAKE) -C $(BUILDDIR)/latex all-pdf
File renamed without changes.
File renamed without changes.

‎doc/source/conf.py

+5
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,11 @@
330330
# u'M345A47 Finite Elements: Analysis and Implementation',
331331
# u'David A. Ham and Colin J. Cotter', 'manual'),
332332
# ]
333+
latex_documents = [
334+
('index', 'objectorientedprogramming.tex',
335+
'Object oriented programming\\\\\\LARGE in Python for mathematicians',
336+
'David A. Ham', 'book'),
337+
]
333338

334339
# The name of an image file (relative to this directory) to place at the top of
335340
# the title page.

‎doc/source/index.rst

+13-6
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,26 @@
3434
4_style.rst
3535
5_abstract_data_types.rst
3636
6_exceptions.rst
37-
7_midterm.rst
38-
8_inheritance.rst
39-
9_debugging.rst
40-
10_trees_and_directed_acyclic_graphs.rst
41-
11_further_object-oriented_features.rst
37+
7_inheritance.rst
38+
8_debugging.rst
39+
9_trees_and_directed_acyclic_graphs.rst
40+
10_further_object-oriented_features.rst
4241

4342
.. .. only:: latex and not book
4443
4544
.. raw:: latex
4645

4746
\appendix
4847

49-
.. .. toctree::
48+
.. only:: latex
49+
50+
.. toctree::
51+
:numbered:
52+
:maxdepth: 2
53+
54+
a1_help
55+
56+
5057
.. :numbered:
5158
.. :maxdepth: 1
5259
File renamed without changes.

0 commit comments

Comments
 (0)