From 15a3c5c86ca4547b9091ed43533812e5c1900a96 Mon Sep 17 00:00:00 2001 From: Roger Labbe Date: Sun, 18 Jan 2015 09:56:32 -0800 Subject: [PATCH] Changed how sections numbering is done in PDF. --- book.tplx | 6 ++++-- report.tplx | 5 +++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/book.tplx b/book.tplx index d9ced84..248abe4 100644 --- a/book.tplx +++ b/book.tplx @@ -9,6 +9,8 @@ \title{Kalman and Bayesian Filters in Python} \author{Roger R Labbe Jr} \date{} +\setcounter{secnumdepth}{3} +\setcounter{tocdepth}{3} ((* endblock title *)) ((* block abstract *))\tableofcontents((* endblock abstract *)) @@ -21,5 +23,5 @@ ((* block h2 -*))\section((* endblock h2 -*)) ((* block h3 -*))\subsection((* endblock h3 -*)) ((* block h4 -*))\subsubsection((* endblock h4 -*)) -((* block h5 -*))\paragraph*((* endblock h5 -*)) -((* block h6 -*))\subparagraph*((* endblock h6 -*)) \ No newline at end of file +((* block h5 -*))\paragraph((* endblock h5 -*)) +((* block h6 -*))\subparagraph((* endblock h6 -*)) diff --git a/report.tplx b/report.tplx index 9a92237..dfdc7e7 100644 --- a/report.tplx +++ b/report.tplx @@ -21,3 +21,8 @@ \documentclass[4pt]{book} \setcounter{chapter}{-1} ((* endblock docclass *)) + +((* block preamble *)) +\setcounter{secnumdepth}{3} +\setcounter{tocdepth}{3} +((* endblock preamble *))