summaryrefslogtreecommitdiff
path: root/tex/context/base/xtag-run.tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2002-03-04 00:00:00 +0100
committerHans Hagen <pragma@wxs.nl>2002-03-04 00:00:00 +0100
commit6a8becf936f346438dfcb463bbb195bf4dd45d7d (patch)
treec9409681dfad52e714480dcf041a144a861ef1dd /tex/context/base/xtag-run.tex
parent492154026fb3d8fa46a58ed89edce6a596e341ad (diff)
downloadcontext-6a8becf936f346438dfcb463bbb195bf4dd45d7d.tar.gz
stable 2002.03.04
Diffstat (limited to 'tex/context/base/xtag-run.tex')
-rw-r--r--tex/context/base/xtag-run.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/xtag-run.tex b/tex/context/base/xtag-run.tex
index 7a919d31f..ebfee9e80 100644
--- a/tex/context/base/xtag-run.tex
+++ b/tex/context/base/xtag-run.tex
@@ -101,7 +101,7 @@
\advance\XMLlevel -1
\DoMod\XMLlevel by\XMLprettycycle to\scratchcounter
\advance\scratchcounter 1
- \startcolor[xtag:\number\scratchcounter]%
+ \startcolor[xtag:\ifnum\scratchcounter<0 0\else\number\scratchcounter\fi]%
\string<%
\ifnum\kindofXMLelement=2\string/\fi
\currentXMLelement
@@ -110,7 +110,7 @@
\cleanupXMLarguments
\startcolor[xtag:0]\hbox{\space}\showXMLarguments\unskip\stopcolor
\fi\fi
- \startcolor[xtag:\number\scratchcounter]%
+ \startcolor[xtag:\ifnum\scratchcounter<0 0\else\number\scratchcounter\fi]%
\ifnum\kindofXMLelement=3\string/\fi
\string>%
\stopcolor