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

Alejandro Colomar alx at kernel.org
Sun Mar 17 19:54:12 UTC 2024


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://mm.icann.org/pipermail/tz/attachments/20240317/f421d7fa/signature-0001.asc>


More information about the tz mailing list