C.1 How this book was built
I wrote the content for this book primarily in HTML, augmented with LaTeX in tag attributes. 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. I ran these in batch mode to generate JPG images.
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 code through Jupyter in noninteractive mode to capture all Python output. Jupyter`app-name
I used Python and the package python-docx to create a Microsoft...