bugGNU troff - Bugs: bug #50016, grog 1.22.3 fails to recognize mom...

 
 

bug #50016: grog 1.22.3 fails to recognize mom documents.

Submitted by:  Helge Blischke <helgeblischke>
Submitted on:  Tue 10 Jan 2017 05:43:22 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Incorrect behaviourStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedPlanned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 03 May 2017 01:48:23 PM UTC, comment #1:

This appears to be fixed in git. It looks like Bernd Warken, back in 2014, fixed the problems you identified in your report.

Here's an example on my Debian Stretch system on amd64, where "local-grog" is grog build from the HEAD of master in groff's git repo.

$ find -name "*.mom" | while read F; do echo $F; local-grog "$F"; done
./contrib/mom/examples/typesetting.mom
man requests found, but file name extension was: mom
groff -T ps -man ./contrib/mom/examples/typesetting.mom
./contrib/mom/examples/letter.mom
groff -T ps ./contrib/mom/examples/letter.mom
./contrib/mom/examples/sample_docs.mom
groff -T ps ./contrib/mom/examples/sample_docs.mom
./contrib/mom/examples/mon_premier_doc.mom
groff -T ps ./contrib/mom/examples/mon_premier_doc.mom
./contrib/mom/examples/mom-pdf.mom
groff -T ps ./contrib/mom/examples/mom-pdf.mom
./doc/automake.mom
groff -T ps -mom ./doc/automake.mom

Here's output from Debian's groff 1.22.3:

$ find -name "*.mom" | while read F; do echo $F; grog "$F"; done
./contrib/mom/examples/typesetting.mom
Undefined subroutine &main::err called at /usr/lib/groff/grog/subs.pl line 995.
./contrib/mom/examples/letter.mom
groff ./contrib/mom/examples/letter.mom
./contrib/mom/examples/sample_docs.mom
groff ./contrib/mom/examples/sample_docs.mom
./contrib/mom/examples/mon_premier_doc.mom
groff ./contrib/mom/examples/mon_premier_doc.mom
./contrib/mom/examples/mom-pdf.mom
groff ./contrib/mom/examples/mom-pdf.mom
./doc/automake.mom
groff -mom ./doc/automake.mom

This is pretty gross and it would be nice if we could do a release soon to get this fix out into the world.

G. Branden Robinson <gbranden>
Project Member
Tue 10 Jan 2017 05:43:22 PM UTC, original submission:

grog 1.22.3 fails to recognize mom documents. See attached file grog.diff.

The function err () is called several times in subs.pl but nowhere defined. See attached
file subs.diff.

Helge Blischke <helgeblischke>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #39426:  grog.diff added by helgeblischke (1KiB - application/octet-stream)
file #39427:  subs.diff added by helgeblischke (365B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gbranden (Posted a comment)
  • -unavailable- added by helgeblischke (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 03 May 2017 01:48:23 PM UTCgbrandenStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 10 Jan 2017 05:43:22 PM UTChelgeblischkeAttached File-=>Added grog.diff, #39426
      Attached File-=>Added subs.diff, #39427

    Back to the top


    Powered by Savane 3.1-cleanup1