[NTG-context] "Inline" enumerations

Marcin Borkowski mbork at atos.wmid.amu.edu.pl
Sat Oct 9 11:52:50 CEST 2010


Hi,

is there an easy way to adapt ConTeXt's enumerations not to start
another paragraph?  Something like (a) this (b) is (c) a short
enumeration.

In fact, I'd like to be able to something even more tricky: I would like
to be able to prepare a "teacher's version" and a "student's version" of
a problem set.  Something like this:

Teacher's version:

1. <Problem>.
Hint: <hint - if present>.
Solution: <solution - if present>.
Answer: <answer - if present>.

2. <Another problem>.
Hint: <hint - if present>.
Solution: <solution - if present>.
Answer: <answer - if present>.

...

Student's version:

1. Problem.
(Hint: <hint - if present>)

2. Problem.

...

Asnwers
=======

1. Answer. 2. Answer. ...

Can blocks and enumerations do this?

Regards

-- 
Marcin Borkowski (http://mbork.pl)


More information about the ntg-context mailing list