diff options
Diffstat (limited to 'tex/context/base/attr-ini.tex')
-rw-r--r-- | tex/context/base/attr-ini.tex | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/tex/context/base/attr-ini.tex b/tex/context/base/attr-ini.tex index ae7cf019e..80a9e66cb 100644 --- a/tex/context/base/attr-ini.tex +++ b/tex/context/base/attr-ini.tex @@ -214,8 +214,23 @@ \def\doattributedcopy {\afterassignment\dodoattributedcopy\attributeboxcount} \def\doattributedbox {\afterassignment\dodoattributedbox \attributeboxcount} -\def\dodoattributedcopy{\startinheritattributes\ifvbox\attributeboxcount\vbox\else\hbox\fi{\unhcopy\attributeboxcount}\stopinheritattributes} -\def\dodoattributedbox {\startinheritattributes\ifvbox\attributeboxcount\vbox\else\hbox\fi{\unhbox \attributeboxcount}\stopinheritattributes} +\def\dodoattributedcopy + {\startinheritattributes + \ifvbox\attributeboxcount + \vbox{\unvcopy\attributeboxcount}% + \else + \hbox{\unhcopy\attributeboxcount}% + \fi + \stopinheritattributes} + +\def\dodoattributedbox + {\startinheritattributes + \ifvbox\attributeboxcount + \vbox{\unvbox\attributeboxcount}% + \else + \hbox{\unhbox\attributeboxcount}% + \fi + \stopinheritattributes} \def\enableattributeinheritance {\ctxlua{nodes.triggering=true}% |