I have multiple ways for different reasons:

My website is generated using static fragments and page fragments.

The blog however is a troff source that's converted to a static page fragment. This way I can output a nice pdf too.

I made shithub.us/sirjofri/epublish which uses a markdown-like format for text sources and outputs an ebook as pdf (via troff) and epub (custom converter). You can look at the sources, they use awk to convert the texts.

sirjofri

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Te71ff4b45d15900f-M77cde86a99b64740be9a7077
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to