summaryrefslogtreecommitdiff
path: root/info/ptex-manual/ptex-manual.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-08-05 03:02:12 +0000
committerNorbert Preining <norbert@preining.info>2021-08-05 03:02:12 +0000
commitb7e54219e4294fa527035f0bd2819ca11c3c6964 (patch)
tree6809ec5fe48f0c77fd85957a212fb223c3c3ab10 /info/ptex-manual/ptex-manual.sty
parentda02fd6ad1c5fb45c5ec641bf236d8de4745709f (diff)
CTAN sync 202108050302
Diffstat (limited to 'info/ptex-manual/ptex-manual.sty')
-rw-r--r--info/ptex-manual/ptex-manual.sty10
1 files changed, 7 insertions, 3 deletions
diff --git a/info/ptex-manual/ptex-manual.sty b/info/ptex-manual/ptex-manual.sty
index 10b527e921..6d57f3c840 100644
--- a/info/ptex-manual/ptex-manual.sty
+++ b/info/ptex-manual/ptex-manual.sty
@@ -25,14 +25,18 @@
\def\Pkg#1{\textsf{#1}}
\let\@lessthan <
+\begingroup
\catcode`\<=13
+\gdef<{\ifmmode\@lessthan\else\expandafter\@@meta\fi}
+\gdef\@@meta#1>{\ensuremath{\langle\hbox{\normalfont\textit{#1}}\rangle}}
+\gdef\hex#1{\ifmmode\mbox\fi{\texttt{"#1}}}%"
+\endgroup
+\AtBeginDocument{\catcode`\<=13\relax}
+
\xspcode`\\=3
\xspcode`\*=3
\xspcode`\-=3
\xspcode23=3 % \textcompwordmark
-\def<{\ifmmode\@lessthan\else\expandafter\@@meta\fi}
-\def\@@meta#1>{\ensuremath{\langle\hbox{\normalfont\textit{#1}}\rangle}}
-\def\hex#1{\ifmmode\mbox\fi{\texttt{"#1}}}%"
\normalsize
\bigskipamount=\baselineskip