From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74896 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Itemize Prefixes Date: Mon, 5 Mar 2012 22:44:40 -0500 (EST) Message-ID: References: <1330919525.17258.48.camel@kip-laptop> <1331000195.17258.59.camel@kip-laptop> <1331004797.17258.63.camel@kip-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1331005496 29487 80.91.229.3 (6 Mar 2012 03:44:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2012 03:44:56 +0000 (UTC) Cc: mailing list for ConTeXt users To: Kip Warner Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 06 04:44:54 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S4lKX-0000cB-Q2 for gctc-ntg-context-518@m.gmane.org; Tue, 06 Mar 2012 04:44:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F06DFCB29B; Tue, 6 Mar 2012 04:44:52 +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 aIKTzHlftrTA; Tue, 6 Mar 2012 04:44:50 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6994BCB2A2; Tue, 6 Mar 2012 04:44:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B53BACB2A2 for ; Tue, 6 Mar 2012 04:44:49 +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 o7Q7mTFGzunZ for ; Tue, 6 Mar 2012 04:44:47 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id BCD1FCB29B for ; Tue, 6 Mar 2012 04:44:47 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q263ijdR002074 for ; Tue, 6 Mar 2012 04:44:46 +0100 Original-Received: FROM adi-netbook (bas3-montreal02-1096681081.dsl.bell.ca [65.94.6.121]) By tombraider.mr.itd.umich.edu ID 4F55882A.3E944.19958 ; Authuser adityam; 5 Mar 2012 22:44:42 EST In-Reply-To: <1331004797.17258.63.camel@kip-laptop> User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.6504 (Score 1, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.12.86; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NGG3IKUK - 8e4aa30d1c49 - 20120306 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:74896 Archived-At: On Mon, 5 Mar 2012, Kip Warner wrote: > On Mon, 2012-03-05 at 22:10 -0500, Aditya Mahajan wrote: > > Thanks Aditya. A couple questions for you. > >> \defineitemgroup[article] >> >> \setupitemgroup >> [article] >> [ >> left={Article }, >> stopper=, >> symbol=R, >> before=\blank, >> after=\blank, >> distance=0.5em, >> ] >> >> \setupitemgroup >> [article] >> [broad,fit] > > Why is another \setupitemgroup being used here when broad,fit could have > been merged with its previous one that both affected the article > itemgroup? Thats how itemgroup are configured. You cannot mix assignments (key=value) with options. >> \starttext >> >> \startarticle >> \item First article >> \item Second article >> \stoparticle >> >> Again > > How do I add an extra line after the header? You can use \setupitemgroup [article] [command=\blank] (in this case you can remove the second configuration (the one with broad, fit) or explicitly set width=0). > I tried adding another > \blank to the after parameter of \setupitemgroup, but it didn't seem to > use it. > >> \startarticle >> \item First article >> \item Second article >> \stoparticle >> \stoptext >> >> Aditya > > Lastly, how do I change the text colour of the item header? I tried the > following to no avail, > > \setuphead > [article] > [color=colour_head] Why do you expect \setuphead to change the way itemgroups behave? Use \setupitemgroup [article] [color=...] 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 ___________________________________________________________________________________