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

Bug#265743: debian-reference: FTBFS: tetex-bin changes?



On 15.08.04 Jens Seidel (jensseidel@users.sf.net) wrote:
> On Sat, Aug 14, 2004 at 11:07:47PM +0200, J.H.M. Dassen (Ray) wrote:
> > On Sat, Aug 14, 2004 at 19:51:31 +0200, Kurt Roeckx wrote:

Hi,

> > > Transcript written on pdflatex.log.
> > > fmtutil: /var/lib/texmf/web2c/pdflatex.fmt installed.
> > > (Fatal format file error; I'm stymied)
> > > debiandoc2latexpdf: ERROR: reference.en.pdf could not be generated properly
> > > make[1]: *** [reference.en.pdf] Error 1
> > > 
> > > I assume this has to do with the recent changes to tetex-bin, but I'm not
> > > really sure.
> 
> Strange. I cannot reproduce this using tetex-bin version 2.0.2-15.
> 
e-TeX migration was done in tetex 2.0.2-17

> Can you try
> 
> TEXINPUTS=$(pwd)/texmf/:$(kpsetool -n tex -p tex) \
> fmtutil --byfmt latex --fmtdir .
> 
> from the source dir of Debian reference? Does texmf/ contain
> texmf.cnf and language.dat?
> 
Both should be below texmf/ and softlinks pointing to files in
/etc/texmf

> This should create a LaTeX format file in the current directory
> with hyphenation patterns for all languages specified in
> language.dat. This is important since the default tetex
> installation doesn't support as many languages as Debian reference
> is translated to.
> 
tetex-base (2.0.2a-2) unstable; urgency=low

  * By default, enable all hyphenation patterns in language.dat [frank]

 -- Frank Küster <frank@debian.org>  Fri, 30 Jul 2004 12:55:50 +0200

So, which languages are you speaking about?

> > Looks like it. Changing bin/debiandoc2latexpdf's "pdflatex" call
> > to a "pdfelatex" one seems to be a workaround.
> 
> Indeed. elatex use language.def per default and not language.dat so
> there will be no hyphen support for .ps and .pdf output.
> 
root@drachi:~# more /var/lib/texmf/web2c/fmtutil.cnf
<snip>
# Change "tex.ini -> bplain.ini" and "- -> language.dat"
# if you want babel support in tex:
tex             tex             -               tex.ini
# Change "etex -> tex" and "*latex.ini -> latex.ini" to get back
# the traditional, non-eTeX-2 enabled LaTeX format named latex.
# Analogous changes can be made for pdflatex.
latex           tex             language.dat    latex.ini
latex           etex            language.dat    *latex.ini
etex            etex            language.def    *etex.ini
elatex          etex            language.dat    *elatex.ini

the normal LaTeX call (using etex) will use language.dat.

root@drachi:~# latex z1.tex
This is e-TeX, Version 3.14159-2.1 (Web2C 7.4.5)
entering extended mode
(./z1.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german,
ngerman, bahasa, basque, catalan, croatian, czech, danish, dutch,
finnish, greek, icelandic, italian, latin, magyar, norsk, norsk,
norsk, portuges, romanian, russian, slovak, slovene, spanish,
turkish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls

> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=265247 is a
> tetex-bin related serious bug which describes a similar problem
> related to language.dat. Maybe there is a relation?
> 
I don't think so. Have a look at the bug report.

H.
-- 
http://hilmarpreusse.forum-rheinland.de/



Reply to: