Thank you, Wolfgang for the example. I can't believe this is so simple in ConTeXt. I added this example to wiki. http://wiki.contextgarden.net/Table_of_Contents
On Thu, Apr 29, 2010 at 1:19 PM, Wolfgang Schuster <schuster.wolfg...@googlemail.com> wrote: > Am 29.04.10 12:12, schrieb Marius: >> >> Hello, >> >> There must be two tables of contents in my document, one in a native >> language and the other in english. In LaTeX I made new commands >> \enchapter, \ensection, etc., which I use just after the \chapter or >> \section command. >> >> How do I make such commands in ConTeXt, so that these commands just >> insert a line into the english table of contents, but do not insert >> chapter or section in the current page? >> > > \mainlanguage[de] > > \starttext > > \completecontent > > %\start\language[en] > \start\mainlanguage[en] > \completecontent > \stop > > \chapter{\translate[en=Chapter One,de=Kapitel Eins]} > > \chapter{\translate[en=Chapter Two,de=Kapitel Zwei]} > > \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 ___________________________________________________________________________________