From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54424 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: framed items Date: Tue, 17 Nov 2009 00:01:23 +0100 Message-ID: References: <69254142-2F1E-49D1-958A-F42444C8BFA6@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1258412530 27866 80.91.229.12 (16 Nov 2009 23:02:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Nov 2009 23:02:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 17 00:01:57 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 1NAAa2-0007GS-U2 for gctc-ntg-context-518@m.gmane.org; Tue, 17 Nov 2009 00:01:55 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 604BFC9B03; Mon, 16 Nov 2009 23:59:35 +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 c1zZH+iESYGi; Mon, 16 Nov 2009 23:59:23 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 20BFEC9ADD; Mon, 16 Nov 2009 23:59:23 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ECD57C9ADD for ; Mon, 16 Nov 2009 23:59:19 +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 hRaBi-XqlMLh for ; Mon, 16 Nov 2009 23:59:07 +0100 (CET) Original-Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by balder.ntg.nl (Postfix) with ESMTP id D8482C9ABB for ; Mon, 16 Nov 2009 23:59:06 +0100 (CET) Original-Received: by fxm10 with SMTP id 10so2156430fxm.34 for ; Mon, 16 Nov 2009 15:01:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=yhYYs4ifHB/+pEsxcwMkH0VqdIKsEj3eVNBs4iJ8QvU=; b=kjsJSVD6dhZEYbIy/XwaxXZM/K6jh6MXyivqS/8X6pTNQYrH1OivXNsqRQ9GdAzbnW +TjsrswpSAmGKNS9zznwcKPBhmDHEi+JQ61j+PbR5AELtynXGK82WMeTYr3JOJmv8XC0 SraeYSm61bp4/vDmk5v5wX+4HH36cpga+mVVU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=W3P+lg2LkO+C3nQhjufzRlzBuWF6WTOQ+/dycTE9jpl5061KkQRAcp0GWogV0V+hJT 8r/E8OwDHp1AxJs+5Be/FzDk0tQC30wwfbuWWJnVmodloiNGGCy8eAxGOWQkvexpxiWo ijaVkOBF4jiSn27N3IWNJgT6YWMgifM9F0keM= Original-Received: by 10.102.248.11 with SMTP id v11mr3973186muh.91.1258412485191; Mon, 16 Nov 2009 15:01:25 -0800 (PST) Original-Received: from ?192.168.2.23? (p5B29498B.dip.t-dialin.net [91.41.73.139]) by mx.google.com with ESMTPS id j6sm1356642mue.20.2009.11.16.15.01.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 16 Nov 2009 15:01:24 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1077) 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:54424 Archived-At: Am 16.11.2009 um 23:49 schrieb luigi scarso: > \showframe > \starttext > \dorecurse{1}{% > \hsize=\dimexpr \textwidth / 1 *\recurselevel\relax > \framed[width=broad,align=middle]{\the\hsize} > \bgroup > \startitemize > \advance\hsize -\itemgrouplistwidth\relax% > \item \framed[width=broad,align=middle]{\the\hsize,\the\localhsize,\the\itemgrouplistwidth} > % \item \framed[width=\dimexpr\hsize-\itemgrouplistwidth\relax,align=middle]{\the\hsize} > \item \framed[width=\hsize,align=middle]{\the\hsize} > \item \the\hsize \input tufte \the\hsize % > \stopitemize > \egroup > \page > } > \stoptext > > that's all x me now. as you can see in the third item the width of the text (\input tufte) is too narrow because of the reduced \hsize but this works \showframe \starttext \framed[width=\hsize,align=middle]{\the\hsize} \startitemize \setlocalhsize \item \framed[width=\hsize,align=middle] {\the\hsize} \item \framed[width=\localhsize,align=middle]{\the\localhsize} \stopitemize \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________