diff options
author | Hans Hagen <pragma@wxs.nl> | 2001-04-09 00:00:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2001-04-09 00:00:00 +0200 |
commit | 097d775537de422f644e9d13a40a3b18bf7dfe91 (patch) | |
tree | 24871ebb9648fabc5ac88f4003edfa2005a3b3d3 /tex/context/base/meta-txt.tex | |
parent | 2a2e86e6c2022e3925e0ee62f5c7b66bbec03338 (diff) | |
download | context-097d775537de422f644e9d13a40a3b18bf7dfe91.tar.gz |
stable 2001.04.09
Diffstat (limited to 'tex/context/base/meta-txt.tex')
-rw-r--r-- | tex/context/base/meta-txt.tex | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tex/context/base/meta-txt.tex b/tex/context/base/meta-txt.tex index ea9493a1f..2c93147cc 100644 --- a/tex/context/base/meta-txt.tex +++ b/tex/context/base/meta-txt.tex @@ -53,7 +53,9 @@ \global\parseriestrue \xdef\totalparlines{\the\!!counta}% \global\partoks\!!toksa - \expanded{\parshape \the\!!counta \the\!!toksa}% + %\ifx\partoks\emptytoks\else % safeguard + \expanded{\parshape \the\!!counta \the\!!toksa}% + %\fi \setshapecharacteristics % extra dummy \ifparseries\def\par{\endgraf\adaptparshape}\fi \EveryPar{\begstrut}} @@ -78,8 +80,10 @@ \!!toksa=\emptytoks \expanded{\processseparatedlist[\the\partoks][\space]}\docommando \global\partoks=\!!toksa - \expanded{\parshape\totalparlines\the\partoks}} - + %\ifx\partoks\emptytoks\else % safeguard + \expanded{\parshape\totalparlines\the\partoks}% + }%\fi} + \def\getshapecharacteristics% {\doglobal\increment\currentshapetext \doifdefinedelse{parlines:\currentshapetext} |