ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Breaks in TOC
@ 2013-10-01  7:30 "H. Özoguz"
  0 siblings, 0 replies; 5+ messages in thread
From: "H. Özoguz" @ 2013-10-01  7:30 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


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

* Re: Breaks in TOC
  2013-10-07 11:50 "H. Özoguz"
@ 2013-10-07 12:03 ` Marco Patzer
  0 siblings, 0 replies; 5+ messages in thread
From: Marco Patzer @ 2013-10-07 12:03 UTC (permalink / raw)
  To: ntg-context


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

On 2013–10–07 "H. Özoguz" wrote:

> How to get only a normal break

  \crlf

Marco

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Breaks in TOC
@ 2013-10-07 11:50 "H. Özoguz"
  2013-10-07 12:03 ` Marco Patzer
  0 siblings, 1 reply; 5+ messages in thread
From: "H. Özoguz" @ 2013-10-07 11:50 UTC (permalink / raw)
  To: ntg-context

> http://www.ntg.nl/pipermail/ntg-context/2013/072485.html
>
> Wolfgang

Thanks Wolfgang, so I guess the key I was looking for is "list". But see 
what happens here:

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

\startsection[
title={Eine sehr, sehr lange Überschrift, die auf jeden Fall
irgendeine Art von Formatierung benötigt.},
list={Eine sehr, sehr lange Überschrift,\par die auf jeden Fall 
irgendeine Art von Formatierung benötigt.}
]
\stoptext

The first try with "\\" has no effect. And the second with "\par" 
justifies the first line, which is not intended. How to get only a 
normal break, without new aligning of the first line?

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
___________________________________________________________________________________


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

* Re: Breaks in TOC
  2013-10-07  8:51 "H. Özoguz"
@ 2013-10-07  9:14 ` Wolfgang Schuster
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2013-10-07  9:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 07.10.2013 um 10:51 schrieb H. Özoguz <h.oezoguz@mmnetz.de>:

> Thanks to your kindely help, Nr. 2 is solved easily, but Nr. 1 is still open. Is it clear, what I intend to do, or totally unclear? :)
> 
> The question is simply to break a title in the TOC, without breaking it in the text. Or more generally: How to change the title in the TOC (maybe a complete other title, as in the text, like it is possible for the header by the key "marking"). (No matter, if that makes sense, or not).

http://www.ntg.nl/pipermail/ntg-context/2013/072485.html

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


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

* Re: Breaks in TOC
@ 2013-10-07  8:51 "H. Özoguz"
  2013-10-07  9:14 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: "H. Özoguz" @ 2013-10-07  8:51 UTC (permalink / raw)
  To: ntg-context

Thanks to your kindely help, Nr. 2 is solved easily, but Nr. 1 is still 
open. Is it clear, what I intend to do, or totally unclear? :)

The question is simply to break a title in the TOC, without breaking it 
in the text. Or more generally: How to change the title in the TOC 
(maybe a complete other title, as in the text, like it is possible for 
the header by the key "marking"). (No matter, if that makes sense, or not).

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


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

end of thread, other threads:[~2013-10-07 12:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-01  7:30 Breaks in TOC "H. Özoguz"
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

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