20
0

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>
This commit is contained in:
2026-08-19 15:41:34 +09:00
parent da213107e2
commit 55f33cd8f5
10 changed files with 6 additions and 18 deletions

View File

@@ -210,8 +210,8 @@ def build_notes_pdf(pages, width, height, thumb_w, thumb_h, workdir,
bandwidth = width - thumb_w
# \input rather than the file's contents, so that anything relative inside
# it (font paths, say) resolves against the document directory. LaTeX runs
# from there even though its output goes to the working directory.
# it resolves against the document directory. LaTeX runs from there even
# though its output goes to the working directory.
extra = r"\input{%s}" % preamble if preamble else ""
body = [NOTES_PREAMBLE % {