Hello,
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, \starttext \exercise{Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla} Bla-bla-bla \stoptext 1) the text is framed in odd manner and goes out of the page 2) the caption text is put into unexpected round brackets 3) the word "Exercise" is repeated twice, second time inside brackets before caption text. Please, fix it because I use it. If it's impossible at the moment, please, suggest me another way of achieving this. Reagards, Vyatchelsav
On Tue, 3 Nov 2009, Vyatcheslav Yatskovsky wrote:
Hello,
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,
\starttext \exercise{Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla}
Bla-bla-bla \stoptext
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. Aditya
participants (2)
-
Aditya Mahajan
-
Vyatcheslav Yatskovsky