diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-28 22:25:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-28 22:25:15 +0000 |
commit | 80c6e1a9d95b03212dfaf529e0266286828573e0 (patch) | |
tree | daa969b4a2b1f9a912a3a991cc0026ba9246ca73 /Master/texmf-dist/tex/optex/base/plain-macros.opm | |
parent | f270817f7a891c4821e1ef63e715c9f2c44ce626 (diff) |
optex (28jan22)
git-svn-id: svn://tug.org/texlive/trunk@61779 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/optex/base/plain-macros.opm')
-rw-r--r-- | Master/texmf-dist/tex/optex/base/plain-macros.opm | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/optex/base/plain-macros.opm b/Master/texmf-dist/tex/optex/base/plain-macros.opm index b878d96ce84..2f4d2da65c6 100644 --- a/Master/texmf-dist/tex/optex/base/plain-macros.opm +++ b/Master/texmf-dist/tex/optex/base/plain-macros.opm @@ -1,6 +1,6 @@ %% This is part of the OpTeX project, see http://petr.olsak.net/optex -\_codedecl \magstep {Macros from plain TeX <2021-04-09>} % preloaded in format +\_codedecl \magstep {Macros from plain TeX <2021-09-24>} % preloaded in format \_doc ----------------------------- The \`\dospecials` works like in plain TeX but does nothing with `_`. @@ -48,11 +48,11 @@ Plain \TeX/ classical \`\obeylines` and \`\obeyspaces`. \_cod ----------------------------- -% In \obeylines, we say `\let^^M=\par' instead of `\def^^M{\par}' -% since this allows, for example, `\let\par=\cr \obeylines \halign{...' +% In \obeylines, we say `\let^^M=\_par' instead of `\def^^M{\_par}' +% since this allows, for example, `\let\_par=\cr \obeylines \halign{...' {\_catcode`\^^M=13 % these lines must end with % \_gdef\_obeylines{\_catcode`\^^M=13\_let^^M\_par}% - \_global\_let^^M=\par} % this is in case ^^M appears in a \write + \_global\_let^^M=\_par} % this is in case ^^M appears in a \write \_def\_obeyspaces{\_catcode`\ =13 } {\_obeyspaces\_global\_let =\_space} \_public \obeylines \obeyspaces ; @@ -210,8 +210,7 @@ \_def\_{\_hbox{_}} \_def\dag{\_errmessage{\_usedirectly †}} \_def\ddag{\_errmessage{\_usedirectly ‡}} -%\_def\copyright{\_errmessage{\_usedirectly ©}} -\_def\copyright{©} % << example, what to do +\_def\copyright{\_errmessage{\_usedirectly ©}} %\_def\Orb{\_mathhexbox20D} % obsolete (part of Copyright) %\_def\P{\_mathhexbox27B} % obsolete @@ -220,6 +219,21 @@ \_public \mathhexbox ; \_doc ----------------------------- + The \`\_unichars` macro is run in \^`\initunifonts`, + Unicodes are used instead old plain \TeX/ settings. + \_cod ----------------------------- + +\def\_unichars{% characters with different codes in Unicode: + \_chardef\ss=`ß + \_chardef\oe=`œ + \_chardef\OE=`Œ + \_chardef\S=`§ + \_chardef\dag`† + \_chardef\ddag`‡ + \_chardef\copyright`© +} + + \_doc ----------------------------- Accents. The macros \`\ooalign`, \`\d`, \`\b`, \`\c`, \`\dots`, are defined for backward compatibility. @@ -344,5 +358,6 @@ \_endcode % ------------------------------------- +2021-09-24 ... \_unichars introduced 2021-04-09 ... \_public\showhyphens, bug fixed 2020-02-14 ... released |