"Keep paragraph with next" doesn't work as expected

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

"Keep paragraph with next" doesn't work as expected

Unread postby Christian Kessner » Mon Feb 12, 2018 11:22 am

Hello,

I'm trying to keep a table on one page. This is what it looks like in H&M:

Image

And this is the PDF output:

Image

What am I doing wrong?
Christian Kessner
 
Posts: 21
Joined: Wed Nov 30, 2016 9:07 am

Re: "Keep paragraph with next" doesn't work as expected

Unread postby Tim Green » Mon Feb 12, 2018 1:10 pm

Hi Christian,

You're not doing anything wrong. The problem is that each table cell is effectively a separate document. Keeping paragraphs together is only possible within cells; you can't keep them together between cells in two different rows. However, there is a trick you can use to achieve this, but you should be careful how you use it: Merge all the cells in a row into a single cell across the entire table, then insert another table with the rows you don't want to break inside that cell. The nested table won't break. However, you have to be very careful that it will fit on a page, otherwise it will run off the edge of the page. Also, using more than just a couple of nested tables can get difficult to manage. 8)
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Tim Green
Site Admin
 
Posts: 19931
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany

Re: "Keep paragraph with next" doesn't work as expected

Unread postby Christian Kessner » Mon Feb 12, 2018 1:57 pm

That sounds dangerous ;)
I used a property of the table "Table can split to the next page", and disabled that for smaller tables. This works well enough for me.
Christian Kessner
 
Posts: 21
Joined: Wed Nov 30, 2016 9:07 am


Return to Help & Manual 7 Forum

Who is online

Users browsing this forum: No registered users and 3 guests

cron