Quoting morgan.brassel@free.fr:
Selon Aditya Mahajan
: On Wed, 30 Jan 2008, morgan.brassel@free.fr wrote:
Hi,
I need to typeset theorems with ConTeXt, and I would like to get your advice before I begin. I read an interesting post about it on the dev list:
Enhancements to core-des for theorems http://archive.contextgarden.net/message/20070601.055815.50e07e4d.en.html
But I was unable to understand the very conclusion of it... Are there some particular commands concerning theorems? or is \setupenumerations the only solution?
Enumerations have been enhanced to take care of theorems. See if the examples on the mailing list can get you started. Otherwise, just ask here.
Thank you. Actually, I already have a question about the endmarker option. The following example doesn't produce any endmark. Am I missing anything?
Yes, the sanitizing of options done by Hans. Use closesymbol=X. Aditya
\defineenumeration[theorem][endmarker=X] \starttext \starttheorem Hello \stoptheorem \stoptext