How to make a book with Pollen
pollenpub.com
pollenpub.com
Is it a static site generator? A blogging engine? Does it create PDFs? Epub? I have no idea.
"Pollen is a publishing system that helps authors create beautiful and functional web-based books."
I think it might be good to get something like that on that introductory page, though, you're right.
If your one-line intro for anything includes the word "system", stop and rewrite. For example:
Pollen helps authors create beautiful and functional web-based books that are written as programs that generate HTML.
Never-have-I-ever seen anything that confuses "feature" and "benefit" so much as this project. Why do I want my next book to be a program? A 20-minute video explaining it is almost condescending.
Or "solution", for that matter; regardless of whether "enterprise" is also present.
Since you can write arbitrary Racket, you can create markup for anything you want. Write some code that automatically generates plots, formats code examples, makes custom asides and footnotes -- just like you can write arbitrary macros for LaTeX to do all sorts of things. Except with Racket instead of TeX macro goo.
It natively outputs HTML but you could have it render anything vaguely XML-y.
At the moment it feels more like TeX than LaTeX, since it provides the low-level features but not a default setup for building specific things. I'd like to try it to write a website, but there's a steep startup cost of reimplementing all the basic macros first.
This isn't some arcane library you need domain-specific knowledge to understand, it's a system with a purpose and intent that's quite explicitly explained.
It's built on top of Scribble.
I'll crawl back under my rock. . . .
Would it be wrong to call Pollen a DSL?
here's an book published by the author/developer to get the idea.
Pandoc is about reading lots of formats (eg Markdown) and writing lots of formats (eg epub, pdf, html). It has enough config options that you can reasonably produce books with it.
Pollen is like TeX. It has one input format, which is a Turing-complete programming language. It can output a limited number of formats. You have much more control about the output than with Pandoc, so can do visually pleasing typography.