Export to paginated PDF cuts lines at the end of the page

enrico.scarpella's Avatar


19 Dec, 2018 01:20 AM

Dear Brett,

When I set the font size for export to 10 pt and export to Paginated PDF, the last line at the end of some pages is cut in two and the second half appears in the next page. For whatever reason, the issue does not show up when I set the font size for export to 12 pt. I know this issue has been reported before but the last time was in 2017, so I assume the reason for the problem I am encountering is different. Thank you for your consideration.

Best regards,

  1. Support Staff 1 Posted by Brett on 20 Dec, 2018 08:21 PM

    Brett's Avatar

    There are a dozen variables that could affect this, including whether
    MathJax is loaded, there are highlighted code blocks, how many images
    might be before the page break, what theme you're using, and a bunch
    more that make the issue quite difficult to track down. If you have an
    example document that can consistently produce the results, feel free to
    share it for testing along with info about what style you're using, what
    export settings you have, etc.


  2. 2 Posted by enrico.scarpell... on 21 Dec, 2018 01:15 AM

    enrico.scarpella's Avatar

    Thank you for your willingness to look into this, Brett. Please find attached:

    • .md test file generated with MMD Composer.
    • .pdf file generated by exporting the .md file above as Paginated PDF in Marked 2 (Version 2.5.27 (964)) with the attached preferences and CSS.

    Please let me know if you need additional information. Thank you for your consideration.

    Best regards,

  3. Support Staff 3 Posted by Brett on 21 Dec, 2018 04:48 PM

    Brett's Avatar

    Ok, it appears to be an issue that happens when there's header text but
    no footer text. If there's anything in both, the pagination works fine.
    This is a bit mysterious, and I'll need to look into it further...


  4. 4 Posted by enrico.scarpell... on 21 Dec, 2018 05:57 PM

    enrico.scarpella's Avatar

    Thank you for so quickly looking into that, Brett. For now, I can certainly use the fact that having text in the footer too will fix pagination and move some of the information I had in the header to the footer. Thank you again for the prompt reply.

    Best regards,

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac