Since I use the minted package for Syntax highlighting, Pygments needs to be installed:
sudo python3 -m pip install Pygments
The PDF file of the latest code is automatically generated and uploaded to: https://andreas-korb.de/downloads/my-bachelor-thesis.pdf
Trims all images to its content but pads it with one pixel line on the top and bottom. The padding is needed, because sometimes the \includegraphics
command is trimming a pixel line.
mogrify -trim -gravity north -splice 0x1 -gravity south -splice 0x1 *.png
Convert *.puml file (PlantUML) to a PDF file containing vectorized data.
cat myfile.puml | plantuml -tsvg -p | inkscape --export-type="pdf" -p > myfile.pdf
Convert *.puml file (PlantUML) to a PDF file containing vectorized data rotated by 90 degrees clockwise.
cat overview.puml | plantuml -tsvg -p | inkscape --export-type="pdf" -p | pdfjam --angle 90 --outfile overview.pdf