[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/9] man/clear.1: Migrate macro usage conventions.
From: |
Thomas Dickey |
Subject: |
Re: [PATCH 4/9] man/clear.1: Migrate macro usage conventions. |
Date: |
Sun, 1 Oct 2023 20:08:05 -0400 |
On Sun, Oct 01, 2023 at 06:22:04PM -0500, G. Branden Robinson wrote:
> Hi Thomas & Ingo,
>
> At 2023-09-30T16:47:32-0400, Thomas Dickey wrote:
> [...]
> > > -.\" these would be fallbacks for DS/DE,
> > > -.\" but groff changed the meaning of the macros.
> > > -.de NS
> > > -.ie n .sp
> > > -.el .sp .5
> > > -.ie n .in +4
> > > -.el .in +2
> > > -.nf
> > > -.ft \*(CW
> > > +.
> > > +.nr mE 0 \" in an example (EX/EE)?
> > > +.
> > > +.\" Start example.
> > > +.if !\n(.g \{\
> > > +.de EX
> > > +. br
> > > +. if !\\n(mE \{\
> > > +. nr mF \\n(.f
> > > +. nr mP \\n(PD
> > > +. nr PD 1v
> > > +. nf
> > > +. ft \\*(CW
> > > +. nr mE 1
> > > +. \}
> [...]
>
> > mandoc doesn't like this
> >
> > man/clear.1:52:2: ERROR: skipping end of block that is not open: ..
> > man/clear.1:53:2: ERROR: skipping unknown macro: .\}
> > man/clear.1:65:2: ERROR: skipping end of block that is not open: ..
I normally develop with oldstable, and check with Debian testing.
Both have mandoc (different versions) producing the same error message.
ii mandoc 1.14.5-1 amd64 BSD manpage compiler toolset
ii mandoc 1.14.6-1+b1 amd64 BSD manpage compiler toolset
(resolving this is too late for this weekend, and I'm working to flush out
what I have merged/amended this evening).
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
signature.asc
Description: PGP signature
- Re: [PATCH 4/9] man/clear.1: Migrate macro usage conventions., Ingo Schwarze, 2023/10/01
- Re: [PATCH 4/9] man/clear.1: Migrate macro usage conventions., Thomas Dickey, 2023/10/01
- Re: [PATCH 4/9] man/clear.1: Migrate macro usage conventions., G. Branden Robinson, 2023/10/01
- Re: [PATCH 4/9] man/clear.1: Migrate macro usage conventions.,
Thomas Dickey <=
- Re: [PATCH 4/9] man/clear.1: Migrate macro usage conventions., G. Branden Robinson, 2023/10/01
- Re: [PATCH 4/9] man/clear.1: Migrate macro usage conventions., Thomas Dickey, 2023/10/02
- Re: [PATCH 4/9] man/clear.1: Migrate macro usage conventions., G. Branden Robinson, 2023/10/02
- Re: [PATCH 4/9] man/clear.1: Migrate macro usage conventions., Ingo Schwarze, 2023/10/02
- man page portability (was: [PATCH 4/9] man/clear.1: Migrate macro usage conventions.), G. Branden Robinson, 2023/10/03
- Re: man page portability (was: [PATCH 4/9] man/clear.1: Migrate macro usage conventions.), G. Branden Robinson, 2023/10/03
Re: [PATCH 4/9] man/clear.1: Migrate macro usage conventions., Ingo Schwarze, 2023/10/02