From: Jürgen Spitzmüller Date: Thu, 16 Apr 2009 08:33:43 +0000 (+0000) Subject: * LaTeX.cpp: some debug output. X-Git-Tag: 2.0.0~6826 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=d8396e9c7f2e8d225e537b279c4a7a513ddee707;p=features.git * LaTeX.cpp: some debug output. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29256 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/LaTeX.cpp b/src/LaTeX.cpp index 6bd55e8216..04b63e3a68 100644 --- a/src/LaTeX.cpp +++ b/src/LaTeX.cpp @@ -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;