groff
[Top][All Lists]
Advanced

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

Re: CHECKSTYLE: Report consecutive .?P (paragraph macros)


From: Bjarni Ingi Gislason
Subject: Re: CHECKSTYLE: Report consecutive .?P (paragraph macros)
Date: Wed, 2 Feb 2022 00:32:01 +0000

On Mon, Jan 31, 2022 at 12:52:41AM +0100, Alejandro Colomar (man-pages) wrote:
> Hi Branden,
> 
> Recently you reported to me a style error:
> 
> [
> .PP
> .TP
> tag
> paragraph
> ]
> 
> In general, consecutive paragraph marcos are wrong, right?  .IP, .PP,
> .TP (and I may forget some more).
> 
> I've tried it with -rCHECKSTYLE=3 and I got nothing.  I think this one
> should be easy to implement, and would have no false positives, I think.
[...]

  A usable tool is "mandoc -T lint".  Irrelevant output is just weeded
out with a filter.

-- 
Bjarni I. Gislason



reply via email to

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