On Dec 30, 2007 6:01 PM, luigi scarso <[EMAIL PROTECTED]> wrote:
> On Dec 30, 2007 3:09 PM, Peter Rolf <[EMAIL PROTECTED]> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to