On Dec 30, 2007 6:01 PM, luigi scarso
On Dec 30, 2007 3:09 PM, Peter Rolf
wrote: Hi,
compilation still breaks in case of a vbox. Minimal example attached. Confirm with last mkiv This is LuaTeX, Version snapshot-0.20.2-2007121721 (Web2C 7.5.6) ConTeXt ver: 2007.12.29 22:30 MKIV fmt: 2007.12.30 int: english/english
With hbox compilation is ok.
Easy to fix. % engine=luatex \def\dodoattributedcopy {\startinheritattributes\ifvbox\attributeboxcount\vbox\else\hbox\fi {\ifvbox\attributeboxcount\unvcopy\else\unhcopy\fi\attributeboxcount}% \stopinheritattributes} \def\dodoattributedbox {\startinheritattributes\ifvbox\attributeboxcount\vbox\else\hbox\fi {\ifvbox\attributeboxcount\unvbox\else\unhbox\fi\attributeboxcount}% \stopinheritattributes} \starttext \enableattributeinheritance \setbox\scratchbox\vbox{foo} \attributedbox\scratchbox \stoptext Wolfgang