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
___________________________________________________________________________________