Debian Codegraph @

texk/web2c/tests/invalidmu.tex

raw
1 % $Id: invalidmu.tex 75108 2025-05-05 17:39:26Z karl $
2 % Public domain, from Tyge Thiessen and David Fuchs.
3 %
4 % When \mkern is followed by a normal (non-mu) dimen or skip, it gives
5 % the expected "Incompatible glue units" error, but then continues with
6 % up to two spurious additional errors. Fix from DRF in tex.ch at 26.449.
7 % Original report: https://tug.org/pipermail/tex-k/2025-January/004150.html
8 % TeX bug entry: https://tug.org/texmfbug/newbug.html#B182muerror
9
10 \catcode`\$ = 3 % so we can run under initex
11 \dimen0=1pt
12 \skip0=1pt
13 $\mkern \dimen0$
14 $\mkern \skip0$
15 \end