Skip to content

🖌️ Add professional filing style, portable configurations, and draggable letterhead layout - #38

Merged
JFWooten4 merged 6 commits into
mainfrom
dubstep-growl
Oct 13, 2026
Merged

JFWooten4 merged 6 commits into
mainfrom
dubstep-growl

Conversation

@codex-pony

@codex-pony codex-pony Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

What changes

Add a Professional filing presentation preset alongside the unchanged Classic default. Inspired by the layout of this SEC-filed OCC comment letter, rather than presented as an SEC-mandated format, it selects one-inch side margins, 12 pt Times body text with 1.5× line spacing, justified paragraphs with first-line indents, compact headings, 10.5 pt footnotes, plain inset quotations, and page numbers inside the bottom margin. The renderer can shrink the reserved area for short footnote sets and reclaim body space where no page footnotes appear. It also keeps footnote references with the correct fragment of a paragraph split across pages and establishes destinations for rendered notes. The preset is available in the Typography step, through --render-style professional on the CLI (with Page X of N numbering), and via TypographySettings.for_style("professional", ...); individual controls remain editable.

Add Export config and Import config actions to carry settings between sessions or machines as a versioned pdf-compiler-config.json. This includes the chosen style, custom typography, letterhead positioning, metadata, footnote and section settings, headers/footers, colors, and licensing options. Import validates the configuration before changing controls, reapplies the selected preset before saved overrides, and preserves the current Markdown and uploaded assets; the exported JSON does not include those files.

Add an opt-in draggable first-page letterhead editor. Reposition the existing header, logo/wordmark, visible title, Quote #, date, submission subtitle, and addressee; adjust width, alignment, and visibility; nudge with arrow keys; or add up to 12 custom labeled text fields. Layout data is validated in the browser and renderer, the document body starts below the lowest visible field, and turning the editor off retains the original fixed arrangement.

New regression tests cover preset rendering and explicit overrides, footnote continuation and internal links, first-page placement and invalid layouts, and configuration round-trips, overrides, and rejection of invalid imports. The diff adds these tests; it does not establish that every test was executed in this drafting session.

Related work

The filing preset extends the existing configurable Times typography:
#9

The movable letterhead builds on the distinct visible first-page title and established identity layout:
#11

The footnote handling touches behavior established by clickable note links and configurable endnote placement:
#20

#35

A separately open proposal also implements a draggable letterhead editor. Its overlap is substantive; this branch is not based on that PR, so the two implementations should be reconciled rather than assumed additive:
#37

JFWooten4 and others added 5 commits October 13, 2026 14:17
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
@vercel

vercel Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
pdf Ready Ready Preview Oct 13, 2026 6:49pm UTC

Reconcile the separate first-page letterhead squash merge with the expanded layout editor, professional filing style, and portable configuration work. Preserve the existing PR #37 README feature entry alongside PR #38 documentation.

Co-authored-by: Codex Web <noreply@openai.com>
@JFWooten4
JFWooten4 merged commit 077c41b into main Oct 13, 2026
1 of 2 checks passed
@JFWooten4
JFWooten4 deleted the dubstep-growl branch October 13, 2026 18:48

This branch was successfully deployed

1 active deployment
Preview — 30a6bff5 Deployed Oct 13, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant