Bug#388788: Adding hyphenations of new languages is nothing but a major pain in the hindquarters
On Sat, 23 Sep 2006, +12:22:27 EEST (UTC +0300),
Norbert Preining <preining@logic.at> pressed some keys:
> On Fre, 22 Sep 2006, Juhapekka Tolvanen wrote:
> > 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
>
> Which pther texlive packages do yuou have installed
juhtolv@heresy:/home/juhtolv % cd /usr/share/doc
juhtolv@heresy:/usr/share/doc % ls -d *texlive*
texlive/ texlive-fonts-recommended/ texlive-latex-base/
texlive-base/ texlive-font-utils/
texlive-latex-extra/
texlive-base-bin/ texlive-formats-extra/
texlive-latex-recommended/
texlive-bibtex-extra/ texlive-games/ texlive-math-extra/
texlive-common/ texlive-generic-extra/ texlive-metapost/
texlive-context/ texlive-generic-recommended/ texlive-omega/
texlive-doc/ texlive-lang-finnish/ texlive-pdfetex/
texlive-doc-base/ texlive-lang-french/ texlive-pictures/
texlive-doc-en/ texlive-lang-italian/
texlive-plain-extra/
texlive-doc-fi/ texlive-lang-latin/ texlive-pstricks/
texlive-extra-utils/ texlive-lang-ukenglish/ texlive-publishers/
texlive-fonts-extra/ texlive-latex3/
> On Sam, 23 Sep 2006, Juhapekka Tolvanen wrote:
> > > > 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.
> >
> > > In what sense was it not properly generated? How did you determin that?
> >
> > That file said nothing about Italian and French.
>
> This is very strange. Can you take a look into
> /var/lib/dpkg/info/texlive-lang-french.postinst
> and check whether there is a call for update-languages? (Sorry I am away
> from any of my computers with texlive so I cannot check myself).
Yes, it has it:
case "$1" in
configure|abort-upgrade|abort-remove|abort-deconfigure)
update-texmf
update-language
update-fmtutil
update-updmap --quiet
update_lsr_files
build_format_if_format_exists --byhyphen latex `kpsewhich
language.dat`
;;
*)
echo "postinst called with unknown argument '$1'" >&2
exit 1
;;
esac
> - does the directory /root/.texmf-config exist and what files are in
> there
> - same for /root/.texmf-var
> - same for /usr/local/share/texmf/web2c/
Those directories do not exist. But let's see, what I have in my home
directory:
juhtolv@heresy:/home/juhtolv % tree .texmf*
.texmf-var
|-- fonts
| `-- tfm
| `-- jknappen
| `-- ec
`-- web2c
|-- latex.fmt
|-- latex.log
|-- pdflatex.fmt
`-- pdflatex.log
5 directories, 4 files
That "web2c" looks suspicious. Let's move whole directory to other name:
juhtolv@heresy:/home/juhtolv % mv .texmf-var dot.texmf-var.save
And then I run latex:
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, usenglishmax,
dumylang, noh
yphenation, finnish, french, basque, italian, latin, ukenglish, loaded.
(MAJOR CLIP)
(/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
*************************************
* Local config file frenchb.cfg used
*
(/usr/share/texmf-texlive/tex/generic/babel/frenchb.cfg))
(/usr/share/texmf-texlive/tex/generic/babel/italian.ldf))
BINGO! :-D
--
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: