[Top][All Lists]

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

[bug #61314] [PATCH] [me] clarify documentation of $v and $V registers

From: Dave
Subject: [bug #61314] [PATCH] [me] clarify documentation of $v and $V registers
Date: Sat, 9 Oct 2021 03:40:52 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0


                 Summary: [PATCH] [me] clarify documentation of $v and $V
                 Project: GNU troff
            Submitted by: barx
            Submitted on: Sat 09 Oct 2021 02:40:51 AM CDT
                Category: Macro - me
                Severity: 2 - Minor
              Item Group: Documentation
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None



The -me Reference Manual is fairly scrupulous about documenting the default
values of its registers, but $v and $V are two exceptions.  The attached patch
documents the default values for these (both 120).

$ groff -me <<<'.tm \n($v \n($V'
120 120

There is also what I feel is an oddity in the nearby wording: "The line
spacing as a percentage of the point size expressed in units is stored in
\n($v."  I'm not sure what the phrase "expressed in units" is supposed to
communicate; it's not clear whether it modifies "line spacing" or "point
size," and neither really makes sense, even mentally adding the presumably
intended "basic" before "units."

 * $v is a percentage; if it meaningfully has a unit at all, that unit is %.
 * In what units the point size is expressed or stored is irrelevant to a
percentage: 120% of the point size is not dependent on the units expressing
that point size.

Thus this patch removes the phrase entirely.  If someone has a better idea
what that phrase is trying to say, it could instead be reworded to say it more


File Attachments:

Date: Sat 09 Oct 2021 02:40:51 AM CDT  Name: meref.me.line_spacing.patch 
Size: 531B   By: barx



Reply to this item at:


  Message sent via Savannah

reply via email to

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