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

Bug#108448: wrong hyphen.cfg used when cslatex installed



Subject: wrong hyphen.cfg used when cslatex installed
Package: tetex-base
Version: 1.0-10
Severity: normal

Hi!

First of all, this is a sequel to my Bug#105383 report on Jul 15,
but I decided to do a new report. So you can close #105383 now
and try to fix this one.

Secondly, this is not only a problem with package "tetex-base",
but with the whole TeX system.

Third, this seems to be an error with TeTeX, not Debian, but I'm
not quite sure (does the czech latex stuff belong to TeTeX?),
so perhaps you want to forward this bug report to the upstream author.

But let's start now!

My old problem was that, after upgrading to Potato, selecting
german with babel didn't work anymore. Finally I have found the
reason for my problem. For some strange reason I not only installed
the TeX packages from the STD and OPT priority, but also the 
*czech* packages "cslatex", "csplain", etc. from the Xtr section
(don't ask me why... maybe because I like the czech girls? :) ).

Now, as I told you, babel didn't work correct, so I did a 

	"fmtutil --all"

to remake all the format files. I did not change any of the files 
in "/etc/texmf" (not necessary, because "language.dat" is alright 
for my purposes: german and ngerman are defined and point to the 
correct files), but after that, the problem hasn't gone. So I looked 
into the logfile

	"/var/lib/texmf/web2c/latex.log"

which has been written along with the remade format file, and here is 
the result (an excerpt):

	<snip>

===========================================
Local configuration file hyphen.cfg used
===========================================
(/usr/share/texmf/tex/latex/cslatex/hyphen.cfg

Loading english hyphenation patterns and exceptions
(/usr/share/texmf/tex/generic/hyphen/hyphen.tex)

Loading czech hyphenation patterns and exceptions for IL2
(/usr/share/texmf/tex/generic/hyphen/czhyphen.tex)

Loading czech hyphenation patterns and exceptions for T1
(/usr/share/texmf/tex/generic/hyphen/czhyphen.tex)

Loading slovak hyphenation patterns and exceptions for IL2
(/usr/share/texmf/tex/generic/hyphen/skhyphen.tex)

Loading slovak hyphenation patterns and exceptions for T1
(/usr/share/texmf/tex/generic/hyphen/skhyphen.tex))
 
	<snap>

As you can see, it's the wrong "hyphen.cfg", which has been loaded;
the right one is that in "tex/generic/babel". When I did a

	find . -name 'hyphen.cfg'

from the toplevel dir (/usr/share/texmf), I got *3* different 
files "hyphen.cfg", and the czech one was the first in the list. 
So I assume, that TeTeX gets this instead of babel's, by using 
it's ls-R mechanism.

Now, I purged all the czech stuff, and did again a remake of the
formats. After that, everything seems to be alright with "latex.log":

	<snip>

===========================================
Local configuration file hyphen.cfg used
===========================================
(/usr/share/texmf/tex/generic/babel/hyphen.cfg
File: hyphen.cfg 1999/05/05 v3.6x Babel language switching mechanism
\l@american=\language0

(/usr/share/texmf/tex/generic/hyphen/ushyph1.tex)
\l@USenglish=\language0
\l@english=\language0
\l@french=\language1

(/usr/share/texmf/tex/generic/hyphen/fr19998t.tex
fr19998t.tex - french hyphenation patterns (V2.5) <1999/03/08>)
\l@patois=\language1
\l@german=\language2

(/usr/share/texmf/tex/generic/hyphen/dehypht.tex
German Traditional Hyphenation Patterns `dehypht' Version 3.2a <1999/03/03>
(Formerly known under the name `ghyph31' and `ghyphen'.))
\l@austrian=\language2
\l@ngerman=\language3

(/usr/share/texmf/tex/generic/hyphen/dehyphn.tex
German New Hyphenation Patterns `dehyphn' Rev.28 <1999-03-08> (WaS)
(Formerly known under the name `gnhyph01'.))
\l@naustrian=\language3
\l@nohyphenation=\language4

(/usr/share/texmf/tex/generic/hyphen/zerohyph.tex))

	<snap>

I wrote some latex testfiles, and I did not find any errors.

My conclusion is, that this error isn't a very hard problem, but it should
be fixed someday, because if there are any people talking both czech *and* 
german (or french or...), they perhaps won't find a solution for this 
problem. It took me several hours, and I am a somewhat experienced 
computer user (though not an experienced TeX admin).


Greetings,
Michael

-- System Information
Debian Release: 2.2
Architecture: i386
Kernel: Linux woglintel 2.2.16 #5 Tue Aug 1 04:52:30 CEST 2000 i586

Versions of packages tetex-base depends on:
ii  dpkg-perl                     0.1-3.0    Perl interface modules for dpkg   

-- Configuration Files:
/etc/texmf/dvips/config.ps changed [not included]
/etc/texmf/modes.mf changed [not included]

-- 
Michael Schneider <m_schnei@gmx.de>

sending M$ Windows the KILL sig...

Attachment: pgpjx82oXfSgW.pgp
Description: PGP signature


Reply to: