Pandoc PDF Font Size Fixes | Generated by AI
PDF is now correct at 75 pages with 48pt body text and proportional headings. The --pt flag finally works properly.
Summary of fixes to ~/projects/ww/ww/pdf/pdf_base.py:
- Font size via
\renewcommand{\normalsize}+\AtBeginDocument(not classoption, which only supports 10/11/12pt) --include-in-headerwith temp file (not-V header-includes=, which collapses newlines)titlesecfor heading size control- Critical: moved
\usepackage{setspace}\setstretch{1.5}into header-includes and removed-V linestretch=1.5— pandoc’s\setstretchafter\begin{document}was silently overriding our\normalsizeback to 12pt