ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Arnold <dwarnold45@cox.net>
Subject: \resetquestion
Date: Sun, 19 Mar 2006 22:36:26 -0800	[thread overview]
Message-ID: <A9D34EBD-9F97-4644-94E1-F838CD47E5DB@cox.net> (raw)

All,

How come \resetquestion in this source does not work as advertised in  
the manual?

I also tried \setquestion{0} to no avail.

%output=pdf

\starttext

\setupindenting[medium,yes]

\setupwhitespace[medium]

\setupcolors[state=start]

\defineenumeration[question]
\setupenumerations
   [question]
   [location=inleft,
    text={\color[blue]\bgroup},
    stopper={.\egroup}]

\chapter{First Chapter}

\dorecurse{2}{\input tufte\par}

\section{First Section}

\dorecurse{5}{\input tufte\par}

\section{Exercises}

\startcolumns[n=2]

\startquestion
   What is the square root of $\pi$?
\stopquestion

\startquestion
   What is the square root of $\pi$?
\stopquestion

\startquestion
   What is the square root of $\pi$?
\stopquestion

\startquestion
   What is the square root of $\pi$?
\stopquestion


\stopcolumns

\section{Answers}

\startcolumns[n=2]
\dorecurse{5}{\input tufte\par}
\stopcolumns

\section{Second Section}

\dorecurse{5}{\input tufte\par}

\section{Exercises}

\startcolumns[n=2]

\resetquestion

\startquestion
   What is the square root of $\pi$?
\stopquestion

\startquestion
   What is the square root of $\pi$?
\stopquestion

\startquestion
   What is the square root of $\pi$?
\stopquestion

\startquestion
   What is the square root of $\pi$?
\stopquestion


\stopcolumns

\section{Answers}

\startcolumns[n=2]
\dorecurse{5}{\input tufte\par}
\stopcolumns

\section{Third Section}

\dorecurse{5}{\input tufte\par}

\section{Exercises}

\startcolumns[n=2]

\startquestion
   What is the square root of $\pi$?
\stopquestion

\startquestion
   What is the square root of $\pi$?
\stopquestion

\startquestion
   What is the square root of $\pi$?
\stopquestion

\startquestion
   What is the square root of $\pi$?
\stopquestion


\stopcolumns

\section{Answers}

\startcolumns[n=2]
\dorecurse{5}{\input tufte\par}
\stopcolumns

\stoptext

             reply	other threads:[~2006-03-20  6:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-20  6:36 David Arnold [this message]
2006-03-20  9:59 ` \resetquestion Taco Hoekwater

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=A9D34EBD-9F97-4644-94E1-F838CD47E5DB@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).