summaryrefslogtreecommitdiff
path: root/macros/optex/pkg/plain-at.opm
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-04-20 03:00:55 +0000
committerNorbert Preining <norbert@preining.info>2021-04-20 03:00:55 +0000
commitd65c208b161ffee9ce5343fdfdb17d00523cecae (patch)
tree6829c46d8881891365b9be3fb660dba3ca79e6f5 /macros/optex/pkg/plain-at.opm
parent272d21375e83d59014b6591075291d172bbfa007 (diff)
CTAN sync 202104200300
Diffstat (limited to 'macros/optex/pkg/plain-at.opm')
-rw-r--r--macros/optex/pkg/plain-at.opm43
1 files changed, 43 insertions, 0 deletions
diff --git a/macros/optex/pkg/plain-at.opm b/macros/optex/pkg/plain-at.opm
new file mode 100644
index 0000000000..3277d7b24e
--- /dev/null
+++ b/macros/optex/pkg/plain-at.opm
@@ -0,0 +1,43 @@
+% This is macro package used by OpTeX, see http://petr.olsak.net/optex
+
+\_codedecl \_undefined {Obscure @ names from plain TeX <2020-05-22>}
+
+\_setctable \_optexcatcodes
+% PlainTeX obscure names:
+\_catcode`\@=11
+\_let\z@=\_zo
+\_let\z@skip=\_zoskip
+\_newdimen\p@ \p@=1pt
+\_chardef\@ne=1
+\_chardef\tw@=2
+\_chardef\thr@@=3
+\_chardef\sixt@@n=16
+\_mathchardef\@m=1000
+\_mathchardef\@M=10000
+\_mathchardef\@MM=20000
+\_countdef\m@ne=22 \m@ne=-1
+\_chardef\@cclv=255
+\_mathchardef\@cclvi=256
+\_skipdef\skip@=0
+\_dimendef\dimen@=0
+\_dimendef\dimen@i=1
+\_dimendef\dimen@ii=2
+\_countdef\count@=255
+\_def\m@th{\_mathsurround\z@}
+\_def\o@lign{\_lineskiplimit\z@ \_oalign}
+\_def\n@space{\_nulldelimiterspace\z@ \m@th}
+\_newdimen\p@renwd \p@renwd=8.75pt
+\_def\alloc@#1#2#3#4#5{\_allocator#5{\_csstring#2}#3}
+\_restorectable
+
+\_endcode
+
+We absolutely don't recommend to use such obscure names in your macros. But
+sometimes you need to read an old plain TeX document or a macro file. You
+can load this file in such cases. For example:
+
+\begtt
+ \load [plain-at, shapepar.sty]
+\endtt
+
+\_endinput