Re: hyphenation in non-English languages

2008-10-12 Thread Karl Berry
It works with etex too if you use I made changes to texinfo.tex and all the txi-??.tex files to implement this. Thanks very much for the suggestion and code. karl

Re: hyphenation in non-English languages

2008-10-02 Thread Werner LEMBERG
Do you want to? Will have a look, but I can't promise anything due to time constraints. To get some basic non-English hyphenation support, almost nothing has to be changed if you use the current TeXLive. Here I demonstrate what to do for German. . The basic trick is to process the

Re: hyphenation in non-English languages

2008-10-02 Thread Norbert Preining
Hi Werner, On Do, 02 Okt 2008, Werner LEMBERG wrote: . The basic trick is to process the texinfo file with `eplain' instead of `tex'. With TeXLive, this gives access to all configured hyphenation patterns. `bplain' would do the same, but there is (currently) no soft link to

Re: hyphenation in non-English languages

2008-10-02 Thread Karl Berry
(I think this has nothing to do with Texinfo, but for TeX Live purposes ...) `bplain' would do the same, but there is (currently) no soft link to the `tex' binary. (Norbert, bplain = babel plain) Would it useful to have? Although there is a bplain.ini file, I see no sign that there was

Re: hyphenation in non-English languages

2008-10-02 Thread Karl Berry
. The basic trick is to process the texinfo file with `eplain' Wouldn't it work with etex? I don't see that any eplain-specific features are being used. (\makeat*er being trivial, as we all know.) texi2dvi already uses etex (or pdf[e]tex) when they are present. So in this case, I don't

Re: hyphenation in non-English languages

2008-10-02 Thread Werner LEMBERG
. The basic trick is to process the texinfo file with `eplain' Wouldn't it work with etex? No. As outlined in babel.pdf, plain.tex must not be modified, thus there are only US-English hyphenation patterns available. Is there a simple table somewhere of the correct

Re: hyphenation in non-English languages

2008-10-02 Thread Norbert Preining
On Do, 02 Okt 2008, Karl Berry wrote: Is there a simple table somewhere of the correct \{left,right}hyphenmin values? I don't relish digging into all the babel files. grep lefthyphenmin Master/tlpkg/tlpsrc/* ?? We added all that is known there for exactely that purpose. In fact it is

Re: hyphenation in non-English languages

2008-10-02 Thread Karl Berry
No. As outlined in babel.pdf, plain.tex must not be modified, thus there are only US-English hyphenation patterns available. Not so. etex loads all the patterns (and plain.tex remains unmodified, of course). This was a change in 2008, although it could have been done earlier. It is

Re: hyphenation in non-English languages

2008-10-02 Thread Werner LEMBERG
Wouldn't it work with etex? No. As outlined in babel.pdf, plain.tex must not be modified, thus there are only US-English hyphenation patterns available. Sorry, my mistake. It works with etex too if you use this snippet instead of the previous one: [EMAIL PROTECTED]

Re: hyphenation in non-English languages

2008-09-27 Thread Karl Berry
any chance that this gets implemented on the TeX side? It would be very nice. Basically, it should be just an interface to the plain TeX implementation of Babel, right? I don't know. All we really have to do is set \language. Do we need Babel for that? Now that etex (in TL'08)

Re: hyphenation in non-English languages

2008-09-27 Thread Werner LEMBERG
Basically, it should be just an interface to the plain TeX implementation of Babel, right? I don't know. All we really have to do is set \language. Do we need Babel for that? Well \language expects a number, doesn't it? Using Babel, we can use a string instead... Has

Re: hyphenation in non-English languages

2008-09-27 Thread Karl Berry
Well \language expects a number, doesn't it? Yes. Using Babel, we can use a string instead... Clearly we have to map from the existing @documentlanguage strings in Texinfo to the numbers that were dumped in the .fmt file for the various languages. If Babel can help us do that, and

hyphenation in non-English languages

2008-09-26 Thread Werner LEMBERG
Folks, any chance that this gets implemented on the TeX side? Basically, it should be just an interface to the plain TeX implementation of Babel, right? Has someone worked on this already? Werner