From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84969 Path: news.gmane.org!not-for-mail From: John Kitzmiller Newsgroups: gmane.comp.tex.context Subject: nested itemize in margin Date: Wed, 23 Oct 2013 18:15:58 -0400 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1382566567 14258 80.91.229.3 (23 Oct 2013 22:16:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2013 22:16:07 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 24 00:16:12 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VZ6ip-0007m1-QU for gctc-ntg-context-518@m.gmane.org; Thu, 24 Oct 2013 00:16:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7A65910215; Thu, 24 Oct 2013 00:16:10 +0200 (CEST) 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 rm0OBkgBIBqU; Thu, 24 Oct 2013 00:16:08 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 3E29F10221; Thu, 24 Oct 2013 00:16:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BA1CD10221 for ; Thu, 24 Oct 2013 00:16:06 +0200 (CEST) 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 n957Adp1cM9p for ; Thu, 24 Oct 2013 00:16:04 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 9DFD710215 for ; Thu, 24 Oct 2013 00:16:04 +0200 (CEST) Original-Received: from bosmailout15.eigbox.net (bosmailout15.eigbox.net [66.96.185.15]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r9NMG2Hp001868 for ; Thu, 24 Oct 2013 00:16:03 +0200 Original-Received: from bosmailscan19.eigbox.net ([10.20.15.19]) by bosmailout15.eigbox.net with esmtp (Exim) id 1VZ6if-0006an-Aa for ntg-context@ntg.nl; Wed, 23 Oct 2013 18:16:01 -0400 Original-Received: from bosmailscan25.eigbox.net ([10.20.15.25]) by bosmailscan19.eigbox.net with esmtp (Exim) id 1VZ6ie-00066x-SX for ntg-context@ntg.nl; Wed, 23 Oct 2013 18:16:00 -0400 Original-Received: from bosimpout04.eigbox.net ([10.20.55.4]) by bosmailscan25.eigbox.net with esmtp (Exim) id 1VZ6id-0001Q0-Sf for ntg-context@ntg.nl; Wed, 23 Oct 2013 18:15:59 -0400 Original-Received: from bosauthsmtp13.eigbox.net ([10.20.18.13]) by bosimpout04.eigbox.net with NO UCE id gmG01m00L0GvDVm01mG0mS; Wed, 23 Oct 2013 18:16:00 -0400 X-Authority-Analysis: v=2.0 cv=Bb1aI8R2 c=1 sm=1 a=LYHOkWP7CQS3se81pmgmsw==:17 a=esbi5I81GEsA:10 a=IAVadmt-b2IA:10 a=kj9zAlcOel0A:10 a=y85PGfU6AAAA:8 a=lS0MHldHvS4A:10 a=ekpxg5sT6SEA:10 a=krgizde4Iv61BOH4_qgA:9 a=CjuIK1q_8ugA:10 a=UH8/iCWBfdUmbm4Ft4Vi3Q==:117 X-EN-OrigOutIP: 10.20.18.13 X-EN-IMPSID: gmG01m00L0GvDVm01mG0mS Original-Received: from c-66-31-143-215.hsd1.nh.comcast.net ([66.31.143.215]:53715 helo=[10.0.0.3]) by bosauthsmtp13.eigbox.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim) id 1VZ6ie-0005kE-8T for ntg-context@ntg.nl; Wed, 23 Oct 2013 18:16:00 -0400 X-Mailer: Apple Mail (2.1510) X-EN-UserInfo: 08df34410b47fe835bedcf202d0c2be6:931c98230c6409dcc37fa7e93b490c27 X-EN-AuthUser: kitz@inradius.net X-EN-OrigIP: 66.31.143.215 X-EN-OrigHost: c-66-31-143-215.hsd1.nh.comcast.net X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=66.96.185.15; country=US; region=MA; city=Burlington; postalcode=01803; latitude=42.5051; longitude=-71.2047; metrocode=506; areacode=781; http://maps.google.com/maps?q=42.5051,-71.2047&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WKEKg2uM - 301b5e75b8d8 - 20131024 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:84969 Archived-At: To enumerate answer blanks in the right margin to match the question, thanks to Marco: \define\ansblank{\inright{\getnumber[itemgroup:itemize]. \thinrules[n=1]}} \setupitemgroup [itemize] [n,style=bold,right=\ansblank] I am trying to augment this to handle nested itemizations so that the \getnumber in the right margin is from the parent itemize but the "\getletter" is from the child: \starttext \startitemize[n] \item First \item Second \startitemize[a] \item Related problem % Would like this to show 2 a. before the marginrule \item Related question % Would like this to show 2 b. before the marginrule \stopitemize \item Third \stopitemize \stoptext Desired output: 1. First 1. _________ 2. Second a. Related problem 2a. ________ b. Related question 2b. ________ 3. Third 3. _________ My attempts have been to define a new "blank" and use [conversion=Character] along with stabs from cont-eni.pdf, but I am flailing and failing. Thanks for any help, John ___________________________________________________________________________________ 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 ___________________________________________________________________________________