diff options
author | Karl Berry <karl@freefriends.org> | 2020-07-17 21:49:00 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-07-17 21:49:00 +0000 |
commit | 561ef7b2d217276bf876a1b3fb4443dcd6372865 (patch) | |
tree | 5a3a863f871a8b504ba47749928832806a34079e /Master/texmf-dist/tex/plain/zztex/zzplain.tex | |
parent | c1dc4e84bda67085800d01c72a163f059a896c0b (diff) |
zztex (17jul20)
git-svn-id: svn://tug.org/texlive/trunk@55862 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/plain/zztex/zzplain.tex')
-rw-r--r-- | Master/texmf-dist/tex/plain/zztex/zzplain.tex | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/plain/zztex/zzplain.tex b/Master/texmf-dist/tex/plain/zztex/zzplain.tex new file mode 100644 index 00000000000..a24aa80139b --- /dev/null +++ b/Master/texmf-dist/tex/plain/zztex/zzplain.tex @@ -0,0 +1,71 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% +% Module: ZzTeX Plain TeX Compatibility +% +% Synopsis: This module contains definitions necessary for +% compatibility with Plain TeX. The only goal is to +% allow ZzTeX to run on top of Plain TeX. +% +% Author: Paul C. Anagnostopoulos +% Created: 24 July 1991 +% +% Copyright 1989--2020 by Paul C. Anagnostopoulos +% under The MIT License (opensource.org/licenses/MIT) +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\if \definedp{\dospecials} + \let \znext = \relax +\else + \let \znext = \endinput +\fi +\znext + +\def \zplainerror {% + \error{plaintex}{Cannot use this Plain TeX feature in ZzTeX}} + +% Definitions +% ----------- + + +\catcode`\@ = \catletter +\zremovePlaindef \p@ +\definedimen{\p@}{1pt} +\zremovePlaindef \z@ +\definedimen{\z@}{0pt} +\zremovePlaindef \z@skip +\defineskip{\z@skip}{0pt plus 0pt minus 0pt} +\catcode`\@ = \catactive + +\let \beginsection = \zplainerror + +\let \bye = \zplainerror + +\let \eject = \zplainerror + +\let \leavevmode = \ensurepar + +\let \normalbottom = \zplainerror + +\let \raggedright = \zplainerror + +\let \supereject = \zplainerror + +\let \ttraggedright = \zplainerror + +% Eliminate Fonts +% --------- ----- + + \tcounta = 0 + \loop + \zclearfam{\tcounta}% + \increment \tcounta + \if \lssp{\tcounta}{16}\repeat + + \let \rm = \relax + \let \mit = \relax + \let \it = \relax + \let \sl = \undefined \let \slfam = \undefined + \let \bf = \relax + \let \tt = \relax |