Live data from Hacker News

History of roff

man7.org

11–15 of 15 posts

Re: History of roff

#11
post #2

Today 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.

"With Groff+ms you can typeset equations, letters and articles with a 486 and less than 50MB of used space. It's a gem."

A very useful feature, considering so many young kids, specially with not so doing well house income, can have Raspberry pi and produce good looking reports etc for school/ extra curricular activities, comparable to those produced by much powerful and costly hardware and software systems.

I used Groff+mom on a raspberry Pi 3b, and results were quite good for text heavy documents with some tablular data.

Re: History of roff

#12
post #9
post #6

Earlier quoted context omitted.

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.)

Yes, integrating it into a scripted workflow, including dependency-based build systems, is vastly easier. The multiple runs of TeX don't fit well into this model, and the Unix heritage of troff vs the TeX is clearly apparent in the design, which permits all the bits to be piped together. It's clearly dated and limited in many ways, but it's still extremely powerful, and it can do automated document generation very we…

> still extremely powerful, and it can do automated document generation very well.

These days I am more likely to be working in org-mode and using elisp snippets to automate stuff, but roff is a solid fallback for things like quickly turning 100 paragraphs of individual feedback into 100 formatted pdf documents that can be mailed out.

Re: History of roff

#13
post #11
post #2

Today 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.

"With Groff+ms you can typeset equations, letters and articles with a 486 and less than 50MB of used space. It's a gem." A very useful feature, considering so many young kids, specially with not so doing well house income, can have Raspberry pi and produce good looking reports etc for school/ extra curricular activities, comparable to those produced by much powerful and costly hardware and software systems. I used Gr…

Personally I prefer pandoc+latex. Most kids know markdown and those that don't can learn it very easily. I actually did my homework in college on a Raspberry pi for a few semesters just because I'm cheap and knew I could get away with it. Also some professors insist on docx so being able to generate it is very nice.

There are also some that insist on exe submissions along with your source. That mingw can cross compile for X86_64 Windows from the Raspberry pi so easily is an awesome testament to how nice a dev environment GNU/Linux is.

Re: History of roff

#15

I use the Heirloom Troff for my daily workflow: http://heirloom.sourceforge.net/doctools.html Support for Unicode, OTF fonts, Knuth's algorithm for formatting paragraphs, etc.

Curious if anyone came up with the idea to build a Linux distro based off heirloom.
Post reply on HN