bug-groff
[Top][All Lists]
Advanced

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

Re: MAN package, .TP macro.


From: Werner LEMBERG
Subject: Re: MAN package, .TP macro.
Date: Sun, 11 Oct 2009 07:54:16 +0200 (CEST)

> I have found an inconsistency of the behavior of the man pack- age
> with its manual.  The manual says (about the .TP macro):
> 
>     The indentation is set to nnn if  that   argument   is
>     supplied  (the default unit is `n' if omitted), other-
>     wise it is set to the previous indentation value spec-
>     ified  with  TP, IP, or HP (or to the default value if
>     none of  them  have  been  used yet).
> 
> But to my experience the indent value can also be reset to the
> default by the .PP command.

I don't see an inconsistency.  Here's a table of all macros which
influence indentation:

  .SH           Always reset to default.
  .SS           Always reset to default.
  .LP, .P, .PP  Always reset to default.

  .TP           Use/set value.
  .IP           Use/set value.
  .HP           Use/set value.
  
The documentation of .PP mentions that it restores the indentation.
However, `restore' is not precise enough; I've now slightly improved
the wording.

Thanks.

    Werner




reply via email to

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