groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: Fix the definition of the string \*[doc-Tn-font-size].


From: Ingo Schwarze
Subject: [groff] 01/01: Fix the definition of the string \*[doc-Tn-font-size].
Date: Sun, 3 Mar 2019 11:23:48 -0500 (EST)

schwarze pushed a commit to branch master
in repository groff.

commit 9f7a8d91c2dce2c3c5b676b55299dde8aa4f74e2
Author: Ingo Schwarze <address@hidden>
Date:   Sun Mar 3 17:17:50 2019 +0100

    Fix the definition of the string \*[doc-Tn-font-size].
    
    It must not contain space characters inside escape sequence arguments
    because it may get used in macro arguments, causing the escape sequences
    to get split into multiple arguments.
    
    Minor bug reported by Bjarni Ingi Gislason
    in https://savannah.gnu.org/bugs/?55806 .
---
 tmac/doc-ditroff-u | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tmac/doc-ditroff-u b/tmac/doc-ditroff-u
index 18aa5db..e6bd947 100644
--- a/tmac/doc-ditroff-u
+++ b/tmac/doc-ditroff-u
@@ -92,7 +92,7 @@
 .ds doc-Sx-font \f[B]\s[\n[.ps]u]
 .ds doc-Tn-font-shape \f[R]
 \# XXX: adapt to discrete LaTeX font sizes
-.ds doc-Tn-font-size \s[(\n[.ps]u - 1z)]
+.ds doc-Tn-font-size \s[(\n[.ps]u-1z)]
 .ds doc-Va-font \f[I]\s[\n[.ps]u]
 .ds doc-Xr-font \f[C]\s[\n[.ps]u]
 .



reply via email to

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