[Fedora TeX Live] hyphenation in texlive 2011?

Mojca Miklavec mojca.miklavec.lists at gmail.com
Mon Oct 24 09:24:03 CEST 2011


On Sun, Oct 23, 2011 at 19:16, pip <pip at net.hr> wrote:
>
> Thank you, Mojca.
>
>>First of all: I don't use Fedora, so I cannot say much about the
>>specifics of Fedora, but I can explain how it works in TeX Live.
>
> I guess it should be the same.

The part that is not the same is that packages are probably converted
into rpm and are not handled by tlmgr installer. This means that
unless the author implemented AddHyphen directive explicitely, this
won't work at all.

>>In original TeX Live the package hyphen-croatian contains
>>
>>execute AddHyphen name=croatian lefthyphenmin=2 righthyphenmin=2
>>file=loadhyph-hr.tex file_patterns=hyph-hr.pat.txt file_exceptions=
>>
>>which writes something to language.dat
>
> This seems not to be the case. There's nothing new written to /usr/share/texlive/texmf/tex/generic/config/language.dat
> Jindrich, can you help?

Please note that this file is not supposed to change in the original
distribution. Usually a file is generated at a different location to
differentiate between fetched and generated files. Mine starts with

% Generated by /home/texlive/karl/Master/bin/i386-linux/tlmgr on Fri
Aug  5 04:26:40 2011
% $Id: language.us 18738 2010-06-04 17:18:14Z karl $
% language.us (and the start of language.dat)
% - initial hyphenation patterns.
% Created long ago by Sebastian Rahtz and others.  Public domain.

and contains all languages. The idea is to create a separate file that
only contains the desired languages and to use this one when trying to
run TeX from SVN checkout.

>>You need to load hyphsubst package if you want ngerman
>>option in babel to point to german-x-date.
>
> Ah... this is a bit inconvenient, and rather unknown option. I'd expect ngerman (croatian as well) point to the latest version of the rules.

Other users expect TeX to be stable. We are planning to switch to
those patterns at some point, but currently both the author of old and
authors of new patterns are against the idea. Or at least, they want
to wait a bit more.

> As a user of LyX, I think most of the people would expect this too --- that all is handled only with(in) babel.

It's a bit difficult because nobody has control over babel.

But if you want to discuss this further, the TeX Live mailing list
might be a better place than Fedora-specific one.

> Is there a systematic way of doing this in TeX Live?
>
> ngerman-x-2011-07-01 dehyphn-x-2011-07-01.tex
> =ngerman-x-latest
> =ngerman % ???

a) If you use XeLaTeX or LuaLaTeX, you'll get the latest patterns anyway.
b) Edit that file or create your personal copy and modify that one.

Mojca


More information about the TeXLive mailing list