From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54164 Path: news.gmane.org!not-for-mail From: Vyatcheslav Yatskovsky Newsgroups: gmane.comp.tex.context Subject: Itemize withing description Date: Sun, 08 Nov 2009 23:17:04 +0200 Message-ID: <4AF73550.5030504@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030708030708080503010400" X-Trace: ger.gmane.org 1257715055 13860 80.91.229.12 (8 Nov 2009 21:17:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Nov 2009 21:17:35 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 08 22:17:29 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 1N7F8a-00026K-CE for gctc-ntg-context-518@m.gmane.org; Sun, 08 Nov 2009 22:17:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5223CC9B95; Sun, 8 Nov 2009 22:15:36 +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 k0Nyx42ZEJq6; Sun, 8 Nov 2009 22:15:31 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BAAFBC9B8F; Sun, 8 Nov 2009 22:15:30 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 440B1C9B8F for ; Sun, 8 Nov 2009 22:15:29 +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 TgYYz0P-YVPj for ; Sun, 8 Nov 2009 22:15:24 +0100 (CET) Original-Received: from mail-bw0-f220.google.com (mail-bw0-f220.google.com [209.85.218.220]) by balder.ntg.nl (Postfix) with ESMTP id 4F7D3C9BA5 for ; Sun, 8 Nov 2009 22:15:24 +0100 (CET) Original-Received: by bwz20 with SMTP id 20so2893465bwz.34 for ; Sun, 08 Nov 2009 13:17:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type; bh=T7Yoqgq+TVKv59YAPj27mevfG4wvFdz/vMZHFhs7yUg=; b=W17f+1L5CpbrbT+8uX7tw2+ela3GGFkCr/igVmQYbRveZR7cwuFzGDKHhZL/DXvrUi CxjU9Bsbs98kz4RLfJ0ZDb/g3TmBSuMn4wonBzJG2NJq69sdZliOwHWMrVRl2uuB9LEk 3wp+SD2nhG7miOolL50XPaVHMAt7C7f0GgZrY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; b=heGvmwkoZqHgb/UNeNmPO5ma70wx7BkPCyuyHMozOFOwvhG+nctJ4u0mQ7M0eTix0K 9Vtxi3aCLwbnI4TF8lzo7KrIhnycniW0K0WSElTOHnhKQSDr4tlk1oLpuaEH63LP1+aP vPf4vj8LAVtccCbGNhiL5PZ0eL8uv5QYaj/Oo= Original-Received: by 10.204.32.209 with SMTP id e17mr7667220bkd.84.1257715035497; Sun, 08 Nov 2009 13:17:15 -0800 (PST) Original-Received: from ?10.0.22.59? ([194.242.119.74]) by mx.google.com with ESMTPS id 13sm485919bwz.2.2009.11.08.13.17.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 08 Nov 2009 13:17:14 -0800 (PST) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4 In-Reply-To: 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:54164 Archived-At: This is a multi-part message in MIME format. --------------030708030708080503010400 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 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 --------------030708030708080503010400 Content-Type: text/x-tex; name="descripton-itemize-test.tex" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="descripton-itemize-test.tex" XHNldHVwaXRlbWl6ZVtlYWNoXVsxLHBhY2tlZCxub3doaXRlLHRleHRdDQoNClxkZWZpbmVk ZXNjcmlwdGlvbltyZXZpZXdxdWVzdGlvbnNdW2xvY2F0aW9uPXNlcnJpZWQsIHRleHQ9e1Jl dmlldyBxdWVzdGlvbnN9LCBiZWZvcmU9e1xibGFua1tzbWFsbF1cc3RhcnRpdGVtaXplfSwg aW5iZXR3ZWVuPXtcYmxhbmtbYmlnXX0sIGFmdGVyPXtcc3RvcGl0ZW1pemVcYmxhbmtbc21h bGxdfV0NCg0KXHN0YXJ0dGV4dA0KDQpUaGUgc2VjdGlvbiBlbmRzIGhlcmUuDQoNClxzdGFy dHJldmlld3F1ZXN0aW9ucw0KDQpcaXRlbSBRdWVzdGlvbiAxDQoNClxpdGVtIFF1ZXN0aW9u IDINCg0KXGl0ZW0gUXVlc3Rpb24gMw0KDQpcc3RvcHJldmlld3F1ZXN0aW9ucw0KDQpUaGUg bmV4dCBzZWN0aW9uIHN0YXJ0cyBoZXJlLg0KDQpcc3RvcHRleHQ= --------------030708030708080503010400 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --------------030708030708080503010400--