3 ms·
It's a short project, but here's an example in Latex+Git(hub)+Pandoc: https://github.com/cosmoosic/wool-june-rud-story https://github.com/cosmoosic/wool-june-ru
by woolion 3y ago
It's a short project, but here's an example in Latex+Git(hub)+Pandoc: https://github.com/cosmoosic/wool-june-rud-story https://github.com/cosmoosic/wool-june-rud-story
I wrote a longer novella using the same approach, the repo still private as it's in copyediting phase (but it could be opened if there's interest).
Using this, I only need to use make to generate both pdf and epub versions (or more formats if needed) -- the makefile has been simply extended with `pandoc -o nl21.epub main.tex`.
Because you can simply split the "main" file and the content, you can just have a short file for different formats -- one for print with left/right margins, one for screens with uniform margins, one smaller for ebook readers, etc.
You can make subfolders to properly organize content, images on one side, chapters in individual subfolders (all depending on how long it's going to be).
In Latex it's trivial to define macros to shorten anything that either you might repeat often, or things like dialog environments.
Latex is well integrated with Tikz or other vector formats for diagrams.
Technically Pandoc can go from anything to anything, but I went back to Latex as it's the solution that gives you the best control over your documents while also getting 'out of the way' in all cases where you just want to write down and let the layout be managed by your theme. The syntax has its quirks and the install is heavy, but I find it to be my favourite software stack.