Page numbering in PDF output (and ability to preview page break previews in main window)

Dominic's Avatar

Dominic

14 May, 2012 12:26 AM

Hi ,
Firstly - awesome product. I use it on a daily basis for online software documentation and simple pdf documents.

Lately i'm increasingly using Marked for slightly more formal pdf documentation and have a few minor frustrations/suggestions around paging on pdf output:

  1. Cannot get paging in pdf from 'save to pdf option (having to use print > pdf every time in gets a little frustrating, and was a bit confusing at first)
  2. Cannot enable page numbering on pdf output
  3. Cannot see how page breaks look without going print > pdf every time. This is very tedious when trying to clean up overhanging paragraphs in a document. It would be great to have an option to 'preview with pages' on a document in the main window

Otherwise a great product that gets better and better with each release.

Cheers,
Dom

  1. Support Staff 1 Posted by Brett on 14 May, 2012 01:31 AM

    Brett's Avatar

    Hi Dominic,

    I'm currently constrained by webkit's print capabilities, which are a little sparse. The next version (1.5) has straight-to-paginated-PDF creation from the menu, but it bypasses any print setup screens (not that there are any right now).

    As afar as #2, I'm working on page numbers, headers and footers but it's been an uphill battle. The best I can offer at the current time is outputting HTML and then converting it using any of webkit2pdf, htmldoc or pandoc. I can't currently embed any of these options, but hope to have something similar set up soon.

    For #3, there's no way for me to simulate the page breaks that the print system will impose without actually printing to PDF. The best I could do would be to open a separate document with a PDF in it, and at that point it seems that printing to View in Preview and updating an open document there would be about equal as far as convenience goes (neither option being ideal). How would you see a feature like that working for you? Any ideas for implementation?

  2. 2 Posted by Dominic De Lore... on 14 May, 2012 02:09 AM

    Dominic De Lorenzo's Avatar

    Thanks Brett,

    Thanks for the response - I kinda suspected as based on how Marked is
    leveraging the standard print APIs.

    Totally agree with #3 - and if you are planing a straight-to-paginated-PDF
    from the menu, then the save pdf keyboard shortcut should suffice.

    Cheers,
    Dom

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

Generic

? 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