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:
@@ -1,8 +1,9 @@
|
||||
#!/usr/bin/make
|
||||
|
||||
# fonts.tex is a fragment meant to be \input, not a document of its own, so it
|
||||
# has to stay out of the list or make will try to typeset it.
|
||||
TEX := $(filter-out fonts.tex,$(wildcard *.tex))
|
||||
# fonts.tex and notes-preamble.tex are fragments meant to be \input, not
|
||||
# documents of their own, so they stay out of the list or make would try to
|
||||
# typeset them.
|
||||
TEX := $(filter-out fonts.tex notes-preamble.tex,$(wildcard *.tex))
|
||||
PDF := $(patsubst %.tex,%.pdf,$(TEX))
|
||||
JOB := $(patsubst %.tex,%,$(TEX))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user