Printable PDF built by build.sh

- WeasyPrint renders site/Paul_Trowbridge_Resume.pdf from the print styles
- Print CSS: US Letter, two pages, one rule per section, footer with
  contact info and page numbers, bullets never split across pages
- Header: tagline on its own line, screen-only PDF link, author metadata

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Paul Trowbridge 2026-10-11 23:22:56 -04:00
parent 929ddac3f1
commit 3ae2eb1a69
8 changed files with 81 additions and 46 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.venv/

View File

@ -10,7 +10,9 @@ The resume is authored in Markdown and compiled to HTML with pandoc:
bash build.sh bash build.sh
``` ```
This builds `paul_trowbridge.md` → `site/pt.html` and `work.md` → `site/work.html` with pandoc, and copies `styles.css` into `site/`. This builds `paul_trowbridge.md` → `site/pt.html` and `work.md` → `site/work.html` with pandoc, and copies `styles.css` into `site/` and `img/`, then renders `site/Paul_Trowbridge_Resume.pdf` from `site/pt.html` with WeasyPrint (the `@media print` / `@page` rules in `styles.css` control it: US Letter, two pages, footer with page numbers).
PDF prerequisites (one-time, no sudo): `python3 -m venv .venv && .venv/bin/pip install weasyprint` (`.venv/` is gitignored), and the Carlito font — metric-compatible with Calibri — in `~/.fonts`. Without Carlito the PDF falls back to a wider font and may spill onto a third page. After content changes, check the PDF is still two pages.
`site/` is the public web root (nginx serves it at https://hptrow.me/) — only built output belongs there, so the repo itself is never served. Do not edit files in `site/` directly. All content changes go in `paul_trowbridge.md` (resume) or `work.md` (portfolio page). `site/` is the public web root (nginx serves it at https://hptrow.me/) — only built output belongs there, so the repo itself is never served. Do not edit files in `site/` directly. All content changes go in `paul_trowbridge.md` (resume) or `work.md` (portfolio page).

View File

@ -7,3 +7,6 @@ pandoc paul_trowbridge.md -o site/pt.html --css styles.css --standalone
pandoc work.md -o site/work.html --css styles.css --standalone pandoc work.md -o site/work.html --css styles.css --standalone
cp styles.css site/ cp styles.css site/
cp -r img site/ cp -r img site/
# printable PDF (WeasyPrint in .venv, Carlito font in ~/.fonts stands in for Calibri)
.venv/bin/weasyprint -q site/pt.html site/Paul_Trowbridge_Resume.pdf

View File

@ -1,10 +1,11 @@
--- ---
pagetitle: Paul Trowbridge — Resume pagetitle: Paul Trowbridge — Resume
author: Paul Trowbridge
--- ---
# Paul Trowbridge # Paul Trowbridge
**FP&A & Finance Transformation Leader** **FP&A & Finance Transformation Leader**\
Stow, Ohio • 330.819.3826 • paul.hptrow@gmail.com • [hptrow.me](https://hptrow.me) Stow, Ohio • 330.819.3826 • paul.hptrow@gmail.com • [hptrow.me](https://hptrow.me)[ • [PDF](Paul_Trowbridge_Resume.pdf)]{.no-print}
--- ---

Binary file not shown.

View File

@ -4,6 +4,7 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="generator" content="pandoc" /> <meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<meta name="author" content="Paul Trowbridge" />
<title>Paul Trowbridge — Resume</title> <title>Paul Trowbridge — Resume</title>
<style> <style>
code{white-space: pre-wrap;} code{white-space: pre-wrap;}
@ -17,7 +18,8 @@
</head> </head>
<body> <body>
<h1 id="paul-trowbridge">Paul Trowbridge</h1> <h1 id="paul-trowbridge">Paul Trowbridge</h1>
<p><strong>FP&amp;A &amp; Finance Transformation Leader</strong> Stow, Ohio • 330.819.3826 • paul.hptrow@gmail.com • <a href="https://hptrow.me">hptrow.me</a></p> <p><strong>FP&amp;A &amp; Finance Transformation Leader</strong><br />
Stow, Ohio • 330.819.3826 • paul.hptrow@gmail.com • <a href="https://hptrow.me">hptrow.me</a><span class="no-print">• <a href="Paul_Trowbridge_Resume.pdf">PDF</a></span></p>
<hr /> <hr />
<h2 id="summary">Summary</h2> <h2 id="summary">Summary</h2>
<p>FP&amp;A leader with 19 years in manufacturing finance, across publicly traded and private-equity-owned businesses. Owns the full planning cycle — annual operating plans, rolling forecasts, 3-statement and liquidity modeling, and the business partnering that turns numbers into decisions — and builds the data infrastructure beneath it. Has stood up pricing functions, automated consolidation across ERP systems, and analytics platforms from scratch, and developed internal talent to sustain them — using AI coding tools to deliver capability that would otherwise require a BI team, a cloud platform, and outside consultants.</p> <p>FP&amp;A leader with 19 years in manufacturing finance, across publicly traded and private-equity-owned businesses. Owns the full planning cycle — annual operating plans, rolling forecasts, 3-statement and liquidity modeling, and the business partnering that turns numbers into decisions — and builds the data infrastructure beneath it. Has stood up pricing functions, automated consolidation across ERP systems, and analytics platforms from scratch, and developed internal talent to sustain them — using AI coding tools to deliver capability that would otherwise require a BI team, a cloud platform, and outside consultants.</p>

View File

@ -152,42 +152,55 @@ code {
color: var(--blue-dark); color: var(--blue-dark);
} }
/* --- Print Styles --- */ /* --- Links --- */
@page { a { color: var(--blue-mid); text-decoration: none; }
margin: 0.7in 0.4in 0.4in 0.4in;
}
@page :first { /* --- Print Styles (browser print and the build.sh PDF) --- */
margin-top: 0.4in; @page {
size: letter;
margin: 0.5in 0.55in 0.55in;
@bottom-left { content: "Paul Trowbridge \2022 330.819.3826 \2022 paul.hptrow@gmail.com"; font: 9px var(--font); color: #595959; }
@bottom-right { content: "Page " counter(page) " of " counter(pages); font: 9px var(--font); color: #595959; }
} }
@page :first { @bottom-left { content: none; } }
@media print { @media print {
body { body {
margin: 0; margin: 0;
padding: 16px 36px; padding: 0;
font-size: 12.5px; font-size: 11.5px;
line-height: 1.5; line-height: 1.38;
max-width: 100%; max-width: 100%;
} }
h1 { font-size: 1.8em; } h1 { font-size: 2em; margin-bottom: 2px; }
h2 { font-size: 0.72em; margin-top: 20px; margin-bottom: 10px; } h1 + p { margin-bottom: 6px; }
h3 { margin-top: 14px; } h2 { font-size: 0.78em; margin-top: 16px; margin-bottom: 7px; padding-bottom: 3px; }
hr + h2 { margin-top: 16px; }
h1 + p + hr + h2 { margin-top: 0; }
h3 { margin-top: 10px; }
h4 { margin-top: 8px; margin-bottom: 2px; }
p { margin-bottom: 5px; }
ul { margin: 4px 0 8px 0; } /* One rule per section: the h2 underline carries it; keep only the rule under the header */
ul li { margin-bottom: 3px; } hr { display: none; }
h1 + p + hr { display: block; margin: 6px 0 10px; border-top-width: 2px; }
hr { margin: 10px 0 16px; } ul { margin: 2px 0 6px; padding-left: 2px; }
ul li { margin-bottom: 2px; padding-left: 13px; line-height: inherit; }
/* Avoid breaking roles across pages */ .no-print { display: none; }
h4 { page-break-after: avoid; }
ul { page-break-inside: avoid; } /* Keep headings with what follows; never split a single bullet */
h3 { page-break-after: avoid; } h2, h3, h4 { break-after: avoid; }
p + ul { page-break-before: avoid; } li { break-inside: avoid; }
p, li { orphans: 2; widows: 2; }
a { color: inherit; }
} }
/* --- Responsive (mobile) --- */ /* --- Responsive (mobile) --- */
@media (max-width: 600px) { @media screen and (max-width: 600px) {
body { body {
padding: 20px; padding: 20px;
font-size: 14px; font-size: 14px;

View File

@ -152,42 +152,55 @@ code {
color: var(--blue-dark); color: var(--blue-dark);
} }
/* --- Print Styles --- */ /* --- Links --- */
@page { a { color: var(--blue-mid); text-decoration: none; }
margin: 0.7in 0.4in 0.4in 0.4in;
}
@page :first { /* --- Print Styles (browser print and the build.sh PDF) --- */
margin-top: 0.4in; @page {
size: letter;
margin: 0.5in 0.55in 0.55in;
@bottom-left { content: "Paul Trowbridge \2022 330.819.3826 \2022 paul.hptrow@gmail.com"; font: 9px var(--font); color: #595959; }
@bottom-right { content: "Page " counter(page) " of " counter(pages); font: 9px var(--font); color: #595959; }
} }
@page :first { @bottom-left { content: none; } }
@media print { @media print {
body { body {
margin: 0; margin: 0;
padding: 16px 36px; padding: 0;
font-size: 12.5px; font-size: 11.5px;
line-height: 1.5; line-height: 1.38;
max-width: 100%; max-width: 100%;
} }
h1 { font-size: 1.8em; } h1 { font-size: 2em; margin-bottom: 2px; }
h2 { font-size: 0.72em; margin-top: 20px; margin-bottom: 10px; } h1 + p { margin-bottom: 6px; }
h3 { margin-top: 14px; } h2 { font-size: 0.78em; margin-top: 16px; margin-bottom: 7px; padding-bottom: 3px; }
hr + h2 { margin-top: 16px; }
h1 + p + hr + h2 { margin-top: 0; }
h3 { margin-top: 10px; }
h4 { margin-top: 8px; margin-bottom: 2px; }
p { margin-bottom: 5px; }
ul { margin: 4px 0 8px 0; } /* One rule per section: the h2 underline carries it; keep only the rule under the header */
ul li { margin-bottom: 3px; } hr { display: none; }
h1 + p + hr { display: block; margin: 6px 0 10px; border-top-width: 2px; }
hr { margin: 10px 0 16px; } ul { margin: 2px 0 6px; padding-left: 2px; }
ul li { margin-bottom: 2px; padding-left: 13px; line-height: inherit; }
/* Avoid breaking roles across pages */ .no-print { display: none; }
h4 { page-break-after: avoid; }
ul { page-break-inside: avoid; } /* Keep headings with what follows; never split a single bullet */
h3 { page-break-after: avoid; } h2, h3, h4 { break-after: avoid; }
p + ul { page-break-before: avoid; } li { break-inside: avoid; }
p, li { orphans: 2; widows: 2; }
a { color: inherit; }
} }
/* --- Responsive (mobile) --- */ /* --- Responsive (mobile) --- */
@media (max-width: 600px) { @media screen and (max-width: 600px) {
body { body {
padding: 20px; padding: 20px;
font-size: 14px; font-size: 14px;