[tex-live] Bug#450875: patgen: Does not seem to generate anything useful

Kurt Roeckx kurt at roeckx.be
Sat Nov 17 21:08:35 CET 2007


On Sat, Nov 17, 2007 at 08:54:43PM +0100, Norbert Preining wrote:
> Hi pattern Masters!
> 
> On Sa, 17 Nov 2007, Kurt Roeckx wrote:
> > > It also doesn't seem to properly parse existing files.  I had to change
> > > the file to only contain what's instead the \patterns{
> > 
> > This is still true.
> 
> Can you explain this behaviour, should it be like this? He means that
> patgen can only read files containing ONLY \patterns{...}
> 
> No idea about all this, but I thought asking won't hurt.

The file /usr/share/texmf-texlive/tex/generic/hyphen/hyphen.tex (in the
texlive-base package in Debian) looks like:
% The Plain TeX hyphenation tables [NOT TO BE CHANGED IN ANY WAY!]
% Unlimited copying and redistribution of this file are permitted as long
% as this file is not modified. Modifications are permitted, but only if
% the resulting file is not named hyphen.tex.
\patterns{ % just type <return> if you're not using INITEX
.ach4
.ad4der
.af1t
[...]
4z1z2
z4zy
}
\hyphenation{ % Do NOT make any alterations to this list! --- DEK
as-so-ciate
as-so-ciates
dec-li-na-tion
oblig-a-tory
phil-an-thropic
present
presents
project
projects
reci-procity
re-cog-ni-zance
ref-or-ma-tion
ret-ri-bu-tion
ta-ble

It does not understand that lines with an % are comment.  It does
not understand the "\patterns{" line, the "}" line.

I have to change the file to:
.ach4
.ad4der
.af1t
[...]
4z1z2
z4zy

to be able to use it.


Kurt




More information about the tex-live mailing list