[NTG-context] itemize in blocks
Hans Hagen
pragma at wxs.nl
Thu Apr 5 22:18:23 CEST 2007
Wolfgang Werners-Lucchini wrote:
> Hi Bernd!
>
>
>>> what I am doing wrong with the following snipped?
>>>
>>> The \par in the \item does not work.
>>> -------------------------------------------------------
>>> \defineenumeration[question][location=top,text=Aufgabe]
>>> \defineblock[question]
>>>
>>> \starttext
>>> \chapter{Aufgaben}
>>> \beginquestion
>>> \question
>>> \startitemize[a]
>>> \item Zick
>>>
>>>
>> use: \crlf or \blank and not \par
>>
>
> A better workaround would be \endgraf,
> but I think \par should work here, as it works in other
> situations outside the block-environment.
>
> I asked myself if this is a little bug or an error of mine.
>
>
>> use \par at the end of the question
>>
>
> Why?
>
\question pick up it sargument and uses \par as delimiter, otherwise we could not apply attributes to the question text
\question is the 'minimalistic approach,
\startquestion
\stopquestion
is the best way ans works ok here
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
More information about the ntg-context
mailing list