mbutterick/quad

quad usage with pollen source files

Closed this issue · 1 comments

Hi @mbutterick -- in the future, do you think it will be possible to render to PDF directly from pollen source files?

E.g. I have a website which relies completely on pollen, and I would be curious if you could just go quad render -r . (or otherwise, render specific *.html.pm files directly when given a pollen.rkt + CSS)

Anyways -- I don't fully understand quad, so maybe this question is naive :)

Edit: I will also post those over at the pollen-users repo.

Edit2: Looks like there's a lot of material over there, will close.

See Combining Quadwriter with Pollen. To output a whole site as a single PDF, you’d just need to create a script that joins all the doc exports from the individual Pollen sources into a single Q-expression.