* spaceskip in \framed bug
@ 2011-12-25 20:07 Idris Samawi Hamid ادريس سماوي حامد
2011-12-29 14:21 ` Idris Samawi Hamid ادريس سماوي حامد
0 siblings, 1 reply; 4+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2011-12-25 20:07 UTC (permalink / raw)
To: ntg-context; +Cc: Hans Hagen
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
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: spaceskip in \framed bug
2011-12-25 20:07 spaceskip in \framed bug Idris Samawi Hamid ادريس سماوي حامد
@ 2011-12-29 14:21 ` Idris Samawi Hamid ادريس سماوي حامد
2011-12-29 14:55 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2011-12-29 14:21 UTC (permalink / raw)
To: ntg-context; +Cc: Hans Hagen
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 ادريس سماوي حامد
<ishamid@colostate.edu> wrote:
> 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
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: spaceskip in \framed bug
2011-12-29 14:21 ` Idris Samawi Hamid ادريس سماوي حامد
@ 2011-12-29 14:55 ` Hans Hagen
2011-12-29 18:41 ` Idris Samawi Hamid ادريس سماوي حامد
0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2011-12-29 14:55 UTC (permalink / raw)
To: Idris Samawi Hamid ادريس
سماوي حامد
Cc: ntg-context
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 ادريس سماوي حامد
> <ishamid@colostate.edu> 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
-----------------------------------------------------------------
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: spaceskip in \framed bug
2011-12-29 14:55 ` Hans Hagen
@ 2011-12-29 18:41 ` Idris Samawi Hamid ادريس سماوي حامد
0 siblings, 0 replies; 4+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2011-12-29 18:41 UTC (permalink / raw)
To: Hans Hagen; +Cc: ntg-context
On Thu, 29 Dec 2011 07:55:37 -0700, Hans Hagen <pragma@wxs.nl> wrote:
>> 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
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-12-29 18:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-25 20:07 spaceskip in \framed bug Idris Samawi Hamid ادريس سماوي حامد
2011-12-29 14:21 ` Idris Samawi Hamid ادريس سماوي حامد
2011-12-29 14:55 ` Hans Hagen
2011-12-29 18:41 ` Idris Samawi Hamid ادريس سماوي حامد
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).