[tex-live] TeX Live Installer -- pregeneration of formats

Frank Küster frank at kuesterei.ch
Thu Jun 12 22:06:53 CEST 2008


karl at freefriends.org (Karl Berry) wrote:

>     I am not completely sure whether it was jadetex or xmltex, but one of
>
> They both are the same, as far as format building goes.  Both require
> &latex.  (And pdfjadetex and pdfxmltex require &pdflatex.)
>
> If that causes a bug for some reason, we can fix it to not require the
> formats (and not build any fancy dependency stuff into fmtutil either),
> but just \input the right files in the right cases.  Necessary or not?

Necessary or not, it's not that simple when the format is included in a
Debian package separate from LaTeX. But it doesn't make much sense to
discuss that now: I'm sure I would have to take more time than I can
currently spare to read through the old bug reports in order to
understand all of it, let alone explain the details. On the other hand,
we do have an acceptable solution, in our script to merge individual
format-providing packages' files into fmtutil.cnf:

# do_not_include_snippet_that_depends_on_a_not_included_snippet <file path>
do_not_include_snippet_that_depends_on_a_not_included_snippet()
{
    file="$1"

    cat >>"$tempfile" <<EOF

$CC$CC
$CC$CC$CC $file not included because it depends
$CC$CC$CC on another file that is not included here. For instance, jadetex and
$CC$CC$CC xmltex snippets are not included in fmtutil.cnf when the snippet for
$CC$CC$CC LaTeX isn't included itself. This is because the jadetex and xmltex
$CC$CC$CC formats need the LaTeX format when being built (see bug #427562).
$CC$CC
EOF
}

> I can imagine that it is, since jadetex precedes latex alphabetically,
> and that is how they are listed in fmtutil.cnf now, and if fmtutil --all
> just proceeds in order ... however, Norbert/Staszek/others have been
> testing the new fmtutil.cnf for quite some time now and haven't
> complained.  So what's the story, guys :)?

It only happens when you have separate packages, plus the peculiarities
that arise when you separate unpacking and configuration as Debian does.

Regards, Frank

-- 
Frank Küster
Debian Developer (teTeX/TeXLive)


More information about the tex-live mailing list