[tex-hyphen] tex patterns as lua files

Mojca Miklavec mojca.miklavec.lists at gmail.com
Tue Apr 27 12:26:02 CEST 2010

On Tue, Apr 27, 2010 at 11:36, Élie Roux wrote:
> 2010/4/27 Mojca Miklavec wrote:
>> There is now branches/luatex branch. Feel free to modify it as heavily
>> as you wish.
> Thank you! I'm going to Italy for one week tomorrow so if you don't
> ear from me next week it's normal, but I should be available
> afterwards.

Me, Arthur, Manuel(?) and others will be at a TeX conference from
Friday to Monday. For us that's the perfect timing to do changes, but
if you won't be available, that's still fine, we can do it later.

(If you manage to commit to our SVN something that runs
almost-out-of-the-box, we can try to play with it.)

>> Once again: I would like to discuss the proper inclusion of dtx file
>> once (since I don't understand yet how exactly that works), but that's
>> a low-priority. Just make sure to get all the files that are really
>> needed by the distribution included properly.
> Actually the .dtx would be only on CTAN, the .tds.zip can include the
> other files.

There's no reason for not putting the dtx file into that SVN repository.

>> You may put the dtx file under hyph-utf8/source/generic/hyph-utf8
>> (feel free to decide whether you want a subdir or not) and the rest
>> under hyph-utf8/tex/[generic or luatex - no
>> idea]/hyph-utf8/[something]
> I'll do that!

>> And the same question is still applicable: should I rename the files
>> to hyph-xx.xxx.txt?
> It would make sense for me too, It would be more clear.


>> It can either be auto-genereted and kept inside hyph-utf8 tree or
> It also makes sense for me, the file can be in its complete form even
> if languages.dat is not, so the first solution seems better.


> What about the english and usenglishmax things? Are you ok for the
> change I proposed?

> If ConTeXt needs something else, it can make a
> little trick by hand,

Forget about ConTeXt. ConTeXt can do anything as long as the patterns
are there at all.

What I would really like to know before doing the change is:

1.) Which patterns should be default for any other program
(javascript, perl etc.) outside of TeX?
2.) Do you need/want (two questions) Knuth's hyphen.tex patterns in
"plain" format as well?

> or it can also be done on LaTeX's side, I can
> modify the table accordingly. What would be the best?

I'll respond once I know the answer to the two questions above. The
table will be modified in either case and will include USenglish
synonym. The question is only whether we should duplicate hyphen.tex
in our repository and if yes, which patterns should take precedence
(of having no -x-something extension). The lua table will be modified
accordingly from languages.rb database.


More information about the tex-hyphen mailing list