groff
[Top][All Lists]
Advanced

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

Re: [PATCH v2] tzfile.5: Fix indentation


From: Alejandro Colomar
Subject: Re: [PATCH v2] tzfile.5: Fix indentation
Date: Sun, 17 Mar 2024 20:54:12 +0100

On Sun, Mar 17, 2024 at 08:53:22PM +0100, Alejandro Colomar wrote:
> Hi Branden,
> 
> On Sun, Mar 17, 2024 at 08:31:55PM +0100, Alejandro Colomar wrote:
> > Hmmm, I was about to say inset, but double-checked groff_man(7) to be
> > sure of the exact term, and then I got confused even more:
> > 
> > $ man groff_man | grep '   \.\(IP\|RS\) \['
> >      .RS [inset‐amount]
> >      .IP [tag [indentation]]
> > 
> > 
> > Since RS uses the same amount that IP used before it, it seems they
> > could be the same thing.  But then RS uses inset and IP uses
> > indentation.  How do pears be added to apples?  :)
> 
> I think this paragraph, about the IN register is where the confusion
> lies.  So IN holds an amount that will be used as inset-amount or as
> indentation, depending on who uses it.  That ambiguity was what confused
> me.

Gah, I forgot to paste the paragraph.  It's from groff_man(7).

     Ordinary  paragraphs not within an .RS/.RE inset region are inset
     by the amount stored in the BP register;  see  section  “Options”
     below.  The IN register configures the default indentation amount
     used  by  .RS (as the inset‐amount), .IP, .TP, and the deprecated
     .HP; an overriding argument is a number plus an optional  scaling
     unit.   If no scaling unit is given, the man package assumes “n”.
     An indentation specified in a call to .IP, .TP, or the deprecated
     .HP persists until (1) another of these macros is called with  an
     indentation  argument,  or (2) .SH, .SS, or .P or its synonyms is
     called; these clear the indentation entirely.

> 
> Cheers,
> Alex
> 
> -- 
> <https://www.alejandro-colomar.es/>
> Looking for a remote C programming job at the moment.



-- 
<https://www.alejandro-colomar.es/>
Looking for a remote C programming job at the moment.

Attachment: signature.asc
Description: PGP signature


reply via email to

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