From d8396e9c7f2e8d225e537b279c4a7a513ddee707 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Thu, 16 Apr 2009 08:33:43 +0000 Subject: [PATCH] * LaTeX.cpp: some debug output. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29256 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LaTeX.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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; -- 2.39.2