ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Forced page break in a TOC
@ 2015-09-08 11:25 Mari Voipio
  2015-09-08 11:37 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Mari Voipio @ 2015-09-08 11:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 295 bytes --]

Hello all!


I've got a TOC where the page break really should be one line higher
than it is automatically. I found a solution in the wiki at
<http://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break>,
but it doesn't seem to work (any more). Any ideas on how to fix the
problem?


Mari

[-- Attachment #2: test_toc.pdf --]
[-- Type: application/pdf, Size: 17475 bytes --]

[-- Attachment #3: test_toc.tex --]
[-- Type: application/x-tex, Size: 373 bytes --]

[-- Attachment #4: 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] 2+ messages in thread

* Re: Forced page break in a TOC
  2015-09-08 11:25 Forced page break in a TOC Mari Voipio
@ 2015-09-08 11:37 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2015-09-08 11:37 UTC (permalink / raw)
  To: ntg-context

On 9/8/2015 1:25 PM, Mari Voipio wrote:
> Hello all!
>
>
> I've got a TOC where the page break really should be one line higher
> than it is automatically. I found a solution in the wiki at
> <http://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break>,
> but it doesn't seem to work (any more). Any ideas on how to fix the
> problem?

\showinjector

\setinjector[register][3][\column]
\setinjector[list]    [2][{\blank[3*big]}]

\starttext
     \placelist[section][criterium=text]
     \blank[3*big]
     \placeregister[index][criterium=text]
     \page
     \startsection[title=Alpha] first  \index{first}  \stopsection
     \startsection[title=Beta]  second \index{second} \stopsection
     \startsection[title=Gamma] third  \index{third}  \stopsection
     \startsection[title=Delta] fourth \index{fourth} \stopsection
\stoptext

now, if this works for you, you have to give a demo of how you use it at 
the upcoming meeting

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2015-09-08 11:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-08 11:25 Forced page break in a TOC Mari Voipio
2015-09-08 11:37 ` Hans Hagen

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