summaryrefslogtreecommitdiff
path: root/tex/context/base/core-mis.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/core-mis.tex')
-rw-r--r--tex/context/base/core-mis.tex4
1 files changed, 3 insertions, 1 deletions
diff --git a/tex/context/base/core-mis.tex b/tex/context/base/core-mis.tex
index a3594a9a7..72c8ac66b 100644
--- a/tex/context/base/core-mis.tex
+++ b/tex/context/base/core-mis.tex
@@ -21,7 +21,7 @@
%D I first needed this simplification in bookmarks. Users can
%D add their own if needed.
-\newtoks\simplifiedcommands
+\ifx\simplifiedcommands\undefined \newtoks\simplifiedcommands \fi
\def\simplifycommands{\the\simplifiedcommands}
@@ -31,8 +31,10 @@
\appendtoks \def\ { }\to\simplifiedcommands
\appendtoks\def\type#1{\string\\\strippedcsname#1}\to\simplifiedcommands
\appendtoks \def\TeX{TeX}\to\simplifiedcommands
+\appendtoks \def\ConTeXt{ConTeXt}\to\simplifiedcommands
\appendtoks \def\MetaPost{MetaPost}\to\simplifiedcommands
\appendtoks \def\MetaPost{MetaFont}\to\simplifiedcommands
+\appendtoks \def\MetaPost{MetaFun}\to\simplifiedcommands
\appendtoks \def||{-}\to\simplifiedcommands
\protect