groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (off topic?) Docbook? Re: manlint?


From: John Gardner
Subject: Re: (off topic?) Docbook? Re: manlint?
Date: Wed, 30 Sep 2020 14:01:21 +1000

>
> .SH id=foo class=bar
> Your title here


Another problem my earlier idea
<https://lists.gnu.org/archive/html/groff/2020-09/msg00031.html> would
solve:

.SH Your title here
\!x X meta: set id foo
\!x X meta: set class bar

Or, given that \! is subject to diversions, something like:

.SH Your title here\
\X'meta: set id foo'\
\X'meta: set class bar'


Sorry I keep mentioning a solution that doesn't exist yet, I'm just amazed
how well it meshes with everyday use, yet manages to solve our current
difficulties…

On Wed, 30 Sep 2020 at 08:56, Keith Marshall <keith.d.marshall@ntlworld.com>
wrote:

> On 29/09/2020 16:27, James K. Lowden wrote:
> > That would work, but IMO wouldn't be very convenient.  I was thinking
> > along the lines of
> >
> > .SH id=foo class=bar
> > Your title here
>
> That would conflict with groff's existing SH usage; from groff_ms(7):
> >  .SH [xx]
> >         Unnumbered subheading.  The use of the optional xx argument is
> >         a GNU extension, which adjusts the point size of the unnumbered
> >         subheading to match that of a numbered heading, introduced
> >         using .NH xx with the same value of xx.
>
> --
> Regards,
> Keith.
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]