summaryrefslogtreecommitdiff
path: root/tex/context/base/supp-mps.tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2003-04-22 00:00:00 +0200
committerHans Hagen <pragma@wxs.nl>2003-04-22 00:00:00 +0200
commit30ab0025913bb6e39e7cfd2c37b402083b1f7337 (patch)
treecb73415b1f5e397d6c2d81300d962405b5b27639 /tex/context/base/supp-mps.tex
parent44a457e94e531de21ed9138035570e6fc23d9019 (diff)
downloadcontext-30ab0025913bb6e39e7cfd2c37b402083b1f7337.tar.gz
stable 2003.04.22
Diffstat (limited to 'tex/context/base/supp-mps.tex')
-rw-r--r--tex/context/base/supp-mps.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/tex/context/base/supp-mps.tex b/tex/context/base/supp-mps.tex
index 483084c3c..5ce98814a 100644
--- a/tex/context/base/supp-mps.tex
+++ b/tex/context/base/supp-mps.tex
@@ -699,16 +699,16 @@
%D More save is to use a number for {MP}{#1} which permits
%D redefinition.
-\newcounter\MPobjectcounter
+\newcount\MPobjectcounter
\def\douseMPbox#1%
- {\doglobal\increment\MPobjectcounter
- \setobject{MP}{\MPobjectcounter}\vbox
+ {\global\advance\MPobjectcounter\plusone
+ \setobject{MP}{\number\MPobjectcounter}\vbox
{\forgetall
\loadMPgraphic{\MPgraphicfile.\the\currentMPgraphic}{}%
\deallocateMPslot\currentMPgraphic
\placeMPgraphic}%
- \setxvalue{#1}{\noexpand\getobject{MP}{\MPobjectcounter}}}
+ \setxvalue{#1}{\noexpand\getobject{MP}{\number\MPobjectcounter}}}
\def\nouseMPbox#1%
{\setxvalue{#1}%