From f018b40d7170d29f0ac3f0d053d988335a5423c7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 11 Jan 2021 22:43:20 +0000 Subject: hyphenex (11jan21) git-svn-id: svn://tug.org/texlive/trunk@57387 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/source/generic/hyphenex/GNUmakefile | 16 +- Master/texmf-dist/source/generic/hyphenex/README | 31 +- .../texmf-dist/source/generic/hyphenex/hyphenex.pl | 2 +- .../texmf-dist/source/generic/hyphenex/hyphenex.sh | 2 +- .../texmf-dist/source/generic/hyphenex/tb0hyf.pdf | Bin 163406 -> 179418 bytes .../texmf-dist/source/generic/hyphenex/tb0hyf.tex | 723 +++++++++++++++++---- 6 files changed, 627 insertions(+), 147 deletions(-) (limited to 'Master/texmf-dist/source/generic') diff --git a/Master/texmf-dist/source/generic/hyphenex/GNUmakefile b/Master/texmf-dist/source/generic/hyphenex/GNUmakefile index b2db17e095a..2dbfae0bb16 100644 --- a/Master/texmf-dist/source/generic/hyphenex/GNUmakefile +++ b/Master/texmf-dist/source/generic/hyphenex/GNUmakefile @@ -1,5 +1,9 @@ +# $Id: GNUmakefile 338 2021-01-10 22:49:48Z karl $ # Public domain. Originally written by Karl Berry, 2008. +input_tex = tb0hyf.tex # normally +#input_tex = hyfex-test.tex # one-off test file + all: tb0hyf.pdf ushyphex.tex ushyphex.tex: compare @@ -11,18 +15,18 @@ check: compare test.tex compare: pl-ushyphex.tex sh-ushyphex.tex diff $^ -pl-ushyphex.tex: hyphenex.pl tb0hyf.tex +pl-ushyphex.tex: hyphenex.pl $(input_tex) perl $^ >$@ || rm -f $@ -sh-ushyphex.tex: hyphenex.sh tb0hyf.tex - sh $< $@ || rm -f $@ +sh-ushyphex.tex: hyphenex.sh $(input_tex) + sh $< <$(input_tex) >$@ || rm -f $@ -tb0hyf.pdf: tb0hyf.tex - TEXINPUTS=../plain: pdftex '\nonstopmode\input $<' +tb0hyf.pdf: $(input_tex) + TEXINPUTS=../plain: texfot pdftex '\nonstopmode\input $<' h = hyphenex dist: all check rm -f dist.zip - cd .. && zip $h/dist.zip $h/README $h/GNUmakefile $h/hyphenex.?? \ + cd .. && zip $h/$h.zip $h/README $h/GNUmakefile $h/hyphenex.?? \ $h/tb0hyf.tex $h/tb0hyf.pdf $h/test.tex $h/ushyphex.tex # CTAN wants upload to be within a directory. diff --git a/Master/texmf-dist/source/generic/hyphenex/README b/Master/texmf-dist/source/generic/hyphenex/README index 01912961bfe..b5a6912965a 100644 --- a/Master/texmf-dist/source/generic/hyphenex/README +++ b/Master/texmf-dist/source/generic/hyphenex/README @@ -1,12 +1,25 @@ -This is http://mirror.ctan.org/info/digests/tugboat/hyphenex. +$Id: README 339 2021-01-10 23:08:54Z karl $ +This is https://ctan.org/pkg/hyphenex. -This directory contains scripts to generate hyphenation exceptions, -hyphenex.pl and hyphenex.sh, written by Werner Lemberg. The two scripts -(shell and Perl) do exactly the same thing, namely convert the TUGboat -master list (available as tb0hyf.tex) to a TeX-readable file (available -as ushyphex.tex). +This directory contains the TeX-readable file of hyphenation exceptions +for U.S. English: ushyphex.tex. It is one long call to \hyphenation{...}. -If questions, problems, or suggestions for additional exceptions, please -email tugboat@tug.org. +It is maintained by the TUGboat editors. If questions, problems, or +suggestions for additional exceptions, please email tugboat@tug.org. -This material is either public domain or under an all-permissive license. +Also here is the master file for the exceptions, maintained as a TUGboat +article: tb0hyf.tex. Updates are printed in TUGboat from the time to +time; the exact list is given in the file. + +Also here are scripts to generate ushyphex.tex from tb0hyf.tex: +hyphenex.pl and hyphenex.sh, written by Werner Lemberg. The two scripts +(shell and Perl) do exactly the same thing. + +All of the material in hyphenex is either public domain or under an +all-permissive license. + +P.S. There is another set of hyphenation patterns and exceptions for +English, known as "usenglishmax", which defines many additional +hyphenation points. It is included in the hyph-utf package: +https://ctan.org/pkg/hyph-utf8. It was created by Gerard Kuiken and is +unrelated to the material here. diff --git a/Master/texmf-dist/source/generic/hyphenex/hyphenex.pl b/Master/texmf-dist/source/generic/hyphenex/hyphenex.pl index 416f057a4fe..1502b17404a 100644 --- a/Master/texmf-dist/source/generic/hyphenex/hyphenex.pl +++ b/Master/texmf-dist/source/generic/hyphenex/hyphenex.pl @@ -19,7 +19,7 @@ print "% Hyphenation exceptions for US English,\n"; print "% based on hyphenation exception log articles in TUGboat.\n"; print "%\n"; -print "% Copyright 2008 TeX Users Group.\n"; +print "% Copyright 2021 TeX Users Group.\n"; print "% You may freely use, modify and/or distribute this file.\n"; print "%\n"; print "% This is an automatically generated file. Do not edit!\n"; diff --git a/Master/texmf-dist/source/generic/hyphenex/hyphenex.sh b/Master/texmf-dist/source/generic/hyphenex/hyphenex.sh index ec8e101976c..b6f378d4eb4 100644 --- a/Master/texmf-dist/source/generic/hyphenex/hyphenex.sh +++ b/Master/texmf-dist/source/generic/hyphenex/hyphenex.sh @@ -20,7 +20,7 @@ cat >/tmp/sed.$$ <