ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Table of Content
@ 2021-02-11 11:11 Ursula Hermann
  2021-02-12 14:43 ` Pablo Rodriguez
  0 siblings, 1 reply; 7+ messages in thread
From: Ursula Hermann @ 2021-02-11 11:11 UTC (permalink / raw)
  To: ntg-context


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

Dear List!


I did this example, which works perfect. If i would like to  take a new page after the Table of Content, is \page the right way?

% mode=mkiv
\setuppapersize[A7][A7]
\language[de]
%list the "subject" sections in the ToC but don't modify the "section" counter:
\setuphead[subject]  [incrementnumber=list]

%"width": distance between number and text in the ToC entry, "margin" : indent of ToC entry relative to left page margin
\setuplist[section][width=1.5em]
\setuplist[subsection][width=2.5em, margin=1.5em]
\setuplist[subject]
\setuplist[subject, section, subsection]

\setupcombinedlist[content][list={subject,section,subsection}, alternative=c]

\starttext
\placecontent
\setupuserpagenumber[numberconversion=romannumerals]
\setcounter[userpage][5]
\page
\subject{Vorwort}
\page
\setupuserpagenumber[numberconversion=numbers]
\setcounter[userpage][12]
\section{One}
\subsection{Sec A}
\section{Two}
\subject{Bibliography}
\stoptext

Uschi



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

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

___________________________________________________________________________________
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] 7+ messages in thread
* Table of content
@ 2005-12-25 22:32 Willi Egger
  2005-12-26 11:46 ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Willi Egger @ 2005-12-25 22:32 UTC (permalink / raw)


Dear ConTeXters,

At the moment I am bit at a loss.
I should prepare a document, wherein there will be a difference between 
one chapter title and the respective row in the table of contents. What 
it should become looks as follows:

\chapter{This is the title of the chapter}

In the table of contents it should show up as:

Epilog: This is the title of the chapter

So the question is, how to get the word Epilog into the table of 
contents in front of the chapter title, neatly aligned with the rest of 
the table of contents.

Cheers

Willi

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

end of thread, other threads:[~2021-02-12 16:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-11 11:11 Table of Content Ursula Hermann
2021-02-12 14:43 ` Pablo Rodriguez
     [not found]   ` <44f0a7dd-c259-b100-ee44-b9fecffcd95e@xs4all.nl>
2021-02-12 15:52     ` Pablo Rodriguez
2021-02-12 16:09       ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2005-12-25 22:32 Table of content Willi Egger
2005-12-26 11:46 ` Hans Hagen
2005-12-26 19:40   ` Willi Egger

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