- 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>
13 lines
520 B
Bash
Executable File
13 lines
520 B
Bash
Executable File
# prior build approach
|
|
#pandoc -s -c css/markdown.css paul_trowbridge.md -o pt.html
|
|
|
|
# current build approach: everything public goes in site/, which nginx serves as the web root
|
|
mkdir -p site
|
|
pandoc paul_trowbridge.md -o site/pt.html --css styles.css --standalone
|
|
pandoc work.md -o site/work.html --css styles.css --standalone
|
|
cp styles.css 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
|