Implement native PDF links and vertical discard lists

This commit is contained in:
gloamxun committed 2026-11-18 23:39:45 +08:00
1 parent b6567f67e2
commit a53d9c9bf9
29 files changed
+980 -109

No files matched your search

@@ -0,0 +1,16 @@
\catcode123=1 \catcode125=2
\toksdef\slot=0\slot={FIRST}
\message{SHORTHAND-FIRST=[\the\slot]}
{\toksdef\slot=1\slot={LOCAL}\message{SHORTHAND-LOCAL=[\the\slot]}}
\message{SHORTHAND-RESTORED=[\the\slot]}
\def\slot{8}
\toksdef\slot=9\slot={REBOUND}
\message{SHORTHAND-REBOUND=[\the\slot|\the\toks9]}
{\global\toksdef\slot=32767\global\slot={EXTENDED}}
\message{SHORTHAND-GLOBAL=[\the\slot|\the\toks32767]}
\countdef\amount=7\amount=37
\dimendef\length=8\length=3pt
\skipdef\spaceamount=9\spaceamount=1pt plus2fil
\muskipdef\mathspace=10\mathspace=2mu
\message{SHORTHAND-REGS=[\the\amount|\the\length|\the\spaceamount|\the\mathspace]}
\end