How can I render multiple pages project into a single pdf?
#20
Open
opened 5 years ago by shen390s
·
3 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Such as I want to render https://github.com/otherjoel/try-pollen.git into a single document(such as try-pollen.pdf) to include all chapters of document.
I'd assume that you'd create a page that calls
(dynamic-require path 'doc)
(and(dynamic-require path 'metas)
if you need any meta information) for each page that you want to include, then embeds each page's contents.That's basically how I’m doing it in that repo, but it's even faster to skip
dynamic-require
altogether and useselect-from-doc
etc. directly on the files. As the docs note, using Pollen's functions to retrieve doc/metas from a Pollen source is going to be faster since that way you’ll be taking advantage of Pollen’s cache.Right, I almost forgot about
select-from-doc
.