From: Scott Kostyshak Date: Sat, 25 Jan 2014 18:16:05 +0000 (-0500) Subject: Allow $$s converter substitution if 'latex' flag X-Git-Tag: 2.1.0rc1~176 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=731b8610;p=features.git 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 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;