Skip to content

Build PDFs#1

Open
LewisJEllis wants to merge 1 commit intoStandardCap:mainfrom
LewisJEllis:build-pdfs
Open

Build PDFs#1
LewisJEllis wants to merge 1 commit intoStandardCap:mainfrom
LewisJEllis:build-pdfs

Conversation

@LewisJEllis
Copy link
Copy Markdown

@LewisJEllis LewisJEllis commented Sep 16, 2025

Someone in a thread asked for PDFs, and I found myself wanting them too; Dalton mentioned that lawyers operate on .docx and thus the canonical source should be .docx, which makes sense, but it seemed easy enough to script some pdf generation and have CI make sure it stays in sync.

Note that the pdf generation is not deterministic / idempotent, as there's some random object id generation + current timestamp metadata stuff going on. I wanted to just do "generate pdfs from inputs, check no git diff, good", but instead had to settle for "generate checksums of inputs, track those, make sure they didn't change". So there's no strong verifiability / provenance here, but it does the job for "I only read PDFs please just let me read a PDF to check it out" type purposes, and if you modify only a .docx then CI will remind you to rebuild the pdfs. Example of the CI check running on my fork here.

I did some exploration of options / approaches and wrote the README, then Claude wrote all the yaml and bash. Feel free to take this and modify / run with it however you like!

@rosaboyle
Copy link
Copy Markdown

@berg Agree with @LewisJEllis makes it easy to view on mobile and also to share

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.

2 participants