mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
small fixup in tex2lyx lstlistings/inputminted support.
This commit is contained in:
parent
f3c5bcd2be
commit
bd77d8ad61
@ -4801,6 +4801,8 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
||||
literal = !oa.first;
|
||||
if (literal)
|
||||
lstparams = subst(lstparams, "\n", " ");
|
||||
else
|
||||
lstparams = oa.second;
|
||||
} else if (name == "inputminted") {
|
||||
name = "lstinputlisting";
|
||||
string const lang = p.getArg('{', '}');
|
||||
@ -4833,6 +4835,8 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
||||
literal = !oa.first;
|
||||
if (literal)
|
||||
lstparams = subst(lstparams, "\n", " ");
|
||||
else
|
||||
lstparams = oa.second;
|
||||
}
|
||||
}
|
||||
string lit = literal ? "\"true\"" : "\"false\"";
|
||||
|
Loading…
Reference in New Issue
Block a user