4 ms·
I've been writing on Linux/Unix systems since the late 1980s, including now a few book-length projects. Tools have varied over the years, including some uni wo
by dredmorbius 8y ago
I've been writing on Linux/Unix systems since the late 1980s, including now a few book-length projects. Tools have varied over the years, including some uni work in nroff, HTML, and more recently, LaTeX and Markdown, among other markup languages.
LaTeX strikes me as the ultimate tool, and far less intimidating than most people seem to think (Laport's book is an excellent intro), though for most purposes, Markdown is more than sufficient. In practice, I tend to use Markdown and either include inline LaTeX as needed, or convert to LaTeX and continue editing in that where finer-grained control is necessary.
I'd add pandoc to the toolkit, as well as GNU Make. With the two, I've got a standard makefile that can output a wide range of formats (I refer to them as "endpoints") ranging from ASCII text to standalone or snippets of HTML, PDFs, PS, MS Word, OSX, Mediawiki, and others. Adding a new endpoint is a simple matter of tweaking the makefile.
One piece of organisational advice: Do NOT apply your chapter numbers to your filenames. Instead, allow your principle document outline, using an include structure, to define the flow of the text. Depending on the project size and complexity, I'll either directly include chapters within that level, or have a top level of parts with chapters specified (as second-level includes) within those.
As you decide you need to re-work flow, this becomes much easier to manage and rearrange than if you'd pre-labled the files themselves.
- User23 8y agoTeX is necessary when you want to go to print and have a high level of quality, especially if any math is involved. For screen display Markdown is sufficient.
- dredmorbius 8y agoIn addition to HTML for online viewing, I tend to produce PDFs or ePub formats for reading, either onscreen, on a tablet, or (very rarely) printed. I've discovered that consistent pagination really matters to me for content retention, an argument which still favours PDFs over many alternatives (though Postscript and DJVU offer similar capabilities). Markdown is very nearly fully sufficient, and for almost any nontechnical work with minimal art or layout, will suffice. It falls flat in some interesting areas: There's no underbar/underline markup. There is no native colour markup. There is no formula support -- not something typically encountered in most texts, but when you need it, you need it. There is no fine-grained placement control for callouts, boxes, figures, images, etc. They simply appear where they happen to be dropped on a page. (In several of these cases, you can revert to embedded HTML or styles, which are fine when rendering to HTML, but this won't be picked up by all Pandoc endpoints.) Mind, if a work consists of nothing more than text, bold, italic, strikethrough, super/sub-script, lists, tables, sections, footnotes/endnotes, and images whose placement is not critical, Markdown is entirely sufficient. But if you find you need more control, exporting to LaTeX and doing your final editing there will buy you a great deal more control.