bugGNU roff - Bugs: bug #59285, eqn: doesn't set "..."...

 
 

bug #59285: eqn: doesn't set "..." on baseline as eqn(1) claims

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Sat 17 Oct 2020 07:15:31 AM UTC
   
 
Category:  Preprocessor eqn Severity:  3 - Normal
Item Group:  Incorrect behaviour Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 07 Oct 2022 12:47:08 AM UTC, comment #2: 


commit 1c6f83d0ede0f16fb93ad2b315209329a4ff46be
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   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>.


G. Branden Robinson <gbranden>
Group administrator
Sat 17 Oct 2020 09:25:14 AM UTC, comment #1: 

Fixed in 1c6f83d0ede0f16fb93ad2b315209329a4ff46be.

G. Branden Robinson <gbranden>
Group administrator
Sat 17 Oct 2020 07:15:31 AM UTC, original submission:  

The man page goes out of its way to claim a difference from AT&T eqn and then didn't bother to actually implement it for troff output.


GNU eqn sets the input token "..."  as three periods or low dots,
rather than the three centered dots of classic eqn.  To get three cen‐
tered dots, write cdots or cdot cdot cdot.


To reproduce it:


$ cat eqn-dots.ms
.PP
.EQ
a ... b
.EN
.PP
.EQ
c cdots d
.EN
$ ./build/test-groff -e -ms eqn-dots.ms >| eqn-dots.ps
$ evince eqn-dots.ps


Broken since 62248e78a3433a07c417d988b85b79817069f5b5, 6 February 2007.

Fortunately, the fix is so easy that even I figured it out. :)

G. Branden Robinson <gbranden>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-10-17 gbranden StatusIn Progress Fixed
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code