![](https://secure.gravatar.com/avatar/a4358949522f2efc1bab8ed68385b00c.jpg?s=120&d=mm&r=g)
Dear gang, The following used to work in mkiv, but no longer (works in mkii): =============== % stretchline.tex \startsetups stretchline \spaceskip=0pt plus 2 fill \relax \stopsetups \setupframed[frame=on,width=\textwidth,setups=stretchline, offset=none,location=depth,align=l2r] \showframe \starttext \framed{This is a test.} \stoptext =============== This is LuaTeX, Version beta-0.71.0-2011071409 (rev 4332) \write18 enabled. (stretchline.tex ConTeXt ver: 2011.11.25 21:29 MKIV fmt: 2011.11.25 =============== Is it a bug? Any workarounds? Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shīʿī Studies Department of Philosophy Colorado State University Fort Collins, CO 80523
![](https://secure.gravatar.com/avatar/a4358949522f2efc1bab8ed68385b00c.jpg?s=120&d=mm&r=g)
Dear gang,
Did not hear back on this, trying again ...
Best wishes
Idris
On Sun, 25 Dec 2011 13:07:44 -0700, Idris Samawi Hamid ادريس سماوي حامد
Dear gang,
The following used to work in mkiv, but no longer (works in mkii):
=============== % stretchline.tex \startsetups stretchline \spaceskip=0pt plus 2 fill \relax \stopsetups \setupframed[frame=on,width=\textwidth,setups=stretchline, offset=none,location=depth,align=l2r] \showframe \starttext \framed{This is a test.} \stoptext ===============
This is LuaTeX, Version beta-0.71.0-2011071409 (rev 4332) \write18 enabled. (stretchline.tex
ConTeXt ver: 2011.11.25 21:29 MKIV fmt: 2011.11.25
===============
Is it a bug? Any workarounds?
-- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shīʿī Studies Department of Philosophy Colorado State University Fort Collins, CO 80523
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 29-12-2011 15:21, Idris Samawi Hamid ادريس سماوي حامد wrote:
Dear gang,
Did not hear back on this, trying again ...
Best wishes Idris
On Sun, 25 Dec 2011 13:07:44 -0700, Idris Samawi Hamid ادريس سماوي حامد
wrote: Dear gang,
The following used to work in mkiv, but no longer (works in mkii):
Setups come before setting the alignment and alignments sets the spaceskip too. Are you sure that it worked before? nothing changed in that order. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/a4358949522f2efc1bab8ed68385b00c.jpg?s=120&d=mm&r=g)
On Thu, 29 Dec 2011 07:55:37 -0700, Hans Hagen
On Sun, 25 Dec 2011 13:07:44 -0700, Idris Samawi Hamid ادريس سماوي حامد
The following used to work in mkiv, but no longer (works in mkii):
Setups come before setting the alignment and alignments sets the spaceskip too.
Are you sure that it worked before? nothing changed in that order.
I just now tried it again in mkii, and it works fine there. Also, I've used this paradigm in one of my samples for a long time now in mkiv, and it definitely used to work. Indeed, I only tried mkii on a whim, this sample was a mkiv sample to start with. In any case, I'm not clear on your point:
Setups come before setting the alignment and alignments sets the spaceskip too.
I have not found a combination that works in mkiv: Please advise. Here is the code again for reference: ========================== \startsetups stretchline \spaceskip=0pt plus 2 fill \relax \stopsetups \setupframed[frame=on,width=\textwidth,setups=stretchline, offset=none,location=depth,align=l2r] \showframe \starttext \framed{This is a test.} \stoptext ========================== Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shīʿī Studies Department of Philosophy Colorado State University Fort Collins, CO 80523
participants (2)
-
Hans Hagen
-
Idris Samawi Hamid ادريس سماوي حامد