20
0

Add tagged PDF accessibility support

Switch to LuaLaTeX (better tagged PDF support), add \DocumentMetadata
for PDF 2.0 and language metadata, enable tagpdf tagging, and mark
tikz overlay commands (\credit, \marktopleft, \markbottomright) as
PDF artifacts.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-31 11:14:19 -07:00
parent 047c603347
commit 2841ae97df
2 changed files with 12 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ all: notes.config vc $(patsubst %.tex,%.pdf,$(wildcard *.tex))
pdf: all
%.pdf: %.tex
latexmk -f -xelatex $<
latexmk -f -lualatex $<
# latexmk -f -pdf -pdflatex="xelatex -synctex=1 %S %O" -verbose -file-line-error -interaction=nonstopmode $<
# qpdf --qdf --object-streams=disable $@ - | sponge $@
# sed -e 's|/PageLabels|/BageLapels|g' < $@ |sponge $@