History of roff
man7.org
History of roff
1–10 of 15 posts
Re: History of roff
#2groff -step -k file.groff > file.pdf
Groff+mom it's like Texlive for TeX.
The last one it's best suited for writers.
With Groff+ms you can typeset equations, letters and articles with a 486 and less than 50MB of used space. It's a gem. Postscript can be set with -Tps for Groff, it may be lighter on rendering. The GV viewer opens both PDF and PS files.
Re: History of roff
#3Today Groff+ms it's easy: groff -step -k file.groff > file.pdf Groff+mom it's like Texlive for TeX. The last one it's best suited for writers. With Groff+ms you can typeset equations, letters and articles with a 486 and less than 50MB of used space. It's a gem. Postscript can be set with -Tps for Groff, it may be lighter on rendering. The GV viewer opens both PDF and PS files.
Apparently mom and ms are some packages full of macros to use with Groff. I am not familiar with these tools and was a bit confused until I read some man pages.
Re: History of roff
#4Re: History of roff
#5I’ve wanted to learn the roff ecosystem since I learned W. Richard Stevens (RIP) used troff for his books. 25 years later it’s probably time to accept the fact that I won’t.
Re: History of roff
#6I’ve wanted to learn the roff ecosystem since I learned W. Richard Stevens (RIP) used troff for his books. 25 years later it’s probably time to accept the fact that I won’t.
Given that we have latex, pandoc, markdown, asciidoc, etc., I really don't see the need to learn it. At the time it was probably a great and transformative tool, but using TeXMaker or TeXStudio and latex gives a far more comfortable writing environment and the documents you can make are much better looking.
Groff is lightweight and already installed on most Linux systems, and the build process is way cleaner than TeX. It's easy to make a Python script that reads some data and prints a nice-looking report (or a form letter, etc.)
Re: History of roff
#7I wanted to get that point, so I learned enough troff to write a solution to Towers of Hanoi with it
Re: History of roff
#8Re: History of roff
#9Earlier quoted context omitted.
Given that we have latex, pandoc, markdown, asciidoc, etc., I really don't see the need to learn it. At the time it was probably a great and transformative tool, but using TeXMaker or TeXStudio and latex gives a far more comfortable writing environment and the documents you can make are much better looking.
I wouldn't manually write documents in groff these days, but I have found that it can still be useful for automatically generated PDF reports/documents. Groff is lightweight and already installed on most Linux systems, and the build process is way cleaner than TeX. It's easy to make a Python script that reads some data and prints a nice-looking report (or a form letter, etc.)
While we do have more modern stuff like Markdown and ReStructured Text, these are in their own way extremely limited and are primarily focussed upon transformation to HTML. troff is focussed upon printing, and if you want nice PDF reports, and you don't want the slowness and excessive disk space consumption of TeX, it can be an excellent solution.