ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "\"H. Özoguz\"" <h.oezoguz@mmnetz.de>
To: ntg-context@ntg.nl
Subject: Breaks in TOC
Date: Tue, 01 Oct 2013 09:30:43 +0200	[thread overview]
Message-ID: <524A7A23.2070707@mmnetz.de> (raw)

Hi there,

two questions about formatting the TOC or the titles in the TOC:

1. How to formate the titles different in the text and in the TOC 
respectively? I only mean line breaks.

E.g., see this minexample:

\starttext
\completecontent
\startsection[
     title={Eine sehr, sehr lange Überschrift, die auf jeden Fall 
irgendeine Art von Formatierung benötigt},
label={Eine sehr, sehr lange Überschrift,\\die auf jeden Fall irgendeine 
Art von Formatierung benötigt},
marking={Eine sehr, sehr lange Überschrift,\\die auf jeden Fall 
irgendeine Art von Formatierung benötigt}]
\stoptext

That does not work, label and marking are the wrong keys for setting the 
TOC-Title, which have no effect on the title in the toc, which one is 
the correct key?

2. How to prevent page-breaks after some title in the TOC? E.g. I have a 
chapter title in the toc, and after chapter-titles there should be no 
immediate page-break. So I would need something like \testpage[10], but 
for the toc. How to do this?

Thanks again.
Huseyin
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


             reply	other threads:[~2013-10-01  7:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-01  7:30 "H. Özoguz" [this message]
2013-10-07  8:51 "H. Özoguz"
2013-10-07  9:14 ` Wolfgang Schuster
2013-10-07 11:50 "H. Özoguz"
2013-10-07 12:03 ` Marco Patzer

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=524A7A23.2070707@mmnetz.de \
    --to=h.oezoguz@mmnetz.de \
    --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).