• by schoen on 4/24/2022, 4:13:39 AM

    There used to be a "purity test for programmers" which asked if you could solve the Towers of Hanoi using troff.

    I wanted to get that point, so I learned enough troff to write a solution to Towers of Hanoi with it

    http://www.loyalty.org/~schoen/troff-hanoi.txt

  • by anthk on 4/23/2022, 6:09:08 PM

    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.

  • by baruchel on 4/24/2022, 12:12:56 PM

    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.

  • by hawski on 4/24/2022, 8:28:52 AM

    What is groff's hyphenation format? I see that it has hyphenation data only for a handful of languages (not including mine).

  • by macintux on 4/24/2022, 2:18:31 AM

    I’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.