hmemcpy/milewski-ctfp-pdf ? reverse-engineered prompt

Reverse engineered prompt

Build me a project that can generate the PDF for Bartosz Milewski’s Category Theory for Programmers from the LaTeX source.

I want it to be easy to build different editions, like the main Haskell version plus the Scala, OCaml, and Reason versions, and I want the final PDF to land in a simple output folder. Please make the build process reliable, with a clear one step way to get everything working on a fresh machine, ideally using Nix if that fits best.

Also include the source files, figures, and any scripts needed to produce the book, and make sure the README tells me how to build each edition and where to find the result. If there are known fixes or errata, keep those organized too.

If you need to check current docs or tooling details online, go ahead and do that.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab