nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unsupported nroff macros on MacOS X


From: Bakul Shah
Subject: Re: Unsupported nroff macros on MacOS X
Date: Mon, 3 Apr 2023 15:10:15 -0700

On Apr 3, 2023, at 2:40 PM, Ken Hornstein <kenh@pobox.com> wrote:
> 
> tbl (which seems like it has been supported ... forever?) does the hard
> work of creating tables for you.  It seems like the right tool for the
> job; even I could figure it out.  As Anthony has pointed out mandoc
> is the default man page formatter for BSD systems, now MacOS X, and
> some Linux distributions.  Seems to me that switching to tbl for those
> things is a no-brainer unless I am missing something, which is always
> possible!

I don't see a tbl command on MacOS (or freebsd, except if you
installed groff (or plan9port -- ignore the troff comment!).

Unless you mean replacing the current setup with the output of
equivalent tbl syntax and then checking that in? I tried that.
mandoc doesn't understand tbl output for the simple test i tried.

/usr/local/bin/tbl <<EOF| mandoc -man
.TS
c c c .
This is   centered
Well,     this also
.TE
EOF

But groff's (& plan9port's) nroff deals with this fine.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]