On Tue, 3 Nov 2009, Vyatcheslav Yatskovsky wrote:

I want to be only
Exercise<SectionNumber>.<ExerciseNumber>, like 1.1, 1.2, etc.

You may try prefixset=section.

Thank you, Longmin, for your suggestion, it works! But other problems persist.

Hans (or someone else who can fix it), please, look into my minimal example:

\defineenumeration[exercise][title=yes, text=Exercise, prefix=yes, prefixset=section, width=fit] %way=bysection,

\exercise{Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla}


1) the text is framed in odd manner and goes out of the page

I don't know what you mean by this.

2) the caption text is put into unexpected round brackets

That is the expected behaviour. If you do not want the brackets, you can add

titleleft=, titleright=

3) the word "Exercise" is repeated twice, second time inside brackets before caption text.

This is already fixed in the latest beta.

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

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

Reply via email to