Always pagebreak before the first page when using static page and a heading on the first page?

Comments

4 comments

  • Avatar
    Nils Bier

    Hi Martin,

    would it be an option to suppress the page-break before the h1 with the following CSS (see https://www.k15t.com/display/PDF/Enforcing+Pagebreaks):

    div.section-1 {
    page-break-before: auto;
    }

     

    Best,
    Nils

    0
    Comment actions Permalink
  • Avatar
    Martin Kellner

    This is the normal way to control page breaks in conjunction with heading, isn't it? I already use this in our templates. I still want page breaks for all other H1. There shouldn't be one before the first H1.

    0
    Comment actions Permalink
  • Avatar
    Martin Kellner

    Any other idea?

    0
    Comment actions Permalink
  • Avatar
    Martin Kellner

    We moved $page.title to the header of the template. So we don't have the title in the page content. This is a workaround but not a fix.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk