Re: [groff] improve a few terminal renderings of special characters

2018-08-21 Thread Ralph Corderoy
Hi Ingo, > * The playing card symbols are maybe not top priority, but mandoc >has them and its obvious enough what to print, so why not. > +.tty-char \[CL] > +.tty-char \[SP] > +.tty-char \[HE] > +.tty-char \[DI] In the context of playing cards, single capital letters are used, `KC' is k

Re: [groff] improve a few terminal renderings of special characters

2018-08-21 Thread Ingo Schwarze
Hi Ralph, thanks for your feedback! Ralph Corderoy wrote on Tue, Aug 21, 2018 at 11:33:09AM +0100: > Ingo Schwarze wrote: >> * The playing card symbols are maybe not top priority, but mandoc >>has them and its obvious enough what to print, so why not. >> +.tty-char \[CL] >> +.tty-char \[SP

Re: [groff] Creating a numbered list without macros

2018-08-21 Thread Holger Herrlich
On Mon, 20 Aug 2018 15:24:39 -0400 Peter Schaffter wrote: > set and change every applicable type parameter: family, font, size, > colour, leading, spacing, indent, quad, fill, and vertical > placement. > > In other words, mom expands creative options rather than limiting > them. That's the

Re: [groff] Creating a numbered list without macros

2018-08-21 Thread Holger Herrlich
On Mon, 20 Aug 2018 23:22:44 +0200 Tadziu Hoffmann wrote: > > A macro package does not hide the controls any more than writing > > macros yourself does. A macro package aggregates the requests > > needed to perform typesetting functions for convenience, not > > opacity. > > Well said. Is

Re: [groff] Creating a numbered list without macros

2018-08-21 Thread Tadziu Hoffmann
> > > A macro package does not hide the controls any more than writing > > > macros yourself does. A macro package aggregates the requests > > > needed to perform typesetting functions for convenience, not > > > opacity. > > Isn't it an over generalization? Doesn't technology consist of > com

[groff] Inexplicable error using tbl(1) 1.19.2 on macOS

2018-08-21 Thread John Gardner
I see this error each time I use man(1) on other people's MacBooks, and I'm at a loss to explain why: tbl::2: unrecognised format `o' tbl::2: giving up on this table The tbl markup is valid. In fact, this is all it's given that makes it choke (it was culled down

Re: [groff] Inexplicable error using tbl(1) 1.19.2 on macOS

2018-08-21 Thread Ingo Schwarze
Hi John, John Gardner wrote on Wed, Aug 22, 2018 at 06:46:36AM +1000: > I see this error each time I use man(1) on other people's MacBooks, > and I'm at a loss to explain why: > > tbl::2: unrecognised format `o' > tbl::2: giving up on this table > > The tbl markup is valid. In fact, this is all

Re: [groff] Inexplicable error using tbl(1) 1.19.2 on macOS

2018-08-21 Thread Tadziu Hoffmann
> .TS > Scope Description > comment For comments > .TE Shouldn't it be .TS lb lbx l lx . ScopeDescription commentFor comments .TE i.e., you're missing the actual format descriptors?

Re: [groff] Inexplicable error using tbl(1) 1.19.2 on macOS

2018-08-21 Thread John Gardner
Sigh, yes, that'll teach me for not being clear... The markup I posted which generated that error was *reduced* from previously valid markup (and the error messages remained the same). To the best of my understanding, though, the original `tbl(1)` markup

Re: [groff] Inexplicable error using tbl(1) 1.19.2 on macOS

2018-08-21 Thread Tadziu Hoffmann
> The markup I posted which generated that error was *reduced* from > previously valid markup (and the error messages remained the same). Hmm, well, I *do* get the error message tbl::2: unrecognised format `o' tbl::2: giving up on this table if I leave out the two format descriptor lines.

Re: [groff] Inexplicable error using tbl(1) 1.19.2 on macOS

2018-08-21 Thread John Gardner
line 10: \\rq instead of \(rq line 350: \<* and \>* instead of \*< and \*> line 178: unknown macro XR (did you mean SX?) Damn, your eyes are certainly sharper than mine were at the hour I wrote this. Good catch! The code samples in the first-half of the document were also being mangled

Re: [groff] Inexplicable error using tbl(1) 1.19.2 on macOS

2018-08-21 Thread Ingo Schwarze
Hi John, John Gardner wrote on Wed, Aug 22, 2018 at 07:53:35AM +1000: > Sigh, yes, that'll teach me for not being clear... > > The markup I posted which generated that error was *reduced* from > previously valid markup (and the error messages remained the same). I doubt that they remained *exac

Re: [groff] Inexplicable error using tbl(1) 1.19.2 on macOS

2018-08-21 Thread Bjarni Ingi Gislason
On Wed, Aug 22, 2018 at 08:24:21AM +1000, John Gardner wrote: > [...] > Would still like to know what the hell is going on with the tbl(1) > errors :-\ > [...] How does "tbl" interpret this? .TS Scope Description .TE -- Bjarni I. Gislason

Re: [groff] Inexplicable error using tbl(1) 1.19.2 on macOS

2018-08-21 Thread John Gardner
Ingo found the culprit. I'll quote his findings in the e-mail he sent me: > That old version of tbl(1) does not have support for the 'x' modifier. > On top of that, there are at least two parser bugs. At the end of > the second big switch in process_format(), we have, with comments > added by me: