ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Itemize withing description
Date: Sun, 8 Nov 2009 19:08:51 -0500 (EST)	[thread overview]
Message-ID: <alpine.LNX.2.00.0911081907220.30577@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <4AF73550.5030504@gmail.com>

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
___________________________________________________________________________________


      reply	other threads:[~2009-11-09  0:08 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.329.1257669716.22155.ntg-context@ntg.nl>
2009-11-08 21:00 ` Math setup with Times (Termes) Vyatcheslav Yatskovsky
2009-11-08 21:18   ` Wolfgang Schuster
2009-11-09  0:14   ` Aditya Mahajan
2009-11-10 18:10   ` Mojca Miklavec
2009-11-10 20:12     ` Mojca Miklavec
2009-11-11  8:38       ` Hans Hagen
2009-11-11 15:01         ` Mojca Miklavec
2009-11-11 15:06           ` luigi scarso
2009-11-11 20:50             ` Martin Schröder
2009-11-11 15:21           ` Aditya Mahajan
2009-11-11 15:36             ` Mojca Miklavec
2009-11-11 15:54               ` Hans Hagen
2009-11-11 16:02                 ` Mojca Miklavec
2009-11-11 16:06                   ` Wolfgang Schuster
2009-11-11 16:37                     ` Mojca Miklavec
2009-11-11 16:57                       ` Wolfgang Schuster
2009-11-12 11:25                         ` Mojca Miklavec
2009-11-12 11:41                           ` Hans Hagen
2009-11-12 12:42                             ` Mojca Miklavec
2009-11-12 12:44                               ` Mojca Miklavec
2009-11-12 13:45                                 ` Mojca Miklavec
2009-11-12 14:56                                   ` Wolfgang Schuster
     [not found]                                     ` <6faad9f00911120702w1f3eadb1if91bbd65a594a6c1@mail.gmail.com>
     [not found]                                       ` <4AFC25CB.90906@gmail.com>
2009-11-12 15:19                                         ` Mojca Miklavec
2009-11-12  9:42                       ` Hans Hagen
2009-11-12 11:25                         ` Mojca Miklavec
2009-11-12 11:38                           ` Hans Hagen
2009-11-11 16:13               ` Hans Hagen
2009-11-11 16:39                 ` Bernhard Rosensteiner
2009-11-11 17:26                 ` definereferenceformat problem Bernhard Rosensteiner
2009-11-25  1:50                   ` Chen Shen
2009-11-28 14:51                     ` Chen Shen
2009-11-28 16:36                   ` Peter Münster
2009-11-28 17:04                     ` Chen Shen
2009-11-11 15:37           ` Math setup with Times (Termes) Hans Hagen
2009-11-11 15:58             ` Mojca Miklavec
2009-11-08 21:17 ` Itemize withing description Vyatcheslav Yatskovsky
2009-11-09  0:08   ` Aditya Mahajan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.00.0911081907220.30577@ybpnyubfg.ybpnyqbznva \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).