ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ursula Hermann <ursula.hermann@univie.ac.at>
To: "ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: Table of Content
Date: Thu, 11 Feb 2021 11:11:46 +0000	[thread overview]
Message-ID: <ccd3bd4634834c49a248e0ae28b7546b@univie.ac.at> (raw)


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

             reply	other threads:[~2021-02-11 11:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-11 11:11 Ursula Hermann [this message]
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

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=ccd3bd4634834c49a248e0ae28b7546b@univie.ac.at \
    --to=ursula.hermann@univie.ac.at \
    --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).