From c3022b76548fbf888461154f3d651333432e3d8b Mon Sep 17 00:00:00 2001 From: Roger Labbe Date: Tue, 8 May 2018 17:14:37 -0700 Subject: [PATCH] Added table of contents Added table of contents to book. Now annoyingly lists a "contents" section of two blank pages, but baby steps. --- pdf/book.tplx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pdf/book.tplx b/pdf/book.tplx index 87707ce..1df4aa0 100644 --- a/pdf/book.tplx +++ b/pdf/book.tplx @@ -2,7 +2,7 @@ ((= IPython input/output style =)) -((*- extends 'base.tplx' -*)) +((*- extends 'report.tplx' -*)) ((* block docclass *)) @@ -20,6 +20,11 @@ \author{Roger R Labbe Jr} ((* endblock title *)) +((* block predoc *)) + ((( super() ))) + ((* block tableofcontents *))\tableofcontents((* endblock tableofcontents *)) +((* endblock predoc *)) + ((* block markdowncell scoped *)) \normalem \setlength{\parindent}{0em}