summaryrefslogtreecommitdiff
path: root/tex/context/base/thrd-tab.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/thrd-tab.tex')
-rw-r--r--tex/context/base/thrd-tab.tex16
1 files changed, 11 insertions, 5 deletions
diff --git a/tex/context/base/thrd-tab.tex b/tex/context/base/thrd-tab.tex
index a2123efef..7189d6a19 100644
--- a/tex/context/base/thrd-tab.tex
+++ b/tex/context/base/thrd-tab.tex
@@ -6,6 +6,9 @@
% and/or extended in core-tab.tex. The extensions concern
% splitting over pages, color and consistent spacing.
+% We've patched this file for catcode ! because in luatex we use
+% catcode tables and using unprotect/protect is cleaner.
+
% TABLE 1.0
% Copyright Michael J. Wichura August 1988
@@ -108,8 +111,10 @@
% ~ t
%
-\catcode `\!=11
-\catcode `\@=11
+\unprotect
+
+% \catcode `\!=11
+% \catcode `\@=11
\newif\ifh@ % normally in plain tex
\newif\ifv@ % normally in plain tex
@@ -1959,7 +1964,8 @@
% Restore meaning of \\, and reset category codes
% *********************************************************************
\let\\=\!tacr
-\catcode`\!=12
-\catcode`\@=12
-\endinput
+% \catcode`\!=12
+% \catcode`\@=12
+
+\protect \endinput