mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
Allow $$s converter substitution if 'latex' flag
A more general patch will be committed for 2.2 that centralizes replacement of $$s in startScript().
This commit is contained in:
parent
9ca242e5bf
commit
731b8610af
@ -403,6 +403,7 @@ bool Converters::convert(Buffer const * buffer,
|
|||||||
command = subst(command, token_from, "");
|
command = subst(command, token_from, "");
|
||||||
command = subst(command, token_latex_encoding, buffer ?
|
command = subst(command, token_latex_encoding, buffer ?
|
||||||
buffer->params().encoding().latexName() : string());
|
buffer->params().encoding().latexName() : string());
|
||||||
|
command = libScriptSearch(command);
|
||||||
LYXERR(Debug::FILES, "Running " << command);
|
LYXERR(Debug::FILES, "Running " << command);
|
||||||
if (!runLaTeX(*buffer, command, runparams, errorList))
|
if (!runLaTeX(*buffer, command, runparams, errorList))
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user