[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#388788: Adding hyphenations of new languages is nothing but a major pain in the hindquarters



Package: tex-common
Version: 0.29
Severity: important


I started to use (La)TeX during teTeX-era. Then I chose hyphenations
with command "texconfig" and later with debconf of some package. I chose
hyhenations for english and finnish. In some point I switched from teTeX
to TeX Live.

My Master's Thesis had a line like this:

\usepackage[finnish,english]{babel}

And it works fine.

I changed it to this:

\usepackage[finnish,english,francais,italian]{babel}

I also installed packages texlive-lang-french and texlive-lang-italian .
A file called /var/lib/texmf/tex/generic/config/language.dat was not
properly generated. I run update-languages by hand. After that it had
wrong permissions, beacause root has umask 077. I made it
world-readable.

Here are relevant lines from that file:

%%% From file: /etc/texmf/language.d/10texlive-lang-french.cnf
% 10texlive-lang-french.cnf
%
% You really can change stuff in this file, but it is NOT RECOMMENDED
% to play around with this file if you do not know what you are doing!
% Please leave this comment!
% -_- DebPkgProvidedMaps -_-
%
french           frhyph.tex
=patois
=francais
basque          bahyph.tex
%%% End of file: /etc/texmf/language.d/10texlive-lang-french.cnf

%%% From file: /etc/texmf/language.d/10texlive-lang-italian.cnf
% 10texlive-lang-italian.cnf
%
% You really can change stuff in this file, but it is NOT RECOMMENDED
% to play around with this file if you do not know what you are doing!
% Please leave this comment!
% -_- DebPkgProvidedMaps -_-
%
italian ithyph.tex
%%% End of file: /etc/texmf/language.d/10texlive-lang-italian.cnf


But now running latex looks like this:

This is pdfeTeXk, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5)
 Source specials enabled.
entering extended mode
LaTeX2e <2003/12/01>
Babel <v3.8g> and hyphenation patterns for english, dumylang, nohyphenation, finnish, ukenglish, loaded.


Where is that Italian and French? Later I see this:


(/usr/share/texmf-texlive/tex/generic/babel/babel.sty
(/usr/share/texmf-texlive/tex/generic/babel/finnish.ldf
(/usr/share/texmf-texlive/tex/generic/babel/babel.def))
(/usr/share/texmf-texlive/tex/generic/babel/english.ldf)
(/usr/share/texmf-texlive/tex/generic/babel/frenchb.ldf

Package babel Warning: No hyphenation patterns were loaded for
(babel)                the language `French'
(babel)                I will use the patterns loaded for \language=0
instead.

*************************************
* Local config file frenchb.cfg used
*
(/usr/share/texmf-texlive/tex/generic/babel/frenchb.cfg))
(/usr/share/texmf-texlive/tex/generic/babel/italian.ldf

Package babel Warning: No hyphenation patterns were loaded for
(babel)                the language `Italian'
(babel)                I will use the patterns loaded for \language=0
instead.


Aargh! What is the canonical way to activate hyphenations and other
language support of desired languages for LaTeX and friends? Running
"dpkg-reconfigure tex-common" did not provide that familiar debconf-dialog
for choosing hyphention and other language support. What should I do?
I think this bug is so obvious that minimal example file is not needed.

What will happen, if I purge and re-install all TeX-related packages?
I fear I will lose also Finnish hyphenation in that process.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates'), (500, 'proposed-updates'), (101, 'unstable'), (99, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8)

Versions of packages tex-common depends on:
ii  debconf [debconf-2.0]         1.5.4      Debian configuration management sy
ii  ucf                           2.0014     Update Configuration File: preserv

tex-common recommends no packages.

Versions of packages texlive-base depends on:
ii  texlive-base-bin           2005.dfsg.1-1 TeX Live: Essential binaries
ii  texlive-common             2005.dfsg.1-1 TeX Live: Base component
ii  texlive-doc-base           2005.dfsg.1-1 TeX Live: Base documentation

-- debconf information:
  tex-common/check_texmf_wrong:
  tex-common/check_texmf_missing:
  tex-common/singleuser: false
  tex-common/cnf_name:

-- 
Juhapekka "naula" Tolvanen * http colon slash slash iki dot fi slash juhtolv
----------------------------------------------------------------------------
"Realisti, ateisti - Se ei koske sinua. Demokratia, byrokratia - Se koskee
sinua. Vapaus, veljeys, tasa-arvo - Se ei koske sinua. Kansalle virtaa. Se
sattuu ja se koskee sinua. Kärsi!"                           Turmion kätilöt



Reply to: