ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Arnold <dwarnold45@cox.net>
Subject: \reset deprecated?
Date: Tue, 20 Dec 2005 18:35:06 -0800	[thread overview]
Message-ID: <EA8686D1-3EFB-47DC-ABD3-787F169C3543@cox.net> (raw)

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

             reply	other threads:[~2005-12-21  2:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-21  2:35 David Arnold [this message]
2005-12-21  7:44 ` Taco Hoekwater
2005-12-21 13:37 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=EA8686D1-3EFB-47DC-ABD3-787F169C3543@cox.net \
    --to=dwarnold45@cox.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).