From 731b8610af07b3f4da5fc79ceedfb8e79b75787f Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Sat, 25 Jan 2014 13:16:05 -0500 Subject: [PATCH] Allow $$s converter substitution if 'latex' flag A more general patch will be committed for 2.2 that centralizes replacement of $$s in startScript(). --- src/Converter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Converter.cpp b/src/Converter.cpp index a27d742a71..a3df839054 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; -- 2.39.2