mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-24 09:04:48 +00:00
InsetLayout: Output [latexparam] on same line as \begin{inset}.
This commit is contained in:
parent
62b1319752
commit
60ec70a6f5
@ -413,9 +413,10 @@ void InsetText::latex(otexstream & os, OutputParams const & runparams) const
|
|||||||
if (runparams.lastid != -1)
|
if (runparams.lastid != -1)
|
||||||
os.texrow().start(runparams.lastid,
|
os.texrow().start(runparams.lastid,
|
||||||
runparams.lastpos);
|
runparams.lastpos);
|
||||||
os << "\\begin{" << from_utf8(il.latexname()) << "}\n";
|
os << "\\begin{" << from_utf8(il.latexname()) << "}";
|
||||||
if (!il.latexparam().empty())
|
if (!il.latexparam().empty())
|
||||||
os << from_utf8(il.latexparam());
|
os << from_utf8(il.latexparam());
|
||||||
|
os << "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
OutputParams rp = runparams;
|
OutputParams rp = runparams;
|
||||||
|
@ -98,6 +98,8 @@ What's new
|
|||||||
|
|
||||||
- Use document language when exporting citations to LyXHTML (bug 7732).
|
- Use document language when exporting citations to LyXHTML (bug 7732).
|
||||||
|
|
||||||
|
- Fix InsetLayout's LatexParam output: \begin{inset}[latexparam].
|
||||||
|
|
||||||
|
|
||||||
* USER INTERFACE
|
* USER INTERFACE
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user