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

Re: The hated xmltex/jadetex games in combination with new tex-common



Norbert Preining <preining@logic.at> wrote:

> On Mit, 23 Aug 2006, Frank Küster wrote:
>> It's very difficult to compare, because my system is much more verbose
>> than yours:
>
> Oops. You compared the myjadetex.log as generated from pdftex by itself
> with the output of fmtutil-sys.
>
> Can you send me your myjadetex.log, the one in
> /var/lib/texmf/web2c/myjadetex.log

Ah, the stdout of fmtutil.  Yes, we probably get closer.  Yes, I have it
- there are at least two bugs, one in jadetex and one in
tex-common/TeXlive-Upstream. 

You have texlive-lang-czechslovak installed, which provides a
fonttext.cfg that shadows LaTeX's fonttext.cfg.  With that, I get the
same error you got (the only difference now is that you have much more
hyphenation patterns installed).

It happens that

/usr/share/texmf-texlive/tex/cslatex/base/fonttext.cfg

sorts earlier than 

/usr/share/texmf-texlive/tex/latex/base/fonttext.cfg

which it shouldn't. The problem is that jadetex is based on latex, but
progname is jadetex:

frank@sid:~$ kpsewhich -progname=latex fonttext.cfg
/usr/share/texmf-texlive/tex/latex/base/fonttext.cfg
frank@sid:~$ kpsewhich -progname=jadetex fonttext.cfg
/usr/share/texmf-texlive/tex/cslatex/base/fonttext.cfg

Therefore, this patch should help:

-TEXINPUTS.jadetex = .;$TEXMF/tex/{jadetex,plain,generic,}//
+TEXINPUTS.jadetex = .;$TEXMF/tex/{jadetex,latex,plain,generic,}//

(this is the bug in jadetex).  The other bug is in tex-common: It has
entries for the TEXINPUTS paths for the formats that are in separate
packages: 

$ grep jadetex /etc/texmf/texmf.d/{1,4}5*    
/etc/texmf/texmf.d/15Plain.cnf:TEXINPUTS.jadetex = .;$TEXMF/tex/{jadetex,plain,generic,}//
/etc/texmf/texmf.d/45TeXinputs.cnf:TEXINPUTS.pdfjadetex = .;$TEXMF/tex/{jadetex,plain,generic,}//

The entry in 15Plain.cnf is completely wrong, since jadetex isn't
plain-based.  This is also a bug in TeXLive upstream.  I suggest to put
both formats to the "LaTeX2e specific formats" near cslatex and platex.
Furthermore, the jadetex package should drop the pdftex toplevel
directory, since it is never used.

Regards, Frank



P.S. I just found this one:

kdebug:start search(file=texmf.cnf, must_exist=1, find_all=1,
path=/usr/bin:/usr:/:/usr/bin/share/texmf-local/web2c:/usr
/share/texmf-local/web2c://share/texmf-local/web2c:/usr/bin/texmf-local/web2c:/usr/texmf-local/web2c://texmf-local/web2c
:/usr/bin/share/texmf/web2c:/usr/share/texmf/web2c://share/texmf/web2c:/usr/bin/texmf/web2c:/usr/texmf/web2c://texmf/web
2c::/tmp/buildd/texlive-bin-2005.dfsg.1/build/inst/texmf/web2c:/tmp/buildd/texlive-bin-2005.dfsg.1/build/inst/texmf/web2
c).

It looks very wrong to me that the build directory is in the search path.

-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)



Reply to: