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 coredes 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? Best regards, Morgan
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 coredes 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. I will definitely document all the features of enumerations soon. Aditya
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 coredes 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? \defineenumeration[theorem][endmarker=X] \starttext \starttheorem Hello \stoptheorem \stoptext
I will definitely document all the features of enumerations soon.
That would be really great! I'd be among your first readers!
Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntgcontext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntgcontext webpage : http://www.pragmaade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
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 coredes 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
Selon Aditya Mahajan
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 coredes 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.
Thank you, Aditya. I hadn't noticed that... Best regards, Morgan
Aditya
\defineenumeration[theorem][endmarker=X] \starttext \starttheorem Hello \stoptheorem \stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntgcontext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntgcontext webpage : http://www.pragmaade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
In one of my documents I used \defineenumeration [THM] [location=serried, text=Theorem, right=.] \setupenumerations [THM] [headstyle=bold, width=, distance=1em, style=slanted] Ernesto 
Date: Wed, 30 Jan 2008 14:07:40 0500 From: adityam@umich.edu To: ntgcontext@ntg.nl Subject: Re: [NTGcontext] The point about theorems
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 coredes 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.
I will definitely document all the features of enumerations soon.
Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntgcontext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntgcontext webpage : http://www.pragmaade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (3)

Aditya Mahajan

Ernesto Schirmacher

morgan.brassel＠free.fr