From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54166 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Itemize withing description Date: Sun, 8 Nov 2009 19:08:51 -0500 (EST) Message-ID: References: <4AF73550.5030504@gmail.com> 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 1257725422 8433 80.91.229.12 (9 Nov 2009 00:10:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Nov 2009 00:10:22 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 09 01:10:15 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 1N7Hpl-00065o-PQ for gctc-ntg-context-518@m.gmane.org; Mon, 09 Nov 2009 01:10:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 71EDCC9BAE; Mon, 9 Nov 2009 01:08:16 +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 W1S0Xlg9veFp; Mon, 9 Nov 2009 01:07:56 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 25857C9B92; Mon, 9 Nov 2009 01:07:43 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3ADDFC9BA5 for ; Mon, 9 Nov 2009 01:07:25 +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 i5Hso79eiKXc for ; Mon, 9 Nov 2009 01:07:04 +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 5B556C9B92 for ; Mon, 9 Nov 2009 01:07:02 +0100 (CET) Original-Received: FROM [192.168.2.8] (c-76-28-91-31.hsd1.ct.comcast.net [76.28.91.31]) By skycaptain.mr.itd.umich.edu ID 4AF75D94.B0BB0.5978 ; Authuser adityam; 8 Nov 2009 19:08:52 EST In-Reply-To: <4AF73550.5030504@gmail.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) 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:54166 Archived-At: On Sun, 8 Nov 2009, Vyatcheslav Yatskovsky wrote: > Hello, > > Another tricky question. I have "Review Questions" at the end of each > section. There are only questions inside, and they are enumerated. > > I felt natural to implement it as description. Going further, I added > \startitemize and \stopitemize inside the description definition. Then my > code looks neatly, but one annoying problem persist. Whatever I do, I cannot > get blank space between description caption (text) and the items. I manage to > have it before the block, after it, but not inbetween. > > Here is my minimal example that shows clearly that big skip disappears (there > is a problem with indenting too, but that's another problem): > > > \setupitemize[each][1,packed,nowhite,text] > > \definedescription[reviewquestions][location=serried, text={Review Change location=serried to location=top. Serried ignores the inbetween option as it does not make sense with serried. Aditya > questions}, before={\blank[small]\startitemize}, inbetween={\blank[big]}, > after={\stopitemize\blank[small]}] > > \starttext > > The section ends here. > > \startreviewquestions > > \item Question 1 > > \item Question 2 > > \item Question 3 > > \stopreviewquestions > > The next section starts here. > \stoptext > > > > Best regards, > Vyatcheslav > ___________________________________________________________________________________ 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 ___________________________________________________________________________________