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.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16195 invoked from network); 9 Sep 2023 21:29:47 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 9 Sep 2023 21:29:47 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 32DFA48311C for ; Sat, 9 Sep 2023 23:29:08 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id He_EwQFHNOfc for ; Sat, 9 Sep 2023 23:29:07 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id BC23D482FE7 for ; Sat, 9 Sep 2023 23:28:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 32F24482CF5 for ; Sat, 9 Sep 2023 23:28:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E5uZ3pzcik9s for ; Sat, 9 Sep 2023 23:28:25 +0200 (CEST) Received: from seout14.web-dns1.com (seout14.web-dns1.com [68.168.119.166]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 8883D482CF0 for ; Sat, 9 Sep 2023 23:28:25 +0200 (CEST) Received: from mailpro1.whc.ca ([51.79.16.13]) by se1.web-dns1.com with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qf4fS-00BM1v-Qs; Sat, 09 Sep 2023 16:35:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=jdvb.ca; s=default; h=In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=wyiYWPfO/r2P8agri2JYi6gDjl8G9boneRpb0O/wVxo=; b=N5u9/W0AF+qFM6xBQfvmC2+9T0 7YnjbESYbzfLOwNBM2dBA5J+3rEkd5C0LaY+zgsu6OETm+lhAFj50llhbdGOovpPJ+UCv+LvDUoBl dSUfKW4fAY2HQEuJJ9G0fah9wjJuVVNYwd7o1ZeA13A5o/YBa0EhPWwOQsZ+oTqO5SpzkfnrDotFb /9tjTF5nnYq5yQ7cHmliJsnmPA9HKuoOy/WHz/t4301CQfbdFI9nSBjVKc63iPAJfQLUzhiEtzDYt hHNol5Ra4SKfmlsbOeu1N8YjvV6ma9xlsCHRW3mgr9qZRdPph8TDQNUDkOc6AB46vOjnfObja2Ivr qkV5dXow==; Received: from [156.34.163.164] (port=39942 helo=x360) by mailpro1.whc.ca with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qf4fL-003EIp-2K; Sat, 09 Sep 2023 16:34:58 -0400 Received: by x360 (Postfix, from userid 1000) id 432F41E0739; Sat, 9 Sep 2023 17:34:51 -0300 (ADT) Date: Sat, 9 Sep 2023 17:34:51 -0300 From: Jim To: Wolfgang Schuster Message-ID: References: <4422cb2f-9232-895b-f83c-ce1412931e91@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4422cb2f-9232-895b-f83c-ce1412931e91@gmail.com> X-Microslop: Just say no X-Originating-IP: 51.79.16.13 X-SpamExperts-Domain: out.mailpro1.whc.ca X-SpamExperts-Username: 51.79.16.13 Authentication-Results: web-dns1.com; auth=pass smtp.auth=51.79.16.13@out.mailpro1.whc.ca X-SpamExperts-Outgoing-Class: unsure X-SpamExperts-Outgoing-Evidence: Combined (0.31) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT8tKorYFi8hEMIJdiklPt3sPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5wwJkZyuuXZwpIYsR3lUTd1MgRxrt4WTger0wov+wo215E4 RpXKjUsVZr544wX+OibJ7Q24jbf1rQge6eVVwN6DQaXPwIlI4yu/PH1NWDdGRZXo24cDDpTqdswe WTb2749TtObPqIqeRAv2CqzEPfjvpiX1Bp5mt//5KJ4EHEfEyAqc9YCk9IZC+ZMoEtwO2sPd6dWO NbWuM5Rj8+gapKDWQKZ/6LmfyRFsGfqBKh4kLvi0BxGtnbWmin+qUad+v497y9KyMhs+dROCnF0q WM2Tl6NgvvEFfh/NUJ6jRqTe35GqVAT1vWFeEhEnVslbRXVRh+7MnWbw7fXOUdDwPDg2bN87qJve uvI4FkaTzox57bp+8+Uu7uVb3CKlcS9GAuPaL54DHADc8VYa3aB6HEgEJ5H7r1WRXPcuTBHf5we0 OuPZv5F7RzGS3oVctjiZbdo93SsS4aMXJmiJ2G0eb5ah6NxLwwXHXG2T36Cne/7XBI/8DLasW/Jp LAQtsZchB0pltl7gNRIPvENBRJVOI/KZ+vdUsKK/GeaOWXOyR7bOq/vg7iEFLP+SSY+Av5+AiC58 4pXhsUKorLO66yWw8UX4shrOz2ns4zpzV0Tn0RZWPgdW40yhMrPCUO5puE1yzjIznO7M3DOxrOvs TiYV9hvRzq99kW4CT1gYYtEJCMR2ZkouHXqWSHHexABX+PoOMrWLBDMrD7q/cJogwbqzsuokKvWl 6vGWCd+lS2LFBZAb2+0zXY9uaMTqlYNAMlVApg6YxbKNGS3VcKOyqBUNryFJrvJAfwmxrLswWVJ3 804H92ZKH4FK9iB0vtoLIaWcOHRUWwaRA0wguVh9DNtjM+O5l/gnEQSoMLSZjmbKKTlSMNG+phDu Z/eBQ0ahl7JRFQreNHk15VolAGHS5rCXQKDyOvR7c/WpQe6Uv7xhqfZtcl5h0Wo91eNN8EvawglK VRxFmdImjjpm1LIbHd+l0JdX8HkuSQwqkbw242wwYEyvTg== X-Report-Abuse-To: spam@se1.web-dns1.com Message-ID-Hash: EXWOIC6PVVZNLZISBKDKZCDXDUAASHVU X-Message-ID-Hash: EXWOIC6PVVZNLZISBKDKZCDXDUAASHVU X-MailFrom: zlists+context@jdvb.ca X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: mailing list for ConTeXt users X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Table of contents of unnumbered titles List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Wolfgang, thanks very much for your help. As a long-time plain TeX user, but a ConTeXt n00b, that would have taken me a long time to figure out. Having said that (and not to be ungrateful), for both of your examples below, in my tests only the subsubject shows up in the contents. I tried this both with the context distribution (updated a few minutes ago) and with the version that is in texlive (also updated a few minutes ago). Do all three items show up in your contents listing? Thanks. Jim On Sat, Sep 9, 2023 at 21:17 (+0200), Wolfgang Schuster wrote: > Jim schrieb am 09.09.2023 um 20:11: >> Hi, >> I am creating a document which is divided with the unnumbered levels >> (\title, \subject, ...). >> I would like a table of contents showing the names and page numbers, >> something like >> Blah blah blah 2 >> Blah blah 4 >> ... >> However, notwithstanding what I see in >> https://wiki.contextgarden.net/index.php?title=3DTitles&mobileaction=3Dt= oggle_view_desktop#Unnumbered_titles_in_table_of_contents >> I can't get this to happen with unnumbered divisions. >> The above wiki reference says "the following might do that trick" but I >> think "might" is the keyword, since even the wiki doesn't show the "No >> number" entry in the \completecontent. >> I find it hard to imagine that I am the only Context user who wants to do >> this. Can anyone point me in the direction of a working example? >> And am I misinterpreting the wiki, or is the wiki page broken? > 1. You have to change the value of the incrementnumber key for title, > subject etc. > 2. You have to specify which sections are shown in the table of content > because by default only the numbered sections are listed. > %%%% begin example 1 > \setuphead [title]=A0=A0=A0=A0=A0 [incrementnumber=3Dlist] > \setuphead [subject]=A0=A0=A0 [incrementnumber=3Dlist] > \setuphead [subsubject] [incrementnumber=3Dlist] > \definehead [contentstitle] [title] > \setupcombinedlist [content] > [list=3D{chapter,title,section,subject,subsection,subsubject}] > \starttext > \completecontent > \title{Title} > \subject{Subject} > \subsubject{Subsubject} > \stoptext > %%%% end example 1 > %%%% begin example 2 > \setuphead [title]=A0=A0=A0=A0=A0 [incrementnumber=3Dlist] > \setuphead [subject]=A0=A0=A0 [incrementnumber=3Dlist] > \setuphead [subsubject] [incrementnumber=3Dlist] > \definehead [contentstitle] [title] > \starttext > \contentstitle{Contents} > \placelist[chapter,title,section,subject,subsection,subsubject] > \title{Title} > \subject{Subject} > \subsubject{Subsubject} > \stoptext > %%%% end example 2 > Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-con= text webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________= ________