summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2022-11-21 11:57:16 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2022-11-21 11:57:16 +0000
commitcd370da1a5a5cb1dc7d0963aa23c1ec7d2d75836 (patch)
treee4c8615480bd908086aff5eda8fc6624fe8e39c0 /Build
parent13927ca9f1ec030f243b4ce025abd21c3cfd5477 (diff)
[CWEB] Provide backward compatibility for \ifacro.
git-svn-id: svn://tug.org/texlive/trunk@65065 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/cwebdir/ChangeLog1
-rw-r--r--Build/source/texk/web2c/cwebdir/cwebmac.tex1
2 files changed, 2 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/cwebdir/ChangeLog b/Build/source/texk/web2c/cwebdir/ChangeLog
index 84473e9c608..13dd24f1572 100644
--- a/Build/source/texk/web2c/cwebdir/ChangeLog
+++ b/Build/source/texk/web2c/cwebdir/ChangeLog
@@ -2,6 +2,7 @@
* ctwill-w2c.ch,
* cweave.w: Fix an issue with math macros.
+ * cwebmac.tex: Provide backward compatibility for \ifacro.
2022-08-21 Andreas Scherer <https://ascherer.github.io>
diff --git a/Build/source/texk/web2c/cwebdir/cwebmac.tex b/Build/source/texk/web2c/cwebdir/cwebmac.tex
index 85ac02587bb..97ce9db3253 100644
--- a/Build/source/texk/web2c/cwebdir/cwebmac.tex
+++ b/Build/source/texk/web2c/cwebdir/cwebmac.tex
@@ -13,6 +13,7 @@
\def\Black{\pdfliteral{0 g 0 G}} % use rgb colors for direct PDF output too
\def\Blue{\pdfliteral{\pdflinkcolor\space rg \pdflinkcolor\space RG}}
\fi
+\let\ifacro=\ifpdf
\newif\ifacrohint \ifpdf\acrohinttrue\fi \ifhint\acrohinttrue\fi
\let\:=\. % preserve a way to get the dot accent