[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Nesting font macros in man pages
From: |
Ingo Schwarze |
Subject: |
Re: [Groff] Nesting font macros in man pages |
Date: |
Thu, 27 Apr 2017 15:11:03 +0200 |
User-agent: |
Mutt/1.6.2 (2016-07-01) |
Hi,
Steffen Nurpmeso wrote on Thu, Apr 27, 2017 at 02:21:10PM +0200:
> You have a notion of "callable" and "parsed", and you should be
> aware of that or you introduce errors which are hard to find.
Wrong. Just assume everything is callable. Actually, mandoc
warns if you use the name of a macro that is not callable on
a macro line witout escaping it:
address@hidden $ mandoc -mdoc -Tlint
.Sy Sh
mandoc: <stdin>:1:5: WARNING: macro neither callable nor escaped: Sh
And by the way, so does groff:
address@hidden $ nroff -mdoc
.Sy Sh
mdoc warning: Using a macro as first argument cancels effect of .Sy (#1)
Usage: .Sh not callable by other macros (#1)
Besides, most macros are parsed and callable nowadays (thanks to
the work done by the groff team, in particular Werner). So that
distinction did complicate things in the remote past, but it no
longer does for quite some time now.
I'm not going to correct all errors in what you might say in the
future, to save time and avoid noise.
> [...]
Yours,
Ingo
- Re: [Groff] Nesting font macros in man pages, (continued)
- Re: [Groff] Nesting font macros in man pages, Ingo Schwarze, 2017/04/24
- Re: [Groff] Nesting font macros in man pages, G. Branden Robinson, 2017/04/24
- Re: [Groff] Nesting font macros in man pages, Ingo Schwarze, 2017/04/25
- Re: [Groff] Nesting font macros in man pages, G. Branden Robinson, 2017/04/25
- Re: [Groff] Nesting font macros in man pages, Ingo Schwarze, 2017/04/25
- Re: [Groff] Nesting font macros in man pages, Steffen Nurpmeso, 2017/04/25
- Re: [Groff] Nesting font macros in man pages, G. Branden Robinson, 2017/04/26
- Re: [Groff] Nesting font macros in man pages, Ralph Corderoy, 2017/04/26
- Re: [Groff] Nesting font macros in man pages, G. Branden Robinson, 2017/04/26
- Re: [Groff] Nesting font macros in man pages, Steffen Nurpmeso, 2017/04/27
- Re: [Groff] Nesting font macros in man pages,
Ingo Schwarze <=
- Re: [Groff] Nesting font macros in man pages, James K. Lowden, 2017/04/28
- Re: [Groff] Nesting font macros in man pages, Damian McGuckin, 2017/04/28
- Re: [Groff] Nesting font macros in man pages, G. Branden Robinson, 2017/04/28
- Re: [Groff] Nesting font macros in man pages, John Gardner, 2017/04/28
- Re: [Groff] Nesting font macros in man pages, Ralph Corderoy, 2017/04/29
- Re: [Groff] Nesting font macros in man pages, James K. Lowden, 2017/04/30
- Re: [Groff] Nesting font macros in man pages, G. Branden Robinson, 2017/04/30
- Re: [Groff] Nesting font macros in man pages, Ingo Schwarze, 2017/04/27
- Re: [Groff] Nesting font macros in man pages, Deri James, 2017/04/27
- Re: [Groff] Nesting font macros in man pages, Steffen Nurpmeso, 2017/04/27