9 Replies Latest reply: Feb 17, 2013 10:49 PM by possum1957
possum1957 Level 1 Level 1 (0 points)

I know I can keep a paragraph on the same page as the next paragraph but I need to create a paragraph style that keeps a paragraph of the same page as the PREVIOUS paragraph. Is there anyway to do this?

 

I used to be able to do it using my "old" M$ Windows DTP package.


iMac (27-inch Mid 2011), Mac OS X (10.7.5)
  • fruhulda Level 6 Level 6 (15,120 points)

    I am not sure I understand your request.

     

    In the word processing document mode the lines that doesn't have space enough to stay on the same page will spill over to the next pages, which is automatically added when needed. It doesn't move the whole paragraph to the next page and it doesn't have anything to do with using Styles of any kind.

     

    Could you in more detail describe what you are doing, how you are doing it?

  • PeterBreis0807 Level 7 Level 7 (32,580 points)

    That doesn't make sense.

     

    As fruhulda says you can't make a paragraph fit on a page that it is too big for it.

     

    If you want a headline to stick with the following paragraph that is Keep with following Paragraph but again will take it over to the next page if there isn't enough room.

     

    Peter

  • Yellowbox Level 5 Level 5 (6,475 points)

    Hi Possum,

     

    Options for a paragraph are these (in Inspector > Text > More > Pagination and Break):

     

    Screen Shot 2013-02-18 at 12.02.40 AM.png

     

     

    You can't link backwards to keep the *previous* paragraph on the same page. You must click in the previous paragraph and make it "Keep with following paragraph".

     

    However, if you are using blank lines between paragraphs, you will need to also make the blank line (which is a paragraph!) "Keep with following paragraph".

     

    Regards,

     

    Ian.

  • possum1957 Level 1 Level 1 (0 points)

    I think I may not have explained the problem well enough so I have an example....

     

    Imagine a menu where each dish has a title and there is a 'title style' applied to it following the title are a number of paragraphs that describe the dish. These descriptions all have a 'description style'. All the descriptions have to be kept on the same page AND with the dish title. "Keep with next paragraph" does not help because a page break is permitted after the last description paragraph/before the next title so what is needed is for the description style to have "keep with previous" and then All the descriptions are kept together on the pag  and with the title. If there is the a dish price for following the description that would need the same 'keep' attribute as well because you wouldn't want it disconnected from the Reston the dish details.

     

    Hope this helps explain the problem.

     

    Thanks

  • Yellowbox Level 5 Level 5 (6,475 points)

    Hi Possum,

    This works. Here is a screen shot from Pages with "Show Invisibles" (the blue spaces and paragraph marks):

    Screen Shot 2013-02-18 at 1.01.12 AM.png

     

    Line spacing is set in Inspector to add space after each paragraph without adding blank lines (it's better that way).

     

    Dish Title, all descriptions, Price and the blank line below are set to "Keep with following paragraph".

     

    Do not include the final blank line (which is really blank) in this linking.

     

    Type this in Pages. Copy everything and then repeatedly Paste. See if the new pages appear as you want them.

     

    Regards,

     

    Ian.

  • PeterBreis0807 Level 7 Level 7 (32,580 points)

    Applying Paragraph starts on a new page to the Header paragraph can also be useful if you have a recipe per page.

     

    Peter

  • Yellowbox Level 5 Level 5 (6,475 points)

    I have realised that you don't need any blank lines. Format the Price paragraph to have its own space after (and don't keep it with the following paragraph, which will be the next Title paragraph)..

     

    Ian.

  • Yellowbox Level 5 Level 5 (6,475 points)

    Another thought. Some of your description paragraphs may contain several lines. Set the style to include "Keep lines together".

     

    Ian.

  • possum1957 Level 1 Level 1 (0 points)

    Thanks to everyone for their assistance and suggestions.

     

    I have enough now to cope with most situations.

     

    I still think a 'keep with previous' would be a useful feature so if anyone for the development team is watching...