diff --git a/src/insets/InsetText.cpp b/src/insets/InsetText.cpp index a548da259e..5c0c1135dd 100644 --- a/src/insets/InsetText.cpp +++ b/src/insets/InsetText.cpp @@ -413,9 +413,10 @@ 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()) << "}"; if (!il.latexparam().empty()) os << from_utf8(il.latexparam()); + os << "\n"; } } OutputParams rp = runparams; diff --git a/status.20x b/status.20x index 73c0aef56e..dfca7ab2c3 100644 --- a/status.20x +++ b/status.20x @@ -98,6 +98,8 @@ What's new - Use document language when exporting citations to LyXHTML (bug 7732). +- Fix InsetLayout's LatexParam output: \begin{inset}[latexparam]. + * USER INTERFACE