Conversation

Christian Brauner 🦊🐺

Edited 10 days ago

Honestly, I'm prepared to start a kickstarter for whatever amount of money it takes for someone to port Linux man-pages from groff to markdown.

@cyphar is doing the important work as usual

https://lore.kernel.org/20250807-new-mount-api-v2-0-558a27b8068c@cyphar.com

but groff must be one of the original sins. Like, Moses came down from the mountain and was like "don't do groff" but accidently dropped the first stone table or something. Like seriously, everytime I have to look at patches I die a little inside.

4
3
0

@brauner @cyphar I'm big fan of not having .*roff around as source files these day; I consider them compiled output typically generated from markdown or similarly useful formats. It's just not a good format for documentation (no real hyperlinks, very restricted formatting); it's a "tolerable" intermediate representation for console rendering of documentation.

(me ranting on that can be found on the web, e.g., https://unix.stackexchange.com/a/797857/106650, and I don't seem to be the only one, even among graybeards)

0
0
0
@brauner @cyphar The original nroff and troff from which groff descends had to do typesetting (and in troff's case, phtoto-typesetting) on systems having a 64Kbyte address space. So Moses simply did not have sufficient space to record nroff and troff as sins on his tablets. Plus there is not a huge number of people who, like me, are older than nroff and troff, but I am here to tell you that both nroff and troff seemed pretty nice to me back in the day.

So who knows? It just might be time for a change in format. After all, I long ago made the switch from nroff/troff to LaTeX. ;-)
0
0
6

Vlastimil Babka 🇨🇿🇪🇺🇺🇦

@ljs @paulmckrcu @brauner @cyphar tried building it now after you fixed your RAM speeds?

0
0
0
@ljs @brauner @cyphar LaTeX is not perfect, and it has a learning curve, but it is quite capable. Especially if you cheat like I do and so some of the work in other scripting languages.

As to the LaTeX build times, I suspect that they are much more tolerable when your book is less than 700 pages. ;-)
0
0
3
@ljs @brauner @cyphar Huh. Maybe I should bite the bullet and learn TiKZ. ;-)
0
0
2
@brauner @cyphar Nah, markdown would be pretty horrible unless it's effectively with a designated tool like scdoc/lowdown (pretty please not pandoc, haskell is x86-only in most distros), because it's anything but a reliable format (even with common mark, since it allows different rendering options).

And then there's the hell of extensions like tables.
1
0
0

@hipsterelectron @brauner @cyphar I think few years of being with a slow connection and low-DPI displays radicalized me against anything TeX.

If not markdown (or strongly markdown-like), rst2man (note: linux kernel already uses rst for ./Documentation/) or pod2man, could also be decent alternatives.
And already have decades of usage in various projects.

1
0
0