Re: [NTG-context] \reset deprecated?

2005-12-21 Thread Hans Hagen

David Arnold wrote:


All,

I can't get \reset to work as in the manual. Is it deprecated?  
Replaced with something?


ah, has to do with low level optimizations (\currentdescriptor etc); 
i'll fix that reset


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


[NTG-context] \reset deprecated?

2005-12-20 Thread David Arnold

All,

I can't get \reset to work as in the manual. Is it deprecated?  
Replaced with something?



%output=pdf

\defineenumeration[question][location=serried,text=Question]
\defineenumeration[answer][location=serried,text=Answer]
\defineblock[question,answer]
\hideblocks[answer]

\starttext

\chapter{First Chapter}

\input tufte

\beginquestion
\startquestion
  What is the square root of 4?
\stopquestion
\endquestion

\beginanswer
\startanswer
  2
\stopanswer
\endanswer

\section{Answers}
\reset[answer]
\selectblocks[answer][criterium=chapter]

\chapter{Second Chapter}

\input tufte

\beginquestion
\startquestion
  What is the square root of 4?
\stopquestion
\endquestion

\beginanswer
\startanswer
  2
\stopanswer
\endanswer

\stoptext

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


Re: [NTG-context] \reset deprecated?

2005-12-20 Thread Taco Hoekwater

David Arnold wrote:

All,

I can't get \reset to work as in the manual. Is it deprecated?  Replaced 
with something?


Broken, I think ;-)

Meanhile, you can use \resetnumber[answer] directly, but I do not
believe you have to (not in this example at least).

Cheers,

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