[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Critique this bold-italic private macro for man pages
From: |
G. Branden Robinson |
Subject: |
Re: [Groff] Critique this bold-italic private macro for man pages |
Date: |
Wed, 3 May 2017 11:30:02 -0400 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
At 2017-05-03T17:24:41+0200, Carsten Kunze wrote:
> > "G. Branden Robinson" <address@hidden> hat am 3. Mai 2017 um 01:02
> > geschrieben:
> >
> > The .itc request is a groff extension so an additional layer of
> >
> > .ie \(.g
> >
> > could be added.
>
> Where do you want to add this--in the macro package?
Nope. By "private macro" I mean one defined and used only within one
document.
> I saw testing for \(.g in manpages--this is a bad idea. Manpages
> itself need to be written portable, without testing for this or that
> formatter.
Most \n(.g tests I've seen in man pages are to try to _achieve_
portability, not break it.
E.g., ncurses uses these conditionals in many of its pages:
.ie \n(.g .ds `` \(lq
.el .ds `` ``
.ie \n(.g .ds '' \(rq
.el .ds '' ''
Regards,
Branden
signature.asc
Description: PGP signature
- Re: [Groff] Critique this bold-italic private macro for man pages, Bjarni Ingi Gislason, 2017/05/02
- Re: [Groff] Critique this bold-italic private macro for man pages, G. Branden Robinson, 2017/05/02
- Re: [Groff] Critique this bold-italic private macro for man pages, Carsten Kunze, 2017/05/03
- Re: [Groff] Critique this bold-italic private macro for man pages,
G. Branden Robinson <=
- Re: [Groff] Critique this bold-italic private macro for man pages, Carsten Kunze, 2017/05/03
- Re: [Groff] Critique this bold-italic private macro for man pages, Carsten Kunze, 2017/05/03
- Re: [Groff] Critique this bold-italic private macro for man pages, John Gardner, 2017/05/03
- Re: [Groff] Critique this bold-italic private macro for man pages, Carsten Kunze, 2017/05/03
- Re: [Groff] Critique this bold-italic private macro for man pages, James K. Lowden, 2017/05/03
- Re: [Groff] Critique this bold-italic private macro for man pages, G. Branden Robinson, 2017/05/03
- Re: [Groff] Critique this bold-italic private macro for man pages, Ralph Corderoy, 2017/05/04
- Re: [Groff] Critique this bold-italic private macro for man pages, Carsten Kunze, 2017/05/04
- Re: [Groff] Critique this bold-italic private macro for man pages, G. Branden Robinson, 2017/05/03
- Re: [Groff] Critique this bold-italic private macro for man pages, Carsten Kunze, 2017/05/03