From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28944 Path: news.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: framed and align=no Date: Wed, 28 Jun 2006 17:16:09 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v749.3) Content-Type: multipart/mixed; boundary="===============0182605173==" X-Trace: sea.gmane.org 1151510050 25822 80.91.229.2 (28 Jun 2006 15:54:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Jun 2006 15:54:10 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 28 17:54:09 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FvcMW-0006YP-4G for gctc-ntg-context-518@m.gmane.org; Wed, 28 Jun 2006 17:53:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C80EF12827; Wed, 28 Jun 2006 17:53:54 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31291-05-4; Wed, 28 Jun 2006 17:53:45 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 751A81284B; Wed, 28 Jun 2006 17:16:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 04A7F1284B for ; Wed, 28 Jun 2006 17:16:43 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23793-06 for ; Wed, 28 Jun 2006 17:16:39 +0200 (CEST) Original-Received: from smtp.science.uva.nl (smtp.science.uva.nl [146.50.4.84]) by ronja.ntg.nl (Postfix) with SMTP id 6D0741283F for ; Wed, 28 Jun 2006 17:16:38 +0200 (CEST) Original-Received: from 119-151.uva.surfnetthuis.nl [145.98.119.151] by smtp.science.uva.nl with ESMTP (sendmail 8.11.6p2/config 11.36). id k5SFGTP29878; Wed, 28 Jun 2006 17:16:29 +0200 X-Organisation: Faculty of Science, University of Amsterdam, The Netherlands X-URL: http://www.science.uva.nl/ Original-To: NTG ConTeXt X-Mailer: Apple Mail (2.749.3) X-Virus-Scanned: by amavisd-new X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:28944 Archived-At: --===============0182605173== Content-Type: multipart/alternative; boundary=Apple-Mail-1--745605798 --Apple-Mail-1--745605798 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed I seem to have a problem with alignment in \framed; these are small examples with there outcome: \leftaligned{\framed[width=4cm,align=no]{xyz} "no" comes out to the left} \leftaligned{\framed[width=4cm,align=no]{\hfil xyz} "no" comes out in the middle} \leftaligned{\framed[width=4cm,align=middle]{\hfil xyz} "middle" comes out to the right} \leftaligned{\framed[width=4cm,align=right]{\hfil xyz} "right" comes out in the middle} \leftaligned{\framed[width=4cm,align=right]{xyz} "right" comes out to the left} I get the impression that although "align=no", there still is a \hfil put in at the right. Searched through the sources, especially core-rule.tex but could not find the right place; it is fairly complicated code, isn't it? Using \hfill to force the alignment is not an option, because I need that for overriding the alignment when using these alignments in macros. I would like very much to have "align=no" putting no glue, neither to the right nor to the left, thus making it different from "align=right". If I am right: 1. can someone point me to the point in the source where I can change things for the moment? 2. will this be changed then in the next release? Hans van der Meer --Apple-Mail-1--745605798 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 I seem to have a problem with alignment in \framed; = these are small examples with there outcome:

\leftaligned{\framed[width=3D4cm,align=3Dno]{xyz} "no" = comes out to the left}
\leftaligned{\framed[width=3D4cm,align=3Dno]{\hfil xyz} = "no" comes out in the middle}
\leftaligned{\framed[width=3D4cm,align=3Dmiddle]{\hfil = xyz} "middle" comes out to the right}
\leftaligned{\framed[width=3D4cm,align=3Dright]{\hfil = xyz} "right" comes out in the middle}
\leftaligned{\framed[width=3D4cm,align=3Dright]{xyz} = "right" comes out to the left}

I get the impression that = although "align=3Dno",=A0 there still is a \hfil put in at the = right.

Searched through the = sources, especially core-rule.tex but could not find the right place; it = is fairly complicated code, isn't it?
Using \hfill to force the = alignment is not an option, because I need that for overriding the = alignment when using these alignments in macros.

I would like very much to = have "align=3Dno" putting no glue, neither to the right nor to the left, = thus making it different from "align=3Dright".
If I am = right:
1. can someone point me to the point in the source = where I can change things for the moment?
2. will this be changed then = in the next release?

Hans van der = Meer



= --Apple-Mail-1--745605798-- --===============0182605173== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============0182605173==--