3 ms·
troff takes a little bit more work but it can put out some very nice-looking documents with a lot of control over the formatting and some pretty handy utilities
by jff 10y ago
troff takes a little bit more work but it can put out some very nice-looking documents with a lot of control over the formatting and some pretty handy utilities for tables and math and such. For example, pretty much all the Plan 9 papers were written in troff: https://9p.io/sys/doc/ https://9p.io/sys/doc/
- privong 10y agoOkay. I guess what I'm wondering is, if I'm already reasonably proficient in LaTeX (for documents where I want/need lots of control) is there an advantage to learning/using troff versus using markdown?
- mzs 10y agoNo two latex installations are the same.
- privong 10y ago> No two latex installations are the same. Sure, but that doesn't address my question about whether I should use troff versus markdown for things where I don't need the power and complexity of LaTeX.
- jff 10y agoIn my opinion, I'd say pull out troff if you're thinking about making a PDF, or if you want tables or equations (see http://www.troff.org/prog.html http://www.troff.org/prog.html). Personally, I mostly use markdown when I want to generate some HTML but don't feel like typing tags by hand, or just as a sort of "style guideline" when writing text files.
- mzs 10y agoI meant when in two years you add something to your tex file and make blows-up, that's a reason to use roff if you can get away with it.
- privong 10y agoGotcha, thanks for the clarification. I guess I don't use very many "exotic" packages, so I haven't had much of an issue with old LaTeX files not compiling. Though, I also rarely have to go back and recompile them.