bug-texinfo
[Top][All Lists]
Advanced

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

Re: texi2dvi and lualatex


From: Karl Berry
Subject: Re: texi2dvi and lualatex
Date: Fri, 11 Jul 2014 00:05:09 GMT

Hi Wybo,

       LATEX='lualatex' texi2dvi --debug -V main.tex >& lualatex.debug

    then the TOC, the bibliography, and the index are all absent. 

I believe it's because luatex does not write lines into the .log to
record \openout files (as all other engines do).  Lines like this:
..
\openout3 = `main.idx'.
\openout1 = `main.aux'.
..

The generated_files_get() function in texi2dvi looks for that to
determine which files have been created, and thus which subtools (e.g.,
bibtex) to run.  So it thinks there is nothing to be done after one run.
I conclude that no one has ever used texi2dvi with luatex before.

Unfortunately no good fix immediately comes to mind.  I don't much want
to switch to using --recorder, since people will surely have old tex's
that don't support it.  I guess maybe hardwiring looking for .aux and
.toc might have to be done.  (Aside from asking Taco to restore the
\openout logging next year, but of course that won't help now.)

I'll think about it ...

Thanks for the report, I guess :).

karl



reply via email to

[Prev in Thread] Current Thread [Next in Thread]