diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/meta-txt.tex')
-rw-r--r-- | Master/texmf-dist/tex/context/base/meta-txt.tex | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/context/base/meta-txt.tex b/Master/texmf-dist/tex/context/base/meta-txt.tex index 18b6d206994..474253a4052 100644 --- a/Master/texmf-dist/tex/context/base/meta-txt.tex +++ b/Master/texmf-dist/tex/context/base/meta-txt.tex @@ -24,8 +24,7 @@ % textext ipv btex ... etex -\ifx\undefined\MPtoks \newtoks\MPtoks \fi -\ifx\undefined\MPnox \newbox \MPbox \fi +% we need a proper prefix here \unprotect @@ -37,15 +36,18 @@ % \def\newchar#1{\chardef#1=0 } -\newdimen\parwidth -\newdimen\parheight -\newdimen\parvoffset -\newdimen\parhoffset -\newcount\parlines -\newtoks \partoks -\newbox \shapetextbox -\newif \ifparseries -\chardef \parfirst=0 +\ifdefined\MPtoks \else \newtoks\MPtoks \fi +\ifdefined\MPbox \else \newbox \MPbox \fi + +\ifdefined\parwidth \else \newdimen\parwidth \fi +\ifdefined\parheight \else \newdimen\parheight \fi +\ifdefined\parvoffset \else \newdimen\parvoffset \fi +\ifdefined\parhoffset \else \newdimen\parhoffset \fi +\ifdefined\parlines \else \newcount\parlines \fi +\ifdefined\partoks \else \newtoks \partoks \fi +\ifdefined\shapetextbox \else \newbox \shapetextbox \fi + \newif \ifparseries +\ifdefined\parfirst \else \chardef \parfirst=0 \fi \def\startshapetext[#1]% {\global\newcounter\currentshapetext |