Closed hmemcpy closed 6 years ago
I think it would make sense to split the preamble and take out the geometry information, than we could have different pre-preambles with the right margins, geometry and font sizes for print and epub, and compile both separately. It could also include a pdfbook
parsed version for people that want to print it in booklet form.
Yeah, the preamble is way too big as it is... I trimmed it down, but there are still things that make the PDF beautiful :) It is based on this SICP PDF's preamble. Any refactoring work there would be welcomed!
This is now done! The make
file creates both versions!
Some hints on how to do this in latex:
https://tex.stackexchange.com/questions/300252/generate-oneside-and-twoside-version-at-the-same-time https://tex.stackexchange.com/questions/220091/conditional-compilation-of-documents-using-command-line-options-for-pdflatex