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
\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
___________________________________________________________________________________
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
___________________________________________________________________________________