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

Bug#388788: marked as done (Adding hyphenations of new languages is nothing but a major pain in the hindquarters)



Your message dated Sun, 24 Sep 2006 12:02:41 +0200
with message-id <20060924100241.GA27516@gamma.logic.tuwien.ac.at>
and subject line Bug#388788: Adding hyphenations of new languages is nothing but a major pain in the hindquarters
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Hi Juhapekka!

On Son, 24 Sep 2006, Juhapekka Tolvanen wrote:
> juhtolv@heresy:/home/juhtolv % mv .texmf-var dot.texmf-var.save
> 
> yphenation, finnish, french, basque, italian, latin, ukenglish, loaded.
> 
> BINGO! :-D

So I guess I can close the bug. This happened probably because you
recreated the latex format as user and not as root.

If you feel that there is still work to be done here please reopen the
bug.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at>                    Università di Siena
Debian Developer <preining@debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
The fronting for the eighty-yard long marble-topped bar
had been made by stitching together nearly twenty thousand
Antarean Mosaic Lizard skins, despite the fact that the
twenty thousand lizards concerned had needed them to keep
their insides in.
                 --- The Book decribing Milliways' politically incorrect
                 --- decor.
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy

--- End Message ---

Reply to: