Rudolf Bahr schrieb am 24.03.2020 um 12:19:
Hello dear All,
the following MWE works best:
\definelayer[LAY]
\starttext
\setlayerframed[LAY]
[x=0pt,y=20pt]
[frame=on,
width=300pt,
align={right,}] % tolerant}]
{\input ward }
\flushlayer[LAY]
\stoptext
Now, it could have a favourable effect on designing a page if the height of a
text
of certain width could be calculated in advance, depending of the font.
Is there a way?
As I fear, TeX's means "\setbox" woun't work with aligned texts.
Can you give more details, I have no idea what you mean with aligned
texts (layers?).
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________