[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #49915] Use explicit \s±n after a variable string instead of \s0
From: |
Bjarni Ingi Gislason |
Subject: |
[bug #49915] Use explicit \s±n after a variable string instead of \s0 |
Date: |
Thu, 22 Dec 2016 22:06:31 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
URL:
<http://savannah.gnu.org/bugs/?49915>
Summary: Use explicit \s±n after a variable string instead
of \s0
Project: GNU troff
Submitted by: bjarniig
Submitted on: Thu 22 Dec 2016 10:06:29 PM GMT
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
Use explicit \s±n after a variable string instead of \s0
Example:
.ps 10
normal\s+2big\s+3bigger\s-3big_again\s0normal
.br
.ps 10
normal\s+2big\s+3bigger\s0big_again\s0normal
Sizes are 10, 12, 15, 12, 15 and 10, 12, 15, 12 and 15.
Patch:
--- /home/bg/git/groff/tmac/e.tmac-u 2016-12-22 18:20:01.000000000 +0000
+++ ./e.tmac-u 2016-12-22 20:41:02.000000000 +0000
@@ -1487,7 +1487,7 @@
..
.
.de sm \" *** print in smaller font
-\s-1\\$1\\s0\\$2
+\s-1\\$1\\s+1\\$2
..
.
.de @F \" --- change font (0 -> no change)
@@ -1940,13 +1940,13 @@
.\" GNU pic sets this register to 1, to indicate that \x should not be used.
address@hidden 0x
.ds { \v'-0.4m'\x'\\n(0x=0*-0.2m'\s-3
-.ds } \s0\v'0.4m'
+.ds } \s+3\v'0.4m'
.\" for compatibility with traditional -me
.\" (the first will work only in compatibility mode)
.ds [ \*{
.ds ] \*}
.ds < \v'0.4m'\x'\\n(0x=0*0.2m'\s-3
-.ds > \s0\v'-0.4m'
+.ds > \s+3\v'-0.4m'
.ds - \(em
.\" Avoid warnings from groff -ww.
address@hidden |0
Patch also put into the attachment
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 22 Dec 2016 10:06:29 PM GMT Name: e.tmac Size: 977B By: bjarniig
<http://savannah.gnu.org/bugs/download.php?file_id=39295>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49915>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #49915] Use explicit \s±n after a variable string instead of \s0,
Bjarni Ingi Gislason <=