From b7e54219e4294fa527035f0bd2819ca11c3c6964 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Thu, 5 Aug 2021 03:02:12 +0000
Subject: CTAN sync 202108050302

---
 info/ptex-manual/ptex-manual.sty | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

(limited to 'info/ptex-manual/ptex-manual.sty')

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
-- 
cgit v1.2.3

