From: Marius <mariausol@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: table of contents
Date: Thu, 29 Apr 2010 16:17:59 +0300 [thread overview]
Message-ID: <j2oc86049a21004290617p8c1c99b3v5419aaf01e7e5ff1@mail.gmail.com> (raw)
In-Reply-To: <4BD95D3B.1000600@googlemail.com>
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.wolfgang@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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-04-29 13:17 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-29 10:12 Marius
2010-04-29 10:19 ` Wolfgang Schuster
2010-04-29 13:17 ` Marius [this message]
2010-04-29 20:17 ` Marius
2010-04-30 6:55 ` Wolfgang Schuster
2010-04-30 8:41 ` Marius
2010-04-30 11:13 ` Wolfgang Schuster
[not found] <mailman.198.1457685375.2302.ntg-context@ntg.nl>
2016-03-11 9:32 ` Table of Contents Aidan Nichol
-- strict thread matches above, loose matches on Subject: below --
2016-03-10 20:45 Aidan Nichol
2016-03-10 22:48 ` Pablo Rodriguez
2016-03-12 7:29 ` Wolfgang Schuster
2015-09-28 12:27 table of contents Meer, Hans van der
2015-09-28 13:31 ` Wolfgang Schuster
2012-07-09 9:43 Meer, H. van der
2012-07-09 9:54 ` Wolfgang Schuster
2012-07-09 10:10 ` Wolfgang Schuster
2012-07-09 11:26 ` Aditya Mahajan
2012-04-04 12:20 Table " John Devereux
2012-04-05 7:14 ` John Devereux
2012-04-05 10:13 ` Willi Egger
2012-04-05 10:51 ` John Devereux
2011-05-23 17:18 Oliver Buerschaper
2011-05-23 17:27 ` Wolfgang Schuster
2010-03-21 9:18 Alain Delmotte
2010-03-21 9:36 ` Mari Voipio
2010-03-21 9:37 ` Wolfgang Schuster
2010-03-21 10:39 ` Alain Delmotte
2003-06-18 17:44 Table of Contents John Culleton
2003-06-18 18:16 ` wmcclain
2003-06-18 18:25 ` Idris S Hamid
2003-06-18 19:38 ` John Culleton
2003-06-18 20:13 ` Idris S Hamid
2003-06-19 0:30 ` John Culleton
2003-06-19 17:08 ` John Culleton
2003-06-20 19:02 ` Idris S Hamid
[not found] ` <3EF349DF.88E61AE4@lamar.colostate.edu>
2003-06-21 15:03 ` John Culleton
2003-06-26 8:07 ` Hans Hagen
2003-06-26 16:33 ` John Culleton
2002-08-16 18:20 Peter Denisevich
2002-08-18 12:11 ` Hans Hagen
2002-08-15 14:29 table of contents Kris Hermans
2002-08-15 16:11 ` Hans Hagen
2000-09-09 13:25 Table " Zeljko Vrba
2000-09-09 13:58 ` Berend de Boer
2000-09-10 7:36 ` Zeljko Vrba
2000-09-10 9:09 ` Mr. Wang Lei
2000-09-11 8:30 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=j2oc86049a21004290617p8c1c99b3v5419aaf01e7e5ff1@mail.gmail.com \
--to=mariausol@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).