From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54459 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: framed items Date: Tue, 17 Nov 2009 10:32:20 -0500 (EST) Message-ID: References: <69254142-2F1E-49D1-958A-F42444C8BFA6@googlemail.com> <65AD4849-4480-4E2E-8A6A-9EE67AF06314@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-846778016-1258471941=:14253" X-Trace: ger.gmane.org 1258471967 22519 80.91.229.12 (17 Nov 2009 15:32:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Nov 2009 15:32:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 17 16:32:41 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NAQ2l-0006tg-03 for gctc-ntg-context-518@m.gmane.org; Tue, 17 Nov 2009 16:32:35 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 38134C9B1A; Tue, 17 Nov 2009 16:30:13 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id J58-KjddiK4b; Tue, 17 Nov 2009 16:30:09 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2C2BAC9AC7; Tue, 17 Nov 2009 16:30:09 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6CDBAC9AC7 for ; Tue, 17 Nov 2009 16:30:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id iZUNgJxHQNry for ; Tue, 17 Nov 2009 16:30:01 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by balder.ntg.nl (Postfix) with ESMTP id 19519C9A9C for ; Tue, 17 Nov 2009 16:30:00 +0100 (CET) Original-Received: FROM dhcp128036205126.central.yale.edu (dhcp128036205126.central.yale.edu [128.36.205.126]) By tombraider.mr.itd.umich.edu ID 4B02C204.529B7.26578 ; Authuser adityam; 17 Nov 2009 10:32:20 EST In-Reply-To: User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:54459 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-846778016-1258471941=:14253 Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 17 Nov 2009, luigi scarso wrote: > On Tue, Nov 17, 2009 at 12:24 AM, Wolfgang Schuster > wrote: >> from pack-rul: >> >> =C2=A0 \else\ifx\localwidth\v!broad >> =C2=A0 =C2=A0 \boxhaswidthtrue >> =C2=A0 =C2=A0 \!!framedwidth\hsize >> =C2=A0 \else\ifx\localwidth\v!local >> =C2=A0 =C2=A0 \boxhaswidthtrue >> =C2=A0 =C2=A0 \setlocalhsize >> =C2=A0 =C2=A0 \!!framedwidth\localhsize >> >> use \framed[width=3Dlocal] and don't forget \setlocalhsize after \starti= temize. > yes, right. I remembered of something similar > That's what I mean with not sure that \hsize and \startitemize must > play well together > > > \showframe > \starttext > \framed[width=3D\hsize,align=3Dmiddle]{width=3Dhsize\the\hsize} > \startitemize > \setlocalhsize > \item \framed[width=3D\hsize,align=3Dmiddle] {width=3Dhsize,hsize=3D\= the\hsize} > \item \framed[width=3Dbroad,align=3Dmiddle] {width=3Dbroad,hsize=3D\t= he\hsize} > \item \framed[width=3Dlocal,align=3Dmiddle] {width=3Dlocal,hsize=3D\t= he\hsize} > \item \framed[width=3D\localhsize,align=3Dmiddle]{width=3Dlocalsize,hsize= =3D\the\hsize,localsize=3D\the\localhsize} > \stopitemize > \stoptext > > Aditya, what do you think ? I did not know about width=3Dlocal (and therefore wanted width=3Dbroad to= =20 behave like it). Given that, I think that broad behaves just fine. These=20 differnt options need to be documented better. Aditya --8323328-846778016-1258471941=:14253 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --8323328-846778016-1258471941=:14253--