176 points | by nesarkvechnep2 days ago
One of my "one day..." projects is to try and reimplement a subset of Pollen using https://github.com/racket/zuo which I think would make it much easier to integrate as a much smaller dependency. But maybe the whole "ease of use" budget is blown by using a Lisp in the first place. :)
In any case, if you've ever had to write a technical manual before (or some kind of heavy technical reference), I think you should give Pollen a try. It has much more general answers to a lot of problems you encounter when writing complex web documents. It is an interesting, useful, and pragmatic point in the design space, IMO.
The default editor (DrRacket) has a lot of add-ins enabled by default and also support for graphics and debugging. It's possible to disable most of the extensions so it load faster and also disable debugging to make the programs run faster (in exchange of less helpful error messages).
Pollen seems like a power tool; my needs are largely met by Scribble, but I’d like to get more comfortable with Pollen.
You can also use Pollen to write Latex! Before Quad (https://docs.racket-lang.org/quad/), a quick way to get a PDF output of your Pollen document would be to output Latex from Pollen, then use the resulting document to generate your PDF.
I didn't use it to create the ebook or PDF though as you have to create everything from scratch that way. I forked the web version[1] to make it generate the epub and I laid out the physical book using InDesign.
If I ever write a book again I'd probably start looking at alternatives that make the epub/PDF generation easier.
[0]: https://www.jonashietala.se/blog/2020/05/03/how_i_wrote_my_b...
[1]: https://www.jonashietala.se/blog/2024/02/17/how_i_did_the_la...
> Are they better than the last digital books you encountered?
Sadly, they aren’t. One lacks any navigation on the pages. The others have some navigation, but lack an accessible TOC on the page for context, something I have come to expect from digital books. Furthermore there is no way to search the contents of the book. This is a non-negotiable in my book. Pun intended. :)
Also missing, is any other format, such as PDF and ePub, which is also a deal-breaker for me, as I want my books to work for as wide an audience as possible.
> Would you like your next digital book to work like that?
No thanks. But the design is nice. I hope the system keeps improving.
Here is a link straight to book info: https://quarto.org/docs/books/
Isn’t ePub just zipped XHTML? And you can easily turn HTML into PDF by using the “print to PDF” feature.
Or go through the process manually of printing 20 separate web pages and then merging them into one PDf and then figuring out how to create a table of contents at the beginning and a bibliography at the end with links that actually work.