Following message I have sent to JMarc and Ruurd
([EMAIL PROTECTED]) who helped me porting Lyx to Win32. I don't
know if this is only a Win32 problem but makeindex will not be called
although a missing *.ind file has been detected by latex (and not by LyX):

============================= begin =======================================
Sorry to say but there still seems to be a bug with makeindex. Although the
Latex protocol shows
    ...
    Writing index file sample.idx
    No file sample.aux
    ...
    No file sample.ind.
    [1

    ](sample.aux)
    Output written on sample.dvi (1 page, 336 bytes)

makeindex will not be called so the index will not be present in the file! I
have included a '\makeindex' in the preamble directly after
'\usepackage{makeidx}'. So this should be okay (Seems that latex knows about
the index!)

Any idea what's wrong? src/Latex.C has

        // 0.5
        // At this point we must run external programs if needed.
        // makeindex will be run if a .idx file changed or was generated.
        // And if there were undefined citations or changes in references
        // the .aux file is checked for signs of bibtex. Bibtex is then run
        // if needed.

        // run makeindex
        if (head.haschanged(OnlyFilename(ChangeExtension(file, ".idx")))) {
                // no checks for now
                lyxerr[Debug::LATEX] << "Running MakeIndex." << endl;
                WriteStatus(minib, _("Running MakeIndex."));
                rerun = runMakeIndex(OnlyFilename(ChangeExtension(file,
".idx"))
        }

so it seems that DepTable::haschanged() didn't detect the idx file and
therefore did not call makeindex (-dbg 128 shows that makeindex will never
be called)

Claus

============================= end ========================================

Any idea?

Claus

P.S.: Please post a copy to me if using the lyx-devel list because I've not
subscribed to!


Reply via email to