[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #49915] [me] don't trust interpolated input not to clobber the prev
From: |
G. Branden Robinson |
Subject: |
[bug #49915] [me] don't trust interpolated input not to clobber the previous type size |
Date: |
Sat, 22 Jan 2022 07:43:41 -0500 (EST) |
Update of bug #49915 (project groff):
Category: None => Macro me
Item Group: None => Incorrect behaviour
Status: Ready For Test => Fixed
Summary: Use explicit \s±n after a variable string instead
of \s0 => [me] don't trust interpolated input not to clobber the previous type
size
_______________________________________________________
Follow-up Comment #3:
Nobody bothered to explain the original problem clearly, in my opinion (at
least not in the ticket history--the mailing list may be another story).
Take the `sm` macro as it arrived from BSD (and as it remained through 4.4).
.de sm \" *** print in smaller font
\s-1\\$1\\s0\\$2
..
Consider the following input document.
.pp
Hello,
.sm W\s(36OR\s0ld.
Learn C today!
At what type size will "Learn C today!" render?
The input can still have unbalanced type size changes, but those are more
obviously the responsibility of the document author to correct.
commit 98058a8a4b3a63d3cf96662ac48a9b543d657479
Author: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Date: Thu Feb 16 20:36:22 2017 +0100
-me: Use \s±n after a var. string instead of \s0
See https://savannah.gnu.org/bugs/?49915
commit a2c9f9c28e9439bd2c1fb156840692b53a9a0d22
Author: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Date: Thu Feb 16 20:42:44 2017 +0100
-me: Use \s±n after a var. string instead of \s0
One line missed to be fixed in previous commit.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?49915>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #49915] [me] don't trust interpolated input not to clobber the previous type size,
G. Branden Robinson <=