From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54416 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: framed items Date: Mon, 16 Nov 2009 16:58:47 -0500 (EST) Message-ID: References: <907CE842-A07B-4FDE-AF63-111AD9BA31D5@uni-bonn.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1258408850 14833 80.91.229.12 (16 Nov 2009 22:00:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Nov 2009 22:00:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 16 23:00:43 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 1NA9bG-0000q8-Cx for gctc-ntg-context-518@m.gmane.org; Mon, 16 Nov 2009 22:59:06 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 11B32C9AE6; Mon, 16 Nov 2009 22:56:47 +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 0iFb78jRutxb; Mon, 16 Nov 2009 22:56:44 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 814F7C9A8A; Mon, 16 Nov 2009 22:56:44 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 11AB7C9A8A for ; Mon, 16 Nov 2009 22:56:42 +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 PEEqZLysRFYJ for ; Mon, 16 Nov 2009 22:56:30 +0100 (CET) Original-Received: from skycaptain.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.160]) by balder.ntg.nl (Postfix) with ESMTP id 349DCC9A7C for ; Mon, 16 Nov 2009 22:56:29 +0100 (CET) Original-Received: FROM dhcp128036205185.central.yale.edu (dhcp128036205185.central.yale.edu [128.36.205.185]) By skycaptain.mr.itd.umich.edu ID 4B01CB17.A859.23991 ; Authuser adityam; 16 Nov 2009 16:58:47 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:54416 Archived-At: On Mon, 16 Nov 2009, luigi scarso wrote: > On Mon, Nov 16, 2009 at 10:29 PM, Aditya Mahajan wrote: > >> I think that itemize should adjust \hsize, so this is probably a bug in >> itemize. > hmm I'm not sure to understand what you mean > What is wrong in this ? > > \starttext > \dorecurse{20}{% > \hsize=\dimexpr \textwidth / 20 *\recurselevel\relax > \framed[width=broad,align=middle]{\the\hsize}%% A > \startitemize > \item \framed[width=broad,align=middle]{\the\hsize}%% B > \item \framed[width=\hsize,align=middle]{\the\hsize}%% C > \stopitemize > \page > } > \stoptext > > I see A = B = C; is it correct ? That is wrong behaviour.We should have B = C = A - itemgrouplistwidth. Otherwise, the frames inside the itemize environment exceed the total width. Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________