All,

This doesn't seem to work as expected. Replacing the \useblocks with \selectblocks also produces an unexpected result. What am I doing wrong? I am trying to have only the answers from the chapter show up.

%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}

\useblocks[answer][criterium=chapter]

\chapter{Second Chapter}

\input tufte

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

\beginanswer
\startanswer
  3
\stopanswer
\endanswer

\section{Answers}

\useblocks[answer][criterium=chapter]

\stoptext

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

Reply via email to