Production Notes
I wrote the content for this book primarily in HTML. Additional content included:
- Static JPG images.
- LaTeX files using packages including
tikz
,circuitikz
, andquantikz
. I processed these with pdflatex and then the convert utility from ImageMagick to create JPG images. - Python files using matplotlib for plots and charts, especially in Chapter 13, Creating Plots and Charts. I ran these in batch mode to generate JPG images.
- An SVG file created by spacy for the NLP dependency visualization in Chapter 12, Searching and Changing Text.
For many images, especially those I generated, I used convert from ImageMagick to remove extra surrounding whitespace.
I wrote several Python scripts to generate the book and features within it, such as index marking. For example, one script processed HTML chapter files and extracted the Python code. The script then ran the...