]> git.lyx.org Git - features.git/commitdiff
* LaTeX.cpp: some debug output.
authorJürgen Spitzmüller <spitz@lyx.org>
Thu, 16 Apr 2009 08:33:43 +0000 (08:33 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Thu, 16 Apr 2009 08:33:43 +0000 (08:33 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29256 a592a061-630c-0410-9148-cb99ea01b6c8

src/LaTeX.cpp

index 6bd55e8216af6127564548b8812c52ccc9188117..04b63e3a6877c98e479464fde0cfe70a1e1fbfbd 100644 (file)
@@ -412,14 +412,19 @@ int LaTeX::startscript()
 bool LaTeX::runMakeIndex(string const & f, OutputParams const & runparams,
                         string const & params)
 {
-       LYXERR(Debug::LATEX,
-               "idx file has been made, running makeindex on file " << f);
        string tmp = runparams.use_japanese ?
                lyxrc.jindex_command : lyxrc.index_command;
 
+       LYXERR(Debug::LATEX,
+               "idx file has been made, running index processor ("
+               << tmp << ") on file " << f);
+
        tmp = subst(tmp, "$$lang", runparams.document_language);
-       if (runparams.use_indices)
+       if (runparams.use_indices) {
                tmp = lyxrc.splitindex_command + " -m " + quoteName(tmp);
+               LYXERR(Debug::LATEX,
+               "Multiple indices. Using splitindex command: " << tmp);
+       }
        tmp += ' ';
        tmp += quoteName(f);
        tmp += params;