mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 02:49:46 +00:00
Fix bug #8139 and a thinko in [737e9b2c/lyxgit].
No status.20x entry needed, as this should have been part
of [3285ce1d5/lygit].
(cherry picked from commit 66a95b9c1b
)
This commit is contained in:
parent
7cea9372d5
commit
7a605c4535
@ -272,7 +272,9 @@ OutputParams::FLAVOR Converters::getFlavor(Graph::EdgePath const & path,
|
||||
for (Graph::EdgePath::const_iterator cit = path.begin();
|
||||
cit != path.end(); ++cit) {
|
||||
Converter const & conv = converterlist_[*cit];
|
||||
if (conv.latex)
|
||||
if (conv.latex) {
|
||||
if (conv.latex_flavor == "latex")
|
||||
return OutputParams::LATEX;
|
||||
if (conv.latex_flavor == "xelatex")
|
||||
return OutputParams::XETEX;
|
||||
if (conv.latex_flavor == "lualatex")
|
||||
@ -281,6 +283,7 @@ OutputParams::FLAVOR Converters::getFlavor(Graph::EdgePath const & path,
|
||||
return OutputParams::DVILUATEX;
|
||||
if (conv.latex_flavor == "pdflatex")
|
||||
return OutputParams::PDFLATEX;
|
||||
}
|
||||
if (conv.xml)
|
||||
return OutputParams::XML;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user