Has anyone any recommendations for tools / styling for #ebooks? I'm looking at #asciidoc to #epub but I'm wondering what the "right" way to style the epub should be

#aeonglass #writersofmastodon #ebook #writing #writingcommunity

@Kroc @kirtai I’m using pandoc-publish. Link and example here https://aus.social/@Unixbigot/116156840668636158
Kit Bashir (@[email protected])

Oh hey, do you (yes YOU) publish toots on a regular theme (art, fiction, particular niche interests)? Would you like to archive them to a searchable blog and/or RSS feed? I wrote a program to do that. The tl-dr is that I use the "Hugo" blogging engine which compiles markdown files into blog posts on a static site (no wordpress, no database, no hacking surfaces). Then I use this script that I wrote to search my mastodon and make new markdown files for any new toots. I run it once with -- count=0 to get all matching toots forever, then daily with --count=14 to update the last two weeks' toots (refreshing likes etc, on recent posts). Then it's the standard compile-the-blog-and-push-it-to-the-server process. https://github.com/unixbigot/rankle?tab=readme-ov-file#blog-archiving The same process can also be combined with Matt @[email protected] Gemmel's https://github.com/mattgemmell/pandoc-publish to turn a collection of toots into an e-book.

Aus.Social
@Unixbigot @mattgemmell OK, this looks real good but I'm concerned that the sample books / CSS are also GPL3, like the code, which I can't use if I'm wanting to publish a commercial book; I can't use this as a starting point or edit the book without having to release my manuscript in the open
@Kroc Hmmmn not sure if that was the intent of the code license to cover object files. @mattgemmell could you clarify please?
@Unixbigot @Kroc The intention is very much that the examples are yours to use however you wish, without any limitation. I wonder what the best way to express that is. An alternate license file within the examples folders, granting them as public domain or such?
@mattgemmell @Kroc that’s what I’d do, yeh.
@mattgemmell @Unixbigot Yes, if you could clarify it as such; perhaps include a comment line at the top of the files to say that they are PD / CC0 or something like MIT/BSD as it please you. Thanks