20
0
Commit Graph

2 Commits

Author SHA1 Message Date
55f33cd8f5 Take the slide fonts from TeX Live rather than the tree
Open Sans and Roboto Mono ship in texlive-fonts-extra, which the other
templates already require. LuaLaTeX resolves them by family name through
luaotfload, which indexes the TeX tree, so the vendored copies and their
relative Path= keys are unnecessary.

Same faces, pixel-identical output.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-19 15:43:29 +09:00
27304c853a Share the font setup between the slides and the notes
The notes pages were typeset in the default Latin Modern while the slides
used OpenSans and RobotoMono, so the two halves of a presenter page did not
match.

Move the font declarations to fonts.tex, which the slides \input and
mknotes passes to the notes document. mknotes uses it by default when it
exists, so a deck that copies the two notes files in gets matching fonts
without having to remember a flag; --preamble names a different fragment,
and a file named there but missing is an error rather than ignored.

The notes document now compiles from the document directory with
-output-directory rather than running inside the temporary one, so the
relative font paths in the fragment resolve.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 07:26:23 -07:00