Skip to content

Demo vault

Every screenshot and code block on this page comes from the bundled demo vault.

Download the English demo vault

Export dialog ​

Run "Export PDF (AutoGallery)" from the command palette: paper and margins on the left, the real layout on the right, one file at the end.

The output is re-typeset for the paper size, not a screenshot squeezed into A4. Gallery rows, floats and caption widths are all recomputed against the text frame.

PDF export dialog: paper, margins, page numbers and preview

The PDF export dialog contains paper, margins, page numbers and preview.

Two previews ​

ModeBehaviourGood for
Layout preview (default)one continuous page, scaled to the real paper widthchecking font size, column width, captions
Paginated previewprints a temporary PDF first, then renders it page by pagechecking page breaks, orphans, cross-page behaviour

Layout preview does not paginate; you are looking at one continuous column. Judging whether a row will be split across pages requires the paginated preview, which waits for a real print and is noticeably slower on long documents.

What you can change ​

ItemValuesNote
Paper sizeFollow Obsidian / A3 / A4 / A5 / Legal / Letter / Tabloid"Follow" uses the native export settings
OrientationFollow / portrait / landscapesame
MarginsFollow / preset / custom four sidespresets match Word's common text frames
Mirror odd/evenon / offbinding edge inside, outer edge narrower
Scale10%–200%empty follows the native setting
Include note titleon / offinserts the note name before the body
Page numberson/off, header or footer, left/centre/rightsee the note below
Heading paginationstart level h1–h6matching headings start a new page
Image paginationon / offshrink a trailing image to fit
Orphan controlon/off, 1–5 trailing linespull stray lines back

Page numbers live in the margin ​

Page numbers print inside the margin, not inside the text frame. Therefore:

  • With numbers in the footer, keep at least 11mm of bottom margin.
  • With numbers in the header, keep at least 11mm of top margin.

Below that the digits get clipped — not a bug, just paper geometry.

Mirroring odd and even pages ​

When enabled, the binding (inner) and outer edges use different margins: odd pages have the inner edge on the left, even pages on the right. Top and bottom margins still follow the settings above. Useful for double-sided printing and bound copies.

Failure falls back to native export ​

If printing does not finish within the export timeout (60 seconds by default), the plugin:

  1. closes this dialog;
  2. falls back to Obsidian's native PDF export;
  3. reports it with a notice.

Closing the dialog first avoids two save dialogs at once. What you get after the fallback is the native result — pagination optimisation does not apply.

Where to trigger it ​

Entry pointLocation
Command palette"Export PDF (AutoGallery)"
File menuright-click in the file list → Export PDF
Settings pagethe "Export current note" button

Desktop only, and the active file must be Markdown.

Next ​