diff options
Diffstat (limited to 'tex/context/base/syst-aux.mkiv')
-rw-r--r-- | tex/context/base/syst-aux.mkiv | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/tex/context/base/syst-aux.mkiv b/tex/context/base/syst-aux.mkiv index fcc1ee88f..2d3355b72 100644 --- a/tex/context/base/syst-aux.mkiv +++ b/tex/context/base/syst-aux.mkiv @@ -5896,9 +5896,26 @@ %D helps a lot. The second boolena can be used to inhibit %D processing completely. -\newif\iftrialtypesetting \trialtypesettingfalse \newif\ifvisible \visibletrue +\newif \iftrialtypesetting +\newcount\trialtypesettingmode % we need to find a way to query conditionals so this one can become obsolete +\newtoks \everysettrialtypesetting +\newtoks \everyresettrialtypesetting + +\unexpanded\def\settrialtypesetting {\the\everysettrialtypesetting } % obeys grouping so +\unexpanded\def\resettrialtypesetting{\the\everyresettrialtypesetting} % this one is seldom needed + +\appendtoks + \trialtypesettingtrue + \trialtypesettingmode\plusone +\to \everysettrialtypesetting + +\appendtoks + \trialtypesettingfalse + \trialtypesettingmode\zerocount +\to \everyresettrialtypesetting + %D \macros %D {startlocal, startglobal} %D |