bug-groff
[Top][All Lists]
Advanced

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

[bug #61025] [me] want control of line height alteration when super-, su


From: G. Branden Robinson
Subject: [bug #61025] [me] want control of line height alteration when super-, subscripting
Date: Thu, 16 Dec 2021 02:07:02 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #2, bug #61025 (project groff):


[comment #1 comment #1:]
> I propose to add a new me(7) Boolean-valued register, $x, to enable this
behavior, and to switch it off by default.

This plan didn't quite survive contact with the enemy--the enemy being our
(groff's) `@R` macro which initializes registers, but only to zero, and also
the fact that it was the only outright _Boolean_ that we would have been
exposing via the register interface.

So $x is the amount of space by which to increase the line height instead. 
This has the advantage of parameterizing a rendering factor that a hard-coded
literal before.  (If you wanted a different adjustment, you had to redefine
the super/subscripting strings.)

For backward-compatibility purists, this approach also has the advantage of
not changing how documents render.

I'm adding `.nr $x 0` to our in-tree me(7) documents, though.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61025>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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