mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Further fixes for InsetLayout argument (for environments and empty latex names)
This commit is contained in:
parent
07a01f40f9
commit
bf83ca75ef
@ -448,10 +448,16 @@ void InsetText::latex(otexstream & os, OutputParams const & runparams) const
|
||||
if (runparams.lastid != -1)
|
||||
os.texrow().start(runparams.lastid,
|
||||
runparams.lastpos);
|
||||
os << "\\begin{" << from_utf8(il.latexname()) << "}\n";
|
||||
os << "\\begin{" << from_utf8(il.latexname()) << "}";
|
||||
getOptArg(os, runparams);
|
||||
if (!il.latexparam().empty())
|
||||
os << from_utf8(il.latexparam());
|
||||
os << '\n';
|
||||
}
|
||||
} else {
|
||||
getOptArg(os, runparams);
|
||||
if (!il.latexparam().empty())
|
||||
os << from_utf8(il.latexparam());
|
||||
}
|
||||
OutputParams rp = runparams;
|
||||
if (il.isPassThru())
|
||||
|
Loading…
Reference in New Issue
Block a user