bugGNU troff - Bugs: bug #57594, sync groff hyphenation-pattern...

 
 

bug #57594: sync groff hyphenation-pattern files with upstream TeX versions

Submitted by:  Dave <barx>
Submitted on:  Tue 14 Jan 2020 01:40:53 AM UTC  
 
Category:  Macro - others Severity:  5 - Blocker
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Thu 14 Jan 2021 02:53:00 PM UTC, comment #3: 

If this should go into the release checklist then we should add it there, in FOR-RELEASE.

We should also write script(s) to verify the groff-cleanliness of the hyphenation files.  This can easily take the form of one or more regression tests like the 48 others we have.  The most obvious thing I can think of to do is to have one test file for each supported groff locale which then calls .hla (or uses my in-development internationalization patch, bug #59814).  If my understanding is correct, an otherwise empty groff document will suffice to provoke diagnostics from .hla if the hyphenation or exception files contain unsupported constructs.  See src/roff/troff/env.cpp:hyphen_trie::hpf_getc and src/roff/troff/env.cpp:hyphen_trie::read_patterns_file.

Once both of these are done, this ticket can be resolved.

In the meantime, it's a blocker.

G. Branden Robinson <gbranden>
Project Administrator
Mon 12 Oct 2020 10:30:46 AM UTC, comment #2: 

With 'massaging' I mean to remove all the TeX stuff that can't be digested by groff.

Werner LEMBERG <wl>
Project Administrator
Mon 12 Oct 2020 09:55:41 AM UTC, comment #1: 

original submission:

> If groff has some sort of "release checklist,"


It does now!  Thanks, commit 0907598d.

Since I don't know what Werner means by "the necessary massaging for groff," I don't think I'm qualified to write this item of the list, however.

Dave <barx>
Project Member
Tue 14 Jan 2020 01:40:53 AM UTC, original submission:  

Groff's hyphenation files are copied from their TeX counterparts.  About a year ago, Werner Lemberg wrote on the groff email list (http://lists.gnu.org/archive/html/groff/2018-11/msg00071.html):

    "Please update all pattern files from the data in the `tex-hyphen' repository, for example,

    https://github.com/hyphenation/tex-hyphen/blob/master/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-sv.tex

    (and applying the necessary massaging for groff)."

There appears to be no systematic way to refresh these groff files when updates are made on the TeX side.  If groff has some sort of "release checklist," perhaps making appropriate updates to these pattern files could be added to that.

(These files would have to be updated anyway as part of the fix for bug #57556, but I am filing it as a separate bug because fixing 57556 will be significantly more work and thus may get deferred, whereas this is probably straightforward.  But also, 57556 is a one-time fix, whereas this bug includes an ongoing synchronization aspect, so it's worth tracking separately.)

Dave <barx>
Project Member

 

(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 (Posted a comment)
  • -email is unavailable- added by wl (Posted a comment)
  • -email is unavailable- added by barx (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-01-14 gbranden Severity3 - Normal => 5 - Blocker

    Back to the top


    Powered by Savane 3.6