CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

| Download
Project: test
Views: 91872
1
This directory contains code to convert the book into the PDF file. The normal
2
build process is to cd into this directory, and run buil_book from the command
3
line. If the build is successful (no errors printed), then run clean_book from
4
the command line. clean_book is not run automatically because if there is an
5
error you probably need to look at the intermediate output to debug the issue.
6
7
I build the PDF my merging all of the notebooks into one huge one. I strip out
8
the initial cells for the book formatting and table of contents, and do a few
9
other things so it renders well in PDF.
10
11
There is some code to do the same from Windows (.bat files), but they are now
12
a bit out of date.
13
14
There is also some experimental code to convert to html.
15
16
The files with short in the name combine only a couple of notebooks together.
17
I use this to test the production without having to wait the relatively long
18
time required to produce the entire book. Mostly this is for testing the
19
scripts.
20
21
No one but me should need to run this stuff, but if you fork the project and
22
want to generate a PDF, this is how you do it.
23
24