Logo
NeoArc Studio

PDF Publishing Configuration Reference

Complete reference for all PDF publishing configuration properties: publishing config (covers, navigation, security, output), typography config (global defaults, per-element overrides), default values, and storage locations.

Complete reference for all PDF publishing configuration properties. These settings control every aspect of PDF document generation, from infographic covers to typography, navigation, and security.

Publishing Configuration

These properties are configured in the PDF step of the publishing wizard and stored in publishing.cf.settings.json under the pdfConfig key.

Infographic Sections

PropertyTypeDescription
coverInfographicPathstring (optional)Path to the front cover infographic file. Full-bleed first page.
coverInfographicTitlestring (optional)Display title for the front cover infographic selector.
backCoverInfographicPathstring (optional)Path to the back cover infographic file. Full-bleed last page.
backCoverInfographicTitlestring (optional)Display title for the back cover infographic selector.
headerInfographicPathstring (optional)Path to the repeating header infographic. Stamped on every content page.
headerInfographicTitlestring (optional)Display title for the header infographic selector.
footerInfographicPathstring (optional)Path to the repeating footer infographic. Stamped on every content page.
footerInfographicTitlestring (optional)Display title for the footer infographic selector.

Page Numbers

PropertyTypeDefaultDescription
includePageNumbersbooleantrueWhether to add page numbers to content pages.
pageNumberPositionstringbottom-centerPosition: bottom-center, bottom-right, or bottom-left.
pageNumberColorstring (hex)#000000Colour of the page number text.
pageNumberFormatstringpage-n-of-mFormat: number, page-n, page-n-of-m, or dashes.
numberFrontCoverbooleanfalseWhether the front cover receives a page number.
startingPageNumbernumber1The number assigned to the first content page.

Navigation

PropertyTypeDefaultDescription
includeTableOfContentsbooleantrueWhether to generate a table of contents after the front cover.
tocDepthnumber2Heading depth for the TOC: 1 (H1 only), 2 (H1+H2), or 3 (H1+H2+H3).

Layout

PropertyTypeDefaultDescription
contentMarginsstringmediumMargin preset: small (8mm), medium (12mm), or large (20mm).
paperSizestringa4Paper size: a4 (595x842 pt) or letter (612x792 pt).
themestringlightRendering theme: light or dark.

Security and Metadata

PropertyTypeDefaultDescription
watermarkEnabledbooleanfalseWhether to overlay watermark text on all pages.
watermarkTextstring""The watermark text. Renders at 60pt, 30% opacity, 45-degree rotation.
pdfTitlestring""Document title shown in PDF reader title bar.
pdfAuthorstring""Author metadata field.
pdfPasswordEnabledbooleanfalseWhether to encrypt the PDF with a password.
pdfPasswordstring""The password required to open the PDF. RC4-128 encryption. Stored locally only.

Other

PropertyTypeDescription
lastSaveDirectorystring (optional)Remembers the user's last save location for PDF output files.

Typography Configuration

These properties are configured in Site Settings and stored in .cf.settings.json under the pdfTypography key. They persist across all publishes.

Global Defaults

PropertyTypeDefaultDescription
enabledbooleanfalseMaster toggle. When false, hardcoded defaults apply instead of custom typography.
baseFontFamilystring""Font family applied to all text elements unless overridden.
baseFontSizestring""Base font size for body text (CSS value: rem, px, pt).
baseLineHeightnumber1.6Line spacing multiplier applied to all text.
baseColorstring""Text colour applied when per-element colour is empty (hex value).

Per-Element Properties

Each element (body, h1, h2, h3, h4, h5, h6, code) supports the following properties. All are optional and inherit from global defaults when empty:

PropertyTypeDescription
fontFamilystringFont family name. Must be installed on the system running NeoArc Studio.
fontSizestringFont size as a CSS value (rem, px, pt).
fontWeightnumberNumeric weight from 100 (thin) to 900 (black).
lineHeightnumberUnitless line spacing multiplier.
letterSpacingstringSpace between characters as a CSS value (em, px).
colorstringText colour as hex value. Empty inherits from baseColor.
marginTopstringSpace above the element (headings only) as a CSS value.
marginBottomstringSpace below the element (headings only) as a CSS value.

Default Values Summary

When no custom configuration is provided, these defaults apply:

SettingDefault Value
Paper SizeA4 (595 x 842 pt)
Content MarginsMedium (12mm)
ThemeLight
Page Number FormatPage N of M
Page Number PositionBottom-centre
Starting Page Number1
Number Front CoverNo
Table of ContentsEnabled
TOC Depth2 (H1 and H2)
WatermarkDisabled
Password ProtectionDisabled
TypographyDisabled (uses hardcoded defaults)
Base Line Height1.6

Storage