ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Lutz Haseloff <lutz.haseloff@toppkieker.info>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: Table of contents of unnumbered titles
Date: Sat, 09 Sep 2023 21:38:33 +0200	[thread overview]
Message-ID: <C2927819-12C4-4129-B80F-FC8ABF935473@toppkieker.info> (raw)
In-Reply-To: <ZPy1a6+4ZutNgb/K@x360.localdomain>


[-- Attachment #1.1: Type: text/plain, Size: 1803 bytes --]

Hi Jim,

perhaps does this work for you?

--------
\setuplist[chapter][headnumber=no]
\setuphead[chapter][number=no]
\starttext
\completecontent
\page
\chapter{Chapter one}
\input knuth
\chapter{Chapter two}
\input ward
\stoptext
--------

Greetings Lutz

Am 9. September 2023 20:11:55 MESZ schrieb Jim <zlists+context@jdvb.ca>:
>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=Titles&mobileaction=toggle_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?
>
>Thanks.
>
>                                   Jim
>___________________________________________________________________________________
>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
>___________________________________________________________________________________

[-- Attachment #1.2: Type: text/html, Size: 2375 bytes --]

[-- Attachment #2: Type: text/plain, Size: 495 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2023-09-09 19:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-09 18:11 [NTG-context] " Jim
2023-09-09 19:17 ` [NTG-context] " Wolfgang Schuster
2023-09-09 20:34   ` Jim
2023-09-09 21:12     ` Wolfgang Schuster
2023-09-09 21:45       ` Jim
2023-09-09 19:38 ` Lutz Haseloff [this message]
2023-09-10 19:43   ` Jim

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=C2927819-12C4-4129-B80F-FC8ABF935473@toppkieker.info \
    --to=lutz.haseloff@toppkieker.info \
    --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).