ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Idris Samawi Hamid ادريس   سماوي حامد" <ishamid@colostate.edu>
To: "Hans Hagen" <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: spaceskip in \framed bug
Date: Thu, 29 Dec 2011 11:41:48 -0700	[thread overview]
Message-ID: <op.v69kvyy3pw6hmh@ishamid-pc> (raw)
In-Reply-To: <4EFC7F69.8020409@wxs.nl>

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
___________________________________________________________________________________

      reply	other threads:[~2011-12-29 18:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-25 20:07 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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.v69kvyy3pw6hmh@ishamid-pc \
    --to=ishamid@colostate.edu \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).