diff options
author | Hans Hagen <pragma@wxs.nl> | 2022-12-21 18:00:37 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2022-12-21 18:00:37 +0100 |
commit | 36355f3d0c23357fccf2c76b3e9605a41cae519d (patch) | |
tree | 7b2bfa701a21ed8b075deba24112583461706770 /tex/context/base/mkxl/typo-shp.mkxl | |
parent | 8f472c629a996f1c08281198210354a253d7f56b (diff) | |
download | context-36355f3d0c23357fccf2c76b3e9605a41cae519d.tar.gz |
2022-12-21 17:12:00
Diffstat (limited to 'tex/context/base/mkxl/typo-shp.mkxl')
-rw-r--r-- | tex/context/base/mkxl/typo-shp.mkxl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tex/context/base/mkxl/typo-shp.mkxl b/tex/context/base/mkxl/typo-shp.mkxl index 64cacef09..e6bc143c1 100644 --- a/tex/context/base/mkxl/typo-shp.mkxl +++ b/tex/context/base/mkxl/typo-shp.mkxl @@ -178,8 +178,8 @@ %D As it is not much code we now put it here: -\newbox \shapetextbox -\newcount\shapetextindex +\newbox \shapetextbox +\newinteger\shapetextindex \permanent\protected\def\startshapetext[#1]% {\begingroup @@ -201,7 +201,7 @@ % {\vbox\bgroup % \forgetall % \dontcomplain -% \global\advance\shapetextindex\plusone +% \global\advanceby\shapetextindex\plusone % \scratchcounter\getshapeparameter{lines}\relax % \ifnum\scratchcounter>\zerocount % \scratchwidth \getshapeparameter{width}\scaledpoint\relax @@ -227,7 +227,7 @@ {\vbox\bgroup \forgetall \dontcomplain - \global\advance\shapetextindex\plusone + \global\advanceby\shapetextindex\plusone \scratchcounter\getshapeparameter{lines}\relax \ifnum\scratchcounter>\zerocount \scratchwidth \getshapeparameter{width}\scaledpoint\relax |