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

#### enrico.scarpella

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,
Enrico

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

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.

-Brett

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

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.

Best regards,
Enrico

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

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...

-Brett

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

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,
Enrico

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

### »

#### 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

### Generic

? Show this help Blurs the current field

### Comment Form

r Focus the comment reply box Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

## Recent Discussions

 19 Mar, 2019 07:13 PM Unable to use Marked with Bear 19 Mar, 2019 03:33 AM Marked keeps crashing after updating to 2.5.27 18 Mar, 2019 11:20 AM Missing paragraph 16 Mar, 2019 06:21 PM Import image to marked 2? 14 Mar, 2019 02:05 PM TOC on different frame?

## Recent Articles

 License code has already been utilized Highlight sentences longer than a certain number of words In-app purchase issues (Error Domain=Paddle Code=0 "(null)") How do I retrieve a lost license (direct version) Custom CSS: Writing custom CSS for Marked