ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Patrick Gundlach <patrick@gundla.ch>
Subject: Re: Exercise sets
Date: Mon, 19 Dec 2005 23:10:26 +0100	[thread overview]
Message-ID: <m2ek48n3fx.fsf@levana.de> (raw)
In-Reply-To: <45FCDFE2-C0DF-4ADB-98FB-6CD2EF522994@cox.net> (David Arnold's message of "Mon, 19 Dec 2005 11:26:03 -0800")

Hello David,

I think this solution is from one of the ConTeXt pdfs. Or from the
mailinglist. Or....

--------------------------------------------------
\defineblock[question]
\defineblock[answer]

\defineenumeration[question][location=top,text=Frage]
\defineenumeration[answer][location=top,text=Antwort]

\hideblocks[answer]

\starttext
\beginquestion
\question Wieviel ist $4*5$?
\endquestion
\beginanswer
\answer $20$.
\endanswer

\beginquestion
\question Was macht $100 / 10$??
\endquestion
\beginanswer
\answer $10$
\endanswer


\subject{Abschnitt}
\useblocks[answer]


\stoptext
--------------------------------------------------
Patrick

-- 
ConTeXt wiki and more: http://contextgarden.net

  reply	other threads:[~2005-12-19 22:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-19 19:26 David Arnold
2005-12-19 22:10 ` Patrick Gundlach [this message]
2005-12-19 22:48 ` Willi Egger

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=m2ek48n3fx.fsf@levana.de \
    --to=patrick@gundla.ch \
    --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).