On Fri, 16 Mar 2007 17:05:03 +0100
"Bernhard Michael" <[EMAIL PROTECTED]> wrote:

> Well, the result looks promising. The page breaking doesn't work however. 
> 
> An other idea: Is it possible to modify the line-spacing, that the 'Priority'
> block is printed on the same line as the 'Requirement' block. This would 
> preserve 
> the page breaking because there is no \start \stop something.
> 
> The command \resetRequirement has to work, otherwise the whole effort is 
> useless.
> 
> Wolfgang, thank you again for your quick answer.
> 
> Michael

Hi Michael,

I found a very ugly solution to reset the \Requirement counter.

\defineenumeration[Requirement]
\defineblock[Requirement]

\starttext

\beginRequirement
\Requirement A requirement \par
\endRequirement

\bgroup
\setbox0\hbox
  {\Requirement text \par
   \resetRequirement}
\egroup

\useblocks[Requirement]

\stoptext

I think the problem has something to do with global and local values of
the \Requirement number.

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

Reply via email to