groff-commit
[Top][All Lists]
Advanced

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

[groff] 02/03: [eqn] Actually set "..." on text baseline.


From: G. Branden Robinson
Subject: [groff] 02/03: [eqn] Actually set "..." on text baseline.
Date: Sat, 17 Oct 2020 05:24:14 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 1c6f83d0ede0f16fb93ad2b315209329a4ff46be
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Oct 17 18:19:37 2020 +1100

    [eqn] Actually set "..." on text baseline.
    
    * src/preproc/eqn/lex.cpp (troff_defs): Set the "..." token on the
      baseline, not vertically centered, aligning the actual behavior with
      what our eqn(1) man page has claimed since 2007.
    
    Apparently botched in 62248e78a3433a07c417d988b85b79817069f5b5, 6
    February 2007.  (Actually in two ways, but one of them was
    fixed in 55fe48afb48e1dca0f179bb710b161a1abb1c6ee, 5 January 2008.)
    
    Fixes <https://savannah.gnu.org/bugs/index.php?59285>.
---
 ChangeLog               | 8 ++++++++
 src/preproc/eqn/lex.cpp | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 92d900d..9eb2115 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2020-10-17  G. Branden Robinson <g.branden.robinson@gmail.com>
 
+       * src/preproc/eqn/lex.cpp (troff_defs): Set the "..." token on
+       the baseline, not vertically centered, aligning the actual
+       behavior with what our eqn(1) man page has claimed since 2007.
+
+       Fixes <https://savannah.gnu.org/bugs/index.php?59285>.
+
+2020-10-17  G. Branden Robinson <g.branden.robinson@gmail.com>
+
        * src/devices/grops/grops.1.man
        (Usage/TrueType and other font formats): Remove dead URL to
        ttftot42 utility.  Update URL to fontforge tool.  Replace much
diff --git a/src/preproc/eqn/lex.cpp b/src/preproc/eqn/lex.cpp
index e855f5d..3947a0f 100644
--- a/src/preproc/eqn/lex.cpp
+++ b/src/preproc/eqn/lex.cpp
@@ -258,7 +258,7 @@ static struct builtin_def troff_defs[] = {
   { "vec", "accent { vec_def }" },
   { "dyad_def", "up 52 size -5 { \\(<> }" },
   { "dyad", "accent { dyad_def }" },
-  { "...", "type \"inner\" vcenter { . . . }" },
+  { "...", "type \"inner\" { . . . }" },
 };
 
 /* equivalent definitions for MathML mode */



reply via email to

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