Fixed chapter numbering

Edit to book.tplx caused all chapters to be 0.x
This commit is contained in:
Roger Labbe 2018-05-08 18:21:31 -07:00
parent 0c76f189b1
commit 6eefb93968
2 changed files with 3 additions and 3 deletions

View File

@ -30,5 +30,7 @@
((* block tableofcontents *))\tableofcontents((* endblock tableofcontents *))
((* endblock predoc *))
((* block markdowncell scoped *))
((( cell.source | citation2latex | strip_files_prefix | convert_pandoc('markdown+tex_math_double_backslash', 'json',extra_args=[]) | resolve_references | convert_pandoc('json','latex', extra_args=["--chapters"]) )))
((* endblock markdowncell *))

View File

@ -41,8 +41,6 @@ def merge_notebooks(outfile, filenames):
if __name__ == '__main__':
with open('book.ipynb', 'w', encoding='utf-8') as f:
'''merge_notebooks(f,
['../04-One-Dimensional-Kalman-Filters.ipynb'])'''
merge_notebooks(f,
['./tmp/00-Preface.ipynb',