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
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