On 2/24/2021 11:39 PM, Karl Berry wrote:
???

I guess that when I made the script it wasn't available. Anyway, I look at it when I have time (probably when Tomas, his students and I also look into (new) patterns for (newly) supported languages).

I don't understand the "really bad" because I can't remember any context user bothering about it (nowadays changes in fonts and handling of features are more influential). Also, we currently ship only the versions of patterns that Arthur and Mojca consider to be okay (the last ones). Users can easily freeze a system that they need for a specific long term stable situation. I'm pretty sure that when patterns improve users are happy to check their document rendering (tex often doesn't hyphenate that much anyway) and never check the files related to patterns (so no one would notice a version number).

So, I'll add it to the stack of todo's, but with low priority,

Hans

Date: Wed, 24 Feb 2021 10:29:06 +0100 (CET)
From: Werner LEMBERG <[email protected]>
To:  <[email protected]>
Subject: version data missing in ConTeXt hyphenation patterns


[Since I'm not sure who is responsible for generating the pattern
  files for ConTeXt I'm writing to this list.]

If I look into file

   tex/context/patterns/mkiv/lang-de.lua

I see the following.

   ["metadata"]={
     ["mnemonic"]="de",
     ["source"]="hyph-de-1996",
     ["texcomment"]="% no comment",
   }

However, version information is completely missing.  For example, file

   tex/generic/hyph-utf8/patterns/tex/hyph-de-1996.tex

contains

   % version: 2019-04-04

[Arthur worked hard to make the comment format uniform for all
pattern files in `hyph-utf8`!]

This omission is really bad IMHO, since the version of the patterns
are essential to get identical line breaks for older documents.

I guess it shouldn't be too difficiult to update the `mtxrun` script,
making it add

   ["version"]="2019-04-04"

to the 'metadata' block.  Or maybe it's better to make it update the
`.rme` files with the corresponding information.


     Werner



--

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------

Reply via email to