commit 731b8610af07b3f4da5fc79ceedfb8e79b75787f
Author: Scott Kostyshak <[email protected]>
Date: Sat Jan 25 13:16:05 2014 -0500
Allow $$s converter substitution if 'latex' flag
A more general patch will be committed for 2.2 that
centralizes replacement of $$s in startScript().
diff --git a/src/Converter.cpp b/src/Converter.cpp
index a27d742..a3df839 100644
--- a/src/Converter.cpp
+++ b/src/Converter.cpp
@@ -403,6 +403,7 @@ bool Converters::convert(Buffer const * buffer,
command = subst(command, token_from, "");
command = subst(command, token_latex_encoding, buffer ?
buffer->params().encoding().latexName() :
string());
+ command = libScriptSearch(command);
LYXERR(Debug::FILES, "Running " << command);
if (!runLaTeX(*buffer, command, runparams, errorList))
return false;