diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/pack-rul.mkiv')
-rw-r--r-- | Master/texmf-dist/tex/context/base/pack-rul.mkiv | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/context/base/pack-rul.mkiv b/Master/texmf-dist/tex/context/base/pack-rul.mkiv index d7e41dd7076..480997919f7 100644 --- a/Master/texmf-dist/tex/context/base/pack-rul.mkiv +++ b/Master/texmf-dist/tex/context/base/pack-rul.mkiv @@ -523,12 +523,12 @@ \newtoks\everybackgroundbox -\let\currentbackground\empty +\let\m_framed_background\empty % we might need a public name \def\pack_framed_process_background - {\ifcsname\??overlaybuiltin\currentbackground\endcsname + {\ifcsname\??overlaybuiltin\m_framed_background\endcsname \pack_framed_process_background_indeed_internal - \else\ifcsname\??overlay\currentbackground\endcsname + \else\ifcsname\??overlay\m_framed_background\endcsname \pack_framed_process_background_indeed_external \fi\fi} @@ -536,10 +536,10 @@ {\bgroup \setbox\b_framed_extra\hbox{%\bgroup \ifzeropt\framedbackgroundoffset - \csname\??overlaybuiltin\currentbackground\endcsname + \csname\??overlaybuiltin\m_framed_background\endcsname \else \kern-\framedbackgroundoffset - \hbox{\csname\??overlaybuiltin\currentbackground\endcsname}% + \hbox{\csname\??overlaybuiltin\m_framed_background\endcsname}% \fi }%\egroup \wd\b_framed_extra\zeropoint @@ -553,10 +553,10 @@ \bgroup \setbox\b_framed_extra\hbox{%\bgroup \ifzeropt\framedbackgroundoffset - \csname\??overlay\currentbackground\endcsname + \csname\??overlay\m_framed_background\endcsname \else \kern-\framedbackgroundoffset - \hbox{\csname\??overlay\currentbackground\endcsname}% + \hbox{\csname\??overlay\m_framed_background\endcsname}% \fi }%\egroup \wd\b_framed_extra\zeropoint @@ -566,8 +566,8 @@ \egroup} \def\pack_framed_process_backgrounds#1,#2% #2 gobbles spaces (we could avoid one catch if we have nextbackground) - {\edef\currentbackground{#1}% - \ifx\currentbackground\s!unknown\else + {\edef\m_framed_background{#1}% + \ifx\m_framed_background\s!unknown\else \pack_framed_process_background \expandafter\pack_framed_process_backgrounds \fi#2} @@ -1208,9 +1208,9 @@ \let\pack_framed_forgetall\relax \forgetall \fi - \edef\framedwidth {\ifdim\d_framed_width >\zeropoint\the\d_framed_width \else\!!zeropoint\fi}% a new feature, visible for user - \edef\framedheight{\ifdim\d_framed_height>\zeropoint\the\d_framed_height\else\!!zeropoint\fi}% a new feature, visible for user - \edef\framedoffset{\the\dimexpr\ifconditional\c_framed_has_offset\localoffset\else\zeropoint\fi}% + \edef\framedwidth {\the\ifdim\d_framed_width >\zeropoint \d_framed_width \else\zeropoint\fi}% public + \edef\framedheight{\the\ifdim\d_framed_height>\zeropoint \d_framed_height\else\zeropoint\fi}% public + \edef\framedoffset{\the\dimexpr\ifconditional\c_framed_has_offset\localoffset \else\zeropoint\fi}% public \ifx\p_framed_orientation\empty \let\pack_framed_stop_orientation\relax \else |