Margins in export

Kit Lloyd's Avatar

Kit Lloyd

03 Nov, 2014 05:38 AM

Hi Brett,

I am probably missing something, but when I change the margin size in Preferences -> Export, it does not seem to make any difference to the PDF layout produced. I have tried several different styles, but without success. Where am I going wrong?

  1. Support Staff 1 Posted by Brett on 03 Nov, 2014 03:28 PM

    Brett's Avatar

    How are you doing the PDF export, and is it paginated or continuous
    output?

    -Brett

  2. 2 Posted by Kit Lloyd on 04 Nov, 2014 04:06 AM

    Kit Lloyd's Avatar

    Hi Brett,

    I use the Export Drawer and I was using Continuous.

    I checked with Paginated and margins seems to work there ok, so I guess
    I'll just use Paginated in future.

  3. Support Staff 3 Posted by Brett on 04 Nov, 2014 02:30 PM

    Brett's Avatar

    Right. Continuous PDF export doesn't go through the print system, so the
    margins don't take effect. You can, however adjust them through CSS
    using the "Extra CSS" field in Style preferences with something like:

    @media print {
    #wrapper {
    padding-top: 20px;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 20px;
    }
    }

    Haven't tested that, but it should get you started. If you leave out the
    "@media print" and its brackets, you'll also see the changes in the
    preview.

    -Brett

  4. 4 Posted by Avi Flax on 18 Jan, 2016 02:40 PM

    Avi Flax's Avatar

    Continuous PDF export doesn't go through the print system, so the margins don't take effect.

    This is unintuitive. I just lost 15 minutes with this. The tab in Preferences is labeled “Export” — the section on Margins has no indication that it applies only to printing. Please fix. (Great app BTW.)

  5. 5 Posted by Avi Flax on 18 Jan, 2016 02:49 PM

    Avi Flax's Avatar

    This was kinda a pain. After a bunch of trial and error I ended up using this to get a decent non-paginated PDF:

    #wrapper { 
        padding: 30px 5px 2000px 30px;
        font-size: 70% !important;
    }
    

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