Unix-Freunde Süd-Ost-Oberbayern

Unix Wirtshaus-Stammtisch

Custom parser, an unholly aliance of #roff and #markdown for #batch processing from #stdin more or less works!

Time to up the game 😼

@mos_8502 Probably because (even 😏) tex is more readable (and, of course, more verbose) 😉

The only thing that still forces you to use (a limited subset of) #roff (with some macro package) is authoring manpages that should work "everywhere" (read, systems without #mandoc support) 😉

Of course, still an interesting thing to cover. I guess "power users" (having to typeset stuff a lot) would actually like the pretty terse syntax.

Any groff users out there? How would you compare it to LateX?

#linux #roff #groff

@robpike I dimly remember that I found in some UNIX™ manuals that there was even #roff macro, which did exactly that.
Is there a cross-platform way to add a horizontal rule/page-separator to a man page. Must be supported by groff, nroff, troff, and BSD's roff.
#roff #groff #nroff #troff #manpage #manpages
TIL that roff calls underlined text "italic", and both man7.org and linux.die.net correctly renders roff "italic" text in <i> </i> tags, instead of underlining them (which would be more visually accurate, imo).
#manpages #roff
groff_man(7) - Linux manual page

Ich glaube ich bin gerade von dem Rabbit-Hole #roff noch tiefer in Grafiken mit #pic reingefallen. :/
Aber das ist doch GNU und voll toll :P
@rq Huh, TIL #OpenBSD's #roff variant is a lot more developed than the ones common on Linux.

@ju Goes for #roff or #troff as well, even BWK recommended this back then:

> Most documents go through several versions (always more than you expected) before they are finally finished. Accordingly, you should do whatever possible to make the job of changing them easy.
>
> First, when you do the purely mechanical operations of typing, type so subsequent editing will be easy. Start each sentence on a new line. Make lines short, and break lines at natural places, such as after commas and semicolons, rather than randomly. Since most people change documents by rewriting phrases and adding, deleting and rearranging sentences, these precautions simplify any editing you have to do later.

This has even recently been rediscovered by Brandon Rhodes and Mattt culminating sembr.org.

I've prepared basically all my docs since I started LaTeX in 9th class like this. Such a life saver.