From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58452 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: table of contents Date: Thu, 29 Apr 2010 12:19:39 +0200 Message-ID: <4BD95D3B.1000600@googlemail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1272536400 23617 80.91.229.12 (29 Apr 2010 10:20:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 29 Apr 2010 10:20:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 29 12:19:58 2010 connect(): No such file or directory Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O7Qqc-0003z4-NA for gctc-ntg-context-518@m.gmane.org; Thu, 29 Apr 2010 12:19:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 844D2C9B99; Thu, 29 Apr 2010 12:19:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zUPwfkmnnWCM; Thu, 29 Apr 2010 12:19:47 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DDAC4C9B21; Thu, 29 Apr 2010 12:19:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 90267C9B21 for ; Thu, 29 Apr 2010 12:19:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id JtzaSOXFgglu for ; Thu, 29 Apr 2010 12:19:43 +0200 (CEST) Original-Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by balder.ntg.nl (Postfix) with ESMTP id 181C6C9AF5 for ; Thu, 29 Apr 2010 12:19:42 +0200 (CEST) Original-Received: by bwz28 with SMTP id 28so14697064bwz.34 for ; Thu, 29 Apr 2010 03:19:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=aUAzqUpJaYtrx6PZUfrAIVuSXWSJjkxBInhOh3NtuYo=; b=QJ3ne/8r35IMMoW5rZQd9VXPs1bDhpNciO0eDqbhFLvZTYOhKUnjHLVu6WkRPh3f5x cgggVpPg38HsK1iA0kQGxiAKGmXK+SbwVxJ19zAKjLjUdlcos9+p6+bDAljtr0fR5988 WtNyjCycGV48NBFVKoXjn1zjMmvq6YGDm3pvA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=ef++652EBEta4ASfUGBh1JJSRYUldU0Sg47TbFFuZbrWY4Doc/Imq26fpjqcwJJ+Rp 3XKyOrguBiTyzQxM87EMwb0UilWlMj9UXE+hokGICH36R4wBG2DBHtWfKWeZywR48IbW U64J6qGCAodTrv/7LBQ6/1UOe6cATmuP+j9jk= Original-Received: by 10.204.162.143 with SMTP id v15mr5761572bkx.147.1272536382529; Thu, 29 Apr 2010 03:19:42 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B2943F0.dip.t-dialin.net [91.41.67.240]) by mx.google.com with ESMTPS id 14sm269196bwz.6.2010.04.29.03.19.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 29 Apr 2010 03:19:41 -0700 (PDT) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:58452 Archived-At: 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 ___________________________________________________________________________________