From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3555 invoked from network); 17 Apr 2023 23:06:39 -0000 Received: from zapf.ntg.nl (5.39.185.232) by inbox.vuxu.org with ESMTPUTF8; 17 Apr 2023 23:06:39 -0000 Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 99809E30; Tue, 18 Apr 2023 01:06:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U8qbrSsp056p; Tue, 18 Apr 2023 01:06:08 +0200 (CEST) Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D43ABD61; Tue, 18 Apr 2023 01:06:08 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C9BADD61 for ; Tue, 18 Apr 2023 01:06:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xp3OcXxakmjv for ; Tue, 18 Apr 2023 01:06:03 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=140.77.167.81; helo=lxc-smtp2.ens-lyon.fr; envelope-from=andre.kalouguine@ens-lyon.fr; receiver= Received: from lxc-smtp2.ens-lyon.fr (lxc-smtp2.ens-lyon.fr [140.77.167.81]) by zapf.ntg.nl (Postfix) with ESMTP id E356A5EB for ; Tue, 18 Apr 2023 01:06:02 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lxc-smtp2.ens-lyon.fr (Postfix) with ESMTP id 44486E1AB2 for ; Tue, 18 Apr 2023 01:06:02 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.11.0 (20160426) (Debian) at ens-lyon.fr Received: from lxc-smtp2.ens-lyon.fr ([127.0.0.1]) by localhost (lxc-smtp2.ens-lyon.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aESl_PeIitSn for ; Tue, 18 Apr 2023 01:06:02 +0200 (CEST) Received: from webmail.ens-lyon.fr (lxc-m2-webmail1.ens-lyon.fr [140.77.167.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by lxc-smtp2.ens-lyon.fr (Postfix) with ESMTPSA id 3A1B1E19DB for ; Tue, 18 Apr 2023 01:06:02 +0200 (CEST) MIME-Version: 1.0 Date: Tue, 18 Apr 2023 01:06:02 +0200 To: ntg-context@ntg.nl Message-ID: <02a37bf10791548f26806989b4e17c79@ens-lyon.fr> X-Sender: andre.kalouguine@ens-lyon.fr User-Agent: Roundcube Webmail/1.2.7 Subject: [NTG-context] Table of contents in the middle of a document X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.38 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Kalouguine Andre via ntg-context Reply-To: mailing list for ConTeXt users Cc: Kalouguine Andre Content-Type: multipart/mixed; boundary="===============4008735370246152515==" Errors-To: ntg-context-bounces@ntg.nl Sender: "ntg-context" --===============4008735370246152515== Content-Type: multipart/alternative; boundary="=_39f02473390f2d5013a6711360965ecf" --=_39f02473390f2d5013a6711360965ecf Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Hi, I was trying to have my "Acknowledgements" section/chapter before the table of contents but be contained within it. Is it normal that the table of contents is empty if there is a chapter that begins before it? ``` \starttext \chapter{Acknowledgements} Thank you \completecontent \chapter{Intro} \chapter{Problem} \chapter{Solution} \stoptext ``` I'm mostly looking for an explanation rather than a direct solution, I'd like to understand why it's empty. It works when using sections instead of chapters. Best regards, -- Kalouguine Andre --=_39f02473390f2d5013a6711360965ecf Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

Hi,

I was trying = to have my "Acknowledgements" section/chapter before the table of contents = but be contained within it.

Is it normal = that the table of contents is empty if there is a chapter that begins befor= e it?

```

\starttext\chapter{Acknowled= gements}
T= hank you

\completecontent

\chapter{Intro}

\chapter{Problem}

\chapter{Solution}
= \stoptext

```

I'm mostly lo= oking for an explanation rather than a direct solution, I'd like to underst= and why it's empty. It works when using sections instead of chapters.

Best regards,=

-- <= br />
= Kalouguine Andre=
--=_39f02473390f2d5013a6711360965ecf-- --===============4008735370246152515== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ --===============4008735370246152515==--