Building PDF Document Plan
PowerDocs allows you to combine multiple Markdown files into unified publication-ready PDF documents using Document Plans.
The Document Plan Editor provides a comprehensive graphical interface to structure your document contents, customize headers and footers with dynamic variables, and track revision history.
Create and edit a Document Plan
To create a new Document plan file (.yml):
- Right-click the Explorer Panel and select Create document plan.
Plan Structure & Document Properties
The Plan Structure tab lets you define global document metadata and visually arrange the hierarchical layout of your PDF output.
Global Document Metadata
At the top of the Plan Structure tab, you can configure essential document properties:
| Field | Description | Example |
|---|---|---|
| Title | The official title of the document. | System Architecture Specification |
| Author | Primary author or technical owner. | John Doe |
| Company | Corporate or organization name. | Acme Corporation |
| Version | Current revision version string. | 1.2.0 |
| Classification | Sensitivity level (None, C0, C1, C2, C3). |
C2 (Confidential) |
Managing Plan Elements
Note
It is not possible to edit document theme styles for the moment.
Use the toolbar to add and organize components in your document plan:
- Add Cover Page: Inserts a title page formatted with your document's global metadata (Title, Author, Company, Version, Date).
- Add Summary: Inserts an automatically generated Table of Contents (TOC) based on document headers.
- Add Page: Opens a file selection dialog to attach an individual Markdown (
.md) file to the plan tree. - Add Chapter: Inserts a named chapter divider to group related pages into logical sections.
- Add Change Log: Inserts the version change history table into the PDF flow.
- Delete: Removes the selected element from the plan.
- Rename: Renames the selected chapter or changes the target Markdown file path.
- Move Up / Move Down: Reorders elements sequentially within the document outline.
Customizing Headers and Footers
The Header & Footer tab allows you to define custom running headers and footers across all pages of your generated PDF.
Position Alignment
Both header and footer bands are divided into three distinct alignment zones:
- Left: Left-aligned text.
- Center: Centered text.
- Right: Right-aligned text.
Dynamic Variable Guide
You can insert dynamic placeholders into any header or footer field. PowerDocs automatically replaces these variables at render time:
| Variable | Description | Output Example |
|---|---|---|
%Page |
Current page number | 1 |
%PageCount |
Total number of pages | 24 |
%Title |
Document title | System Architecture Specification |
%Company |
Company or organization name | Acme Corporation |
%Author |
Document author name | John Doe |
%Date |
PDF build/generation date | 2026-09-02 |
%Version |
Document version number | 1.2.0 |
Recommended Header & Footer Layouts
- Standard Page Numbering:
- Footer Right:
Page %Page / %PageCount
- Footer Right:
- Corporate Metadata Header:
- Header Left:
%Company - Header Center:
%Title - Header Right:
v%Version
- Header Left:
- Audit & Copyright Footer:
- Footer Left:
%Author - %Date - Footer Center:
Confidential - Footer Right:
Page %Page of %PageCount
- Footer Left:
Change History & Revision Tracking
The Change History tab enables enterprise revision control directly inside your PDF document.
Maintaining Revision Entries
You can log document changes using the history toolbar:
- Add: Creates a new revision record initialized with today's date, current author, and document version.
- Delete: Removes the selected revision entry.
- Move Up / Move Down: Reorders revision entries chronologically.
Each entry in the table contains:
- Date: Date of the modification (e.g.,
2026-09-02). - Author: Name of the contributor responsible for the revision.
- Change Description: Detailed summary of updates made in this revision.
- Version: Version number associated with the revision.
Rendering the Change Log in PDF
To display the change history table inside your final PDF output:
- Populate your revision list in the Change History tab.
- Return to the Plan Structure tab.
- Click Add Change Log (
BtnAddChangeLog) to place the Change Log element at your preferred position (typically right after the Cover Page or Summary).
PDF Preview and Saving
At the bottom of the Document Plan Editor window, you have quick access to:
- Preview PDF: Generates an instant live PDF preview window to inspect layout, headers, footers, and table formatting before exporting.
- Save: Persists the document plan configuration to a YAML (
.yml) file. - Close: Dismisses the editor window.