Re: [Groff] Nesting font macros in man pages

2017-04-25 Thread Doug McIlroy
> .TP > .B \-scale \c > .IR xfac [, yfac ] Very clever. I wish I'd thought of it when I was editing the v7 manual. Then it would have become a standard idiom. Has nobody tried this during the nearly 40 years since? Doug

Re: [Groff] Nesting font macros in man pages

2017-04-25 Thread Steffen Nurpmeso
Ingo Schwarze wrote: |G. Branden Robinson wrote on Tue, Apr 25, 2017 at 07:14:58AM -0400: ... |> If that means a new macro, I'm fine with that. ... |For man(7), introducing new macros would be worse. There, it would |utterly break portability because other implementations do exist, Now i r

Re: [Groff] Nesting font macros in man pages

2017-04-25 Thread Ingo Schwarze
Hi, G. Branden Robinson wrote on Tue, Apr 25, 2017 at 07:14:58AM -0400: > No, what I really want is a TP-ish macro that lets you break the tag > across multiple input lines, so the writer doesn't have to use font > escapes. > > If that means a new macro, I'm fine with that. I think that plan is

Re: [Groff] ASCII Minus Sign in man Pages.

2017-04-25 Thread G. Branden Robinson
At 2017-04-25T15:00:26+0200, Ingo Schwarze wrote: > I don't worry about groff HTML output at all. By the basic design > of groff, it is unable to produce good HTML, so i basically just > ignore groff HTML output completely. I fully agree with you that > i see no need to change it. I'd even go on

Re: [Groff] ASCII Minus Sign in man Pages.

2017-04-25 Thread Ingo Schwarze
Hi, G. Branden Robinson wrote on Tue, Apr 25, 2017 at 07:26:32AM -0400: > At 2017-04-25T12:47:25+0200, Carsten Kunze wrote: >> Carsten Kunze wrote: >>> Ingo Schwarze hat am 24. April 2017 um 16:39 geschrieben: >>> Assuming this is considered the right direction, how would one >>> best implement,

Re: [Groff] Nesting font macros in man pages

2017-04-25 Thread Steffen Nurpmeso
"G. Branden Robinson" wrote: |At 2017-04-24T18:29:57+0200, Ingo Schwarze wrote: ... |I entirely agree with the virtues of semantic of "presentation"-based |markup. However, this could be mitigated by encouraging a consistent |style in groff_man(7) itself. Some coordination with Michael Kerr

Re: [Groff] ASCII Minus Sign in man Pages.

2017-04-25 Thread G. Branden Robinson
At 2017-04-25T12:47:25+0200, Carsten Kunze wrote: > > Ingo Schwarze hat am 24. April 2017 um 16:39 geschrieben: > > > > Assuming this is considered the right direction, how would one > > best implement, in doc.tmac-u and an-old.tmac, - == \- == U+002D > > for all devices? > > Isn't it already do

Re: [Groff] Nesting font macros in man pages

2017-04-25 Thread G. Branden Robinson
At 2017-04-25T07:04:27+0200, Ingo Schwarze wrote: > Hi, > > G. Branden Robinson wrote on Mon, Apr 24, 2017 at 09:22:25PM -0400: > > At 2017-04-24T18:29:57+0200, Ingo Schwarze wrote: > >> G. Branden Robinson wrote on Mon, Apr 24, 2017 at 11:41:22AM -0400: > > >>> to the more readable (and, I submi

Re: [Groff] ASCII Minus Sign in man Pages.

2017-04-25 Thread Carsten Kunze
> Ingo Schwarze hat am 24. April 2017 um 16:39 geschrieben: > > Assuming this is considered the right direction, how would one > best implement, in doc.tmac-u and an-old.tmac, - == \- == U+002D > for all devices? Isn't it already done for UTF-8 in the files you mentioned? Both contain: .if '\*[