hi,
this time fully 'context live' approved, only with natural ingredients
and even more tasty. yummy yum :D
% engine=luatex
\starttext
\definelayer[stack]
\setlayer[stack][x=0pt,y=0pt]{%
\clip[hoffset=0pt,voffset=0pt,width=20cm,height=1cm]%
{Clipping some layer text}}
%\flushlayer[stack]
\setbox\scratchbox\hbox{The cat was too long to fit in this small sentence.}
\framed[offset=overlay]{\clip[hoffset=0pt,voffset=0pt,width=110pt,height=15pt]{\box\scratchbox}}
\stoptext
the second clip uses the width value of the prior clip (20cm).
but if the layer is flushed, the second clip works nearly as expected
(only frame is missing). interesting.
there also seems to be some mess (or only a side effect?) with the
setting of
\setupsystem[\c!n=2,\c!m=2]
sometimes the number one is used, sometimes the number two.
must break, it's supper time.
regards, peter
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________