ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \title with extra content in toc
@ 2020-08-11 23:51 jbf
  2020-08-12  3:23 ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: jbf @ 2020-08-11 23:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Still dealing with \title, but am creating a separate thread because the 
question is different.

As well as using \title within frontmatter (my previous question was 
about the header not appearing on final page if it is an odd/recto page) 
I am also using it in the main body for 'chapters' that I don't want 
numbered, and of course, have ensured that such \title items can appear 
in the TOC. But I want to add a one-word comment in brackets to the 
title that appears in the TOC, so that I get:

Chapter title (comment).......... 5  or whatever the page number is.

Is there are way I can add  extra content to an item that appears in the 
TOC? In this case it would be the same comment in each instance, but my 
question assumes that there could also be a need for different comments, 
none of which appear in the 'chapter' title in the main body.

Am using MkIV BTW,

Julian

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-08-12  5:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-11 23:51 \title with extra content in toc jbf
2020-08-12  3:23 ` Aditya Mahajan
2020-08-12  3:46   ` jbf
2020-08-12  5:41     ` Mikael Sundqvist

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).