[Fedora TeX Live] Hyphenation and texlive-scheme-full

Jindrich Novy jnovy at redhat.com
Tue Jun 26 20:18:48 CEST 2012


Hi Ivo,

On Sun, Jun 24, 2012 at 01:10:08PM -0300, Ivo Lopez wrote:
> When texlive has some packages updated, it lost the hyphenation
> support.
> 
> \documentclass{article}
> \usepackage[spanish]{babel}
> \begin{document}
>   test
> \end{document}
> 
> I have received the following warning message at the .log file:
> 
> "Package babel Warning: No hyphenation patterns were loaded for the
> language `Spanish' I will use the patterns loaded for \language=0
> instead."
> 
> To solve this I used:
> "yum erase texlive-hyphen-spanish"
> "yum install texlive-scheme-full"
> 

Maybe the problem is how hyphenations are handled in case of upgrade:

$ rpm -qlp --scripts texlive-hyphen-bulgarian-svn25990-1.noarch.rpm 
postinstall scriptlet (using /bin/sh):
mkdir -p /var/run/texlive
touch /var/run/texlive/run-texhash
if [ $1 == 1 ] ; then
echo "bulgarian loadhyph-bg.tex" >> /usr/share/texlive/texmf/tex/generic/config/language.dat
echo "\addlanguage{bulgarian}{loadhyph-bg.tex}{}{2}{2}" >> /usr/share/texlive/texmf/tex/generic/config/language.def
touch /var/run/texlive/run-fmtutil
fi
:
postuninstall scriptlet (using /bin/sh):
if [ $1 == 0 ] ; then
sed -i '/bulgarian loadhyph-bg.tex/d' /usr/share/texlive/texmf/tex/generic/config/language.dat
sed -i '/\\addlanguage{bulgarian}{loadhyph-bg.tex}{}{2}{2}/d' /usr/share/texlive/texmf/tex/generic/config/language.def
mkdir -p /var/run/texlive
touch /var/run/texlive/run-texhash
touch /var/run/texlive/run-fmtutil
fi
:

Thanks for pointing me in this direction. I will investigate.

Best,
Jindrich

-- 
Jindrich Novy <jnovy at redhat.com>   http://people.redhat.com/jnovy/
Kdo víno má a nepije, kdo hrozny má a nejí je, kdo ženu má a nelíbá,
kdo zábavě se vyhýbá, na toho vemte bič a hůl, to není člověk, to je vůl.
--- Jan Werich


More information about the TeXLive mailing list