20
0

Let decks define note macros in notes-preamble.tex

Notes that use a deck's own macros failed to typeset, since mknotes
only pulled in fonts.tex. A deck now defines them in notes-preamble.tex
(starting with \input{fonts.tex}), which mknotes prefers when present.
The Makefile keeps the new fragment out of the document list.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-20 00:11:19 +09:00
parent ab50e8e025
commit b7e37320de
3 changed files with 16 additions and 9 deletions

View File

@@ -69,8 +69,10 @@ from. Show it with [dspdfviewer](https://github.com/dannyedel/dspdfviewer),
[backstage](https://bckstg.xyz/).
To use notes in another ltx-talk document, copy `mknotes` and `talk-notes.sty`
across and load the package. `mknotes` picks up `fonts.tex` when it is present,
so the notes match the deck; `--preamble FILE` names a different fragment.
across and load the package. `mknotes` picks up `notes-preamble.tex`,
or else `fonts.tex`, when present, so the notes match the deck; a deck whose
notes use its own macros defines them in `notes-preamble.tex` (starting with
`\input{fonts.tex}`). `--preamble FILE` names a different fragment.
## Theme