OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

automagic pagebreaks in TOC

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
davedfoster
Newbie
Newbie


Joined: 11 Oct 2007
Posts: 2
Location: Turkey

PostPosted: Thu Oct 11, 2007 6:32 am    Post subject: automagic pagebreaks in TOC Reply with quote

Hi,

I have some largish documents with a table of contents that spans two or three pages and is four or 5 content levels deep.

Does anybody know if there is a way to, or how to, make the page break at contents2 within the TOC if anything within this section jumps to the next page?

Contents1
__Contents2
____Contents3
______Contents4

__Contents2
____Contents3
______Contents4
------------------------------ Want to break it here automagically
__Contents2
___Contents3
------------------------------ but it breaks here.
____Contents4

Is there any way to force the break only at the previous contents2?

Currently using Debian build OOWriter v 2.2.1 saving as .odt files.

Any and all (useful) sugestions would be welcomed. Thanks in advance.
_________________
Dave
Back to top
View user's profile Send private message
foxcole
Super User
Super User


Joined: 19 Jan 2006
Posts: 2771
Location: Minneapolis, Minnesota

PostPosted: Thu Oct 11, 2007 10:12 am    Post subject: Re: automagic pagebreaks in TOC Reply with quote

davedfoster wrote:
Does anybody know if there is a way to, or how to, make the page break at contents2 within the TOC if anything within this section jumps to the next page?

I haven't got anything large enough to try this with, but Contents2 is a paragraph style just like any other, so just like any other, you can adjust widow and orphan control on the Text Flow tab. Or you can specify that Contents2 be followed by the Contents3 paragraph style on the Organizer tab (and 3 by 4, etc.) then on the Text Flow tab select the "Keep with next paragraph" option for each of those levels. The only time that wouldn't work well is if Content1 is at the end of a page. But you could run into that problem regardless. EDIT: I worded that poorly. It would work, of course, but you'd have an orphaned Contents1 in that situation, so you're not coming out ahead... so to speak...

Personally, I wouldn't try messing around with it. What you'd end up with is unsightly gaps at the bottom of some pages, and 'shadows' through the page if the contents print farther down on the other side (assuming you're printing). People don't get lost that quickly when looking through a TOC, and if your content is well organized with appropriate headings, readers will have no problem following the TOC flow.
_________________
Cheers!
---Fox

WinXP Pro SP2, OOo Portable 2.3.1, OOo local 2.4 RC4
New OpenOffice forum: http://user.services.openoffice.org/en/forum/
Manuals: http://documentation.openoffice.org/manuals/index.html
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
floris_v
Moderator
Moderator


Joined: 12 Jul 2007
Posts: 4605
Location: Netherlands

PostPosted: Thu Oct 11, 2007 10:34 am    Post subject: Reply with quote

I think you should handle this kind of thing manually. Simply don't protect the TOC and insert a manual page break where you feel like it - if your TOC is so long that manual page breaks put a stress on you you should really consider making it smaller by including less headings.
_________________
LibreOffice 3.6.3; OOo 3.4.1 on Windows Vista
Join the Official community forum - in several languages, including Nederlandstalig forum
Back to top
View user's profile Send private message
davedfoster
Newbie
Newbie


Joined: 11 Oct 2007
Posts: 2
Location: Turkey

PostPosted: Thu Oct 11, 2007 11:11 pm    Post subject: Reply with quote

Thanks for your swift responses to my post.

The document I have has as Contents1 a title. Contents2 the name of a Turkish grammatical structure, Contents 3 the recipe for the above structure and Contents4 is a note in English regarding usage. It makes more sense to me to keep these three together and leave a bit of space at the end of the page.

manual intervention it is then.

Thanks again
_________________
Dave
Back to top
View user's profile Send private message
Bhikkhu Pesala
Super User
Super User


Joined: 23 Aug 2005
Posts: 2324
Location: Seven Kings, London, UK

PostPosted: Thu Oct 11, 2007 11:36 pm    Post subject: Reply with quote

As Foxcole said, edit the paragraph style used in the contents and use the Text Flow attribute "Keep with next paragraph." Apply that to Contents1, 2 and 3 if you want.
_________________
Fonts * Opera * Oo Tips * FAQ * New Forum
Oo 2.3.1 * Win XP
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group