58 karma · joined June 3, 2025
Love the comment on the book - I've spent too long looking at kerning and now I can only buy books that are well typeset!
That said, an export from Word to Papermill templates might be a nice addition...
https://docs.papermill.io/mcp/#using-the-papermill-mcp-serve...
You can ask Claude to generate templates, full documents, ask it about the Press language, save templates, ask it about templates and more. There's a lot more to it - design guidelines for print vs web, recipes in Press etc.
I've tried it with Fable already and it's a noticeable improvement - we support visual feedback through MCP and I think that's helping Fable a lot.
You can connect an agent to our MCP server, see: https://docs.papermill.io/mcp/#using-the-papermill-mcp-serve...
It's quite amazing to see what Claude can do when it has a tool like Papermill at its disposal - worth connecting and having a play.
In practice, you can either directly connect an LLM to the MCP server, or send via the API after (say) cleaning up LLM output, combining it with RAG and other data etc.
Weasyprint (by their own admission) have really struggled with a lot of bugs, which isn't surprising if you're allowing arbitrary HTML input - how are you getting on with that?
I think the GitHub link was supposed to be: https://github.com/WellApp-ai/Well/tree/main/ai-receipt-gene...
I'm interested in this if the OP wants to update - my company has a PDF generation API, so I'm interested in seeing LLMs do this directly.
The problem with languages like LaTeX etc. is they treat a document as a linear sequence of instructions: "write this text", "switch to justify right" etc. - I think that made sense when LaTeX was created, but publishing has come a long way and imperative thinking doesn't help.
A declarative form of document is the way forward. HTML is -kind of- like that, but unfortunately the assumption that a document is a linear list of stuff is still in there. That's one reason it doesn't work well for print.