ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* "Inline" enumerations
@ 2010-10-09  9:52 Marcin Borkowski
  2010-10-09 14:51 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Marcin Borkowski @ 2010-10-09  9:52 UTC (permalink / raw)
  To: Mailing list for ConTeXt users

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)
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: "Inline" enumerations
  2010-10-09  9:52 "Inline" enumerations Marcin Borkowski
@ 2010-10-09 14:51 ` Wolfgang Schuster
  2010-10-09 22:29   ` Marcin Borkowski
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2010-10-09 14:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 09.10.2010 um 11:52 schrieb Marcin Borkowski:

> 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.

\starttext

text
\startitemize[n,text][textdistance=medium,stopper=]%
\item one
\item two
\item three
\stopitemize
text

\stoptext

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: "Inline" enumerations
  2010-10-09 14:51 ` Wolfgang Schuster
@ 2010-10-09 22:29   ` Marcin Borkowski
  2010-10-10  1:07     ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Marcin Borkowski @ 2010-10-09 22:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dnia Sat, Oct 09, 2010 at 04:51:17PM +0200, Wolfgang Schuster napisa&#322;(a):
> 
> Am 09.10.2010 um 11:52 schrieb Marcin Borkowski:
> 
> > 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.
> 
> \starttext
> 
> text
> \startitemize[n,text][textdistance=medium,stopper=]%
> \item one
> \item two
> \item three
> \stopitemize
> text
> 
> \stoptext
> 
> Wolfgang

Thanks!

And what if (theoretically) I wanted [a] text [b] text [c] etc.?  And
can I have "textdistance "shorter?

Regards

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

We don't stop playing because we grow old;
we grow old because we stop playing.
				G. B. Shaw
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: "Inline" enumerations
  2010-10-09 22:29   ` Marcin Borkowski
@ 2010-10-10  1:07     ` Aditya Mahajan
  0 siblings, 0 replies; 4+ messages in thread
From: Aditya Mahajan @ 2010-10-10  1:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, 10 Oct 2010, Marcin Borkowski wrote:

> Dnia Sat, Oct 09, 2010 at 04:51:17PM +0200, Wolfgang Schuster napisa&#322;(a):
>>
>> Am 09.10.2010 um 11:52 schrieb Marcin Borkowski:
>>
>>> 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.
>>
>> \starttext
>>
>> text
>> \startitemize[n,text][textdistance=medium,stopper=]%
>> \item one
>> \item two
>> \item three
>> \stopitemize
>> text
>>
>> \stoptext
>>
>> Wolfgang
>
> Thanks!
>
> And what if (theoretically) I wanted [a] text [b] text [c] etc.?

lefttext={[}, righttext={]},

>  And can I have "textdistance "shorter?

textdistance=small (or just use any dimension)

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-10  1:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-09  9:52 "Inline" enumerations Marcin Borkowski
2010-10-09 14:51 ` Wolfgang Schuster
2010-10-09 22:29   ` Marcin Borkowski
2010-10-10  1:07     ` Aditya Mahajan

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).