Re: [NTG-context] itemize in blocks

2007-04-06 Thread Wolfgang Werners-Lucchini
Hallo!

  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 

Ahhh! And then \par inside is working.

Wolfgang
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] itemize in blocks

2007-04-05 Thread Bernd Militzer
Wolfgang Werners-Lucchini schrieb:
 Hallo,

 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
 \par % This \par does not work!
   
use \par at the end of the question
 Mehr Zick
 \stopitemize
   
use: \par here
 \endquestion
 \stoptext
   
% test
\defineenumeration[question][location=top,text=Aufgabe]
\defineblock[question]

\starttext
\chapter{Aufgaben}
%\beginquestion
\question[1]
\startitemize[a]
\item Zick
\blank% ore \crlf % but not \par % This \par does not work!
Mehr Zick
\stopitemize
\par
\question[2]
just a test
\par
%\endquestion
\stoptext
%
that works on my notebook

Bernd
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] itemize in blocks

2007-04-05 Thread Wolfgang Werners-Lucchini
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?

ciao, Wolfgang
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] itemize in blocks

2007-04-05 Thread Hans Hagen
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
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] itemize in blocks

2007-04-04 Thread Wolfgang Schuster

2007/4/4, Wolfgang Werners-Lucchini [EMAIL PROTECTED]:


Hallo,

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
\par % This \par does not work!
Mehr Zick
\stopitemize
\endquestion
\stoptext
---

Wolfgang



Hi,

don't know why there is a problem but \endgraf instead of \par works for me.

Wolfgang
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context