PD4ML v4 Forums PD4ML v3 Archived Forums (Read Only) General questions / FAQ Keeping header and tables together [paging]

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26416

    Often when i use a construction like

    … the header ends up at the middle of the first page and the table on a new page.

    Is it possible to give some single directive to keep headers always on the same page as their first lines of content, or is the only option to put the header and its associated content in a DIV with “page-break-inside: avoid”?

    Best regards,
    Arvid

    #28105

    Another option is to place a conditional page break before

    For example

    #28106

    Yes, that could be useful too, if you have a good idea about the size of the element coming after the heading. I’m not sure that it would be so helpful to add as a general directive in our pre-processor, though.

    Most typesetting/word processing tools have logic that ensures that a header will never be the last thing on a page, it would be very neat to a have generic function like that in PD4ML.

    Perhaps a tag like , that could be added by a pre-processor after every element that you don’t want to be the last on a page, would be really nice!

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘General questions / FAQ’ is closed to new topics and replies.