[tex-hyphen] Renaming plain pattern files in hyph-utf8: feedback?

Reinhard Kotucha reinhard.kotucha at web.de
Mon Apr 11 03:11:55 CEST 2016


On 2016-04-11 at 00:18:46 +0200, Mojca Miklavec wrote:

 > - hyph-<lang>.pat.txt -> hyph-<lang>.patterns
 > - hyph-<lang>.hyp.txt -> hyph-<lang>.exceptions
 > I would be particular grateful for feedback about that. Arthur is
 > convinced (and I agree) that ".pat.txt" and ".hyp.txt" are completely
 > confusing file endings. On the other hand ".patterns" and
 > ".exceptions" might have problems opening by double-clicking on them
 > as the file ending would not be recognized. It is not *absolutely*
 > necessary that we change that, but if we ever change it, this would
 > probably be the best moment for the change. We are both in favour of
 > changing it. I'm only not 100% convinced with the proposed change.

Hi Mojca,
this change is correct and useful.  I appreciate it very much.
Meaningful filenames are always useful.  Double-clicking doesn't work
anyway since extensions are not unique (and will never be).  Consider
font property lists and Perl scripts.

 > Proposed:
 > 
 > tex/generic/hyph-utf8/patterns/
 >     plain/el/hyph-el-monoton.patterns
 >     plain/el/hyph-el-monoton.LICENSE
 >     plain/el/hyph-el-monoton.yaml
 > 
 >     plain/el/hyph-el-polyton.patterns
 >     plain/el/hyph-el-polyton.LICENSE
 >     plain/el/hyph-el-polyton.yaml

The subdirs (el, en,...) are certainly not necessary because there are
not so many files and especially because directory listings are sorted
alphabetically already.  It's probably more convenient if these
directories are omitted.

There is no need to write the word "license" with capitals.  If you've
seen files called README, INSTALL, etc, they use capitals because
uppercase letters come first if the directory is listed in ASCII order
(LC_COLLATE=C).  But there is no such advantage when such a word
appears in a filename extension.

I agree with you that it's best to change things now.

Regards,
  Reinhard

-- 
------------------------------------------------------------------
Reinhard Kotucha                            Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                    mailto:reinhard.kotucha at web.de
------------------------------------------------------------------


More information about the tex-hyphen mailing list