Debian Codegraph @

texmf-dist/doc/pdftex/tests/08-pdfprimitive/test-pdfprimitive-non.tex

raw
1 % $Id: test-pdfprimitive-non.tex 784 2017-11-28 23:55:44Z karl $
2 % Public domain.
3
4 % Check that \pdfprimitive silently gives no error when used
5 % on a non-primitive, or on an undefined control sequence.
6 %
7 % This is the behavior which the manual has always documented,
8 % although for some years up until the 2018 release, pdftex
9 % gave an error instead of making it be a no-op.
10 %
11 \let\mytestcs=\relax
12 \pdfprimitive\mytestcs
13 \pdfprimitive\undefinedjunky
14 \end