29 Apr
2010
29 Apr
'10
10:19 a.m.
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