4 ms·
Org mode for writing books... I've started writing a book in org-mode. The writing is all fine, but the exporting is a bit of a pain! Anyone else doing this and
by boothead 14y ago
Org mode for writing books... I've started writing a book in org-mode. The writing is all fine, but the exporting is a bit of a pain! Anyone else doing this and have any tips on pdf export from org?
edit grammar
- lukev 14y agoI've done it with Stuart Sierra for ClojureScript: Up and Running (O'Reilly 2012). To get high quality results, go through an intermediate format that's designed for publishing. Org mode can export to DocBook XML, then run an XLST on to make any tweaks in the elements used. Then either use your publisher's tools or XSL:FO to typeset it. Using this technique it's possible to get extremely high quality results.
- jfb 14y agoorg -> LaTeX? That's how I generate docs at work.
- boothead 14y agoYeah I am doing it with LaTeX, but it was a shock to the system how much actual LaTeX I had to mess with to make it work (and not look butt ugly) and I wondered if anyone had a more streamlined workflow (or better tools.)
- tincholio 14y agoI made a simple elisp snippet to insert a bunch of LaTeX headers for the stuff I use (including my own LaTeX packages), and found that it simplifies the work quite a bit.
- boothead 14y agoI ended up making my own package (which I stole from sphinx) and including it so I can keep all of my style separate and pick and choose what other stuff I use - like minted for example. I've found it a bit of a mixed bag though - setting up minted in one of me .el files and some of it's styling in my .sty file. Not sure if I'm really doing it right, but the output looks OK for now and I assume it will be much easier to tweak it in future.
- jfb 14y agoI just roll with butt ugly for my docs. I figure, at least I'm generating them.