# Blank PDF page created unnecessarily

#### Joshua Hamilton

16 Jun, 2018 02:14 AM

// Please enter a detailed description of the issue // Description of the issue:

Paginated PDF was created with a second blank page.

// Please enter a list of steps required to reproduce the issue // Steps to reproduce:

1. I created a document using the latest Ulysses beta for the Mac. (Version 13 (42335))
2. Command-6 to export a TextBundle to Marked 2.
3. I exported in Marked as a paginated PDF using the Swiss theme.
4. It created a lovely PDF, which is exactly what I wanted, but there was a blank page added at the end that I had to manually delete.

// If applicable please attach a sample document that causes the issue for you.

// Configuration (do not edit) Marked 2 952 (Direct)

## macOS Version: 10.14

additionalMathJaxConfig:
allowPageBreakInCode: TRUE
bookTxtIsLeanpub: TRUE
summaryMdIsGitBook: TRUE
codeIsPoetry: TRUE
codeCanWrap: TRUE
collapsibleHeadlines: TRUE
convertGithubCheckboxes: TRUE
convertYAMLToMMD: TRUE
defaultMathJaxConfig: TeX-AMS-MML_HTMLorMML
defaultPreviewStyle: 0
defaultProcessor: MultiMarkdown
enableMiniMap: TRUE
excludeBlockQuotesFromCounts: TRUE
excludeFootnotesFromCounts: TRUE
excludeVerbatimFromCounts: TRUE
excludeCaptionsFromCounts: TRUE
folderPreviewExtensionsArray: md, markdown, txt, mdown, html, opml
githubNewlines: TRUE
h1IsPageBreak: TRUE
h2IsPageBreak: TRUE
hrIsPageBreak: TRUE
includeMathJax: TRUE
limitTextWidth: TRUE
minimalJavaScript: TRUE
outlineModeExtensions:
permissionGranted: TRUE
printHeaderBottomLeft:
printHeaderBottomRight:
printHeaderFirstPage: TRUE
printFooterFirstPage: TRUE
printHeaderTopLeft:
printHeaderTopRight:
processHTMLFiles: TRUE
removeMetadataForPreview: TRUE
removeYAMLHeaders: TRUE
scrollToEdit: TRUE
shouldDetectCritic: TRUE
shouldHighlightMarkupErrors: TRUE
shouldLoadCritic: TRUE
syntaxHighlight: TRUE

1. Support Staff Posted by Brett on 18 Jun, 2018 05:19 PM

I'm guessing that the end of the file was just close enough that blank
space after the footnotes section caused it to spill onto a second page
(but without showing any visible indication why). To verify the issue,
try testing with the GitHub theme, which will come out to a slightly
shorter page, and see if you still get the blank 2nd page.

I did test with the attached textbundle and got a single page PDF when
exporting Paginated PDF using the Swiss theme, so it might be another
issue. Let me know.

-Brett

2. Posted by Joshua Hamilton on 19 Jun, 2018 12:51 AM

I exported it using the Swiss theme again and got the same results. I also tried to export as a paginated PDF using the GitHub theme. That produced a shorter first page, but I'm still getting a blank second page.

If it makes a difference, I'm using macOS Mojave. Also, please don't worry about this too much. I'd hate to see you spending your valuable time tracking down something that's clearly an edge case, and a pretty meaningless one at that.

I'll upload the file that I just produced using the GitHub theme, but please feel free to ignore this whole issue in favor of more important work.

3. Support Staff Posted by Brett on 19 Jun, 2018 02:40 PM

Thanks for testing. Guess I'll need to get Mojave installed and see if I
can replicate :).

-Brett

## Internal reply

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

### »

#### Already uploaded files

• Joshua_Hamilton.textbundle.zip 2.77 KB
• Joshua_Hamilton_-_PDF_file_creates_a_blank_extra_page.pdf 30.9 KB

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

 15 Nov, 2018 06:01 PM Blank Space When Exporting Continuous PDF But Not Paginated PDF 15 Nov, 2018 02:54 PM Marked keeps crashing after updating to 2.5.27 06 Nov, 2018 01:19 PM Outline mode global setting 06 Nov, 2018 06:08 AM Table of Content issue 03 Nov, 2018 07:33 PM Add grid table support in Marked parser

## Recent Articles

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