mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-12 22:14:35 +00:00
Style and whitespace
This commit is contained in:
parent
befe2da495
commit
551ede855a
@ -405,14 +405,14 @@ void InsetListings::latex(otexstream & os, OutputParams const & runparams) const
|
||||
os << code << breakln << "\\end{lstlisting}\n";
|
||||
}
|
||||
|
||||
if (encoding_switched){
|
||||
if (encoding_switched) {
|
||||
// Switch back
|
||||
switchEncoding(os.os(), buffer().params(),
|
||||
runparams, *save_enc, true, true);
|
||||
if (!isInline)
|
||||
// Go out of vertical mode. Otherwise \egroup
|
||||
// causes a paragraph break (#12821)
|
||||
os << "\\leavevmode";
|
||||
if (!isInline)
|
||||
// Go out of vertical mode. Otherwise \egroup
|
||||
// causes a paragraph break (#12821)
|
||||
os << "\\leavevmode";
|
||||
os << "\\egroup" << breakln;
|
||||
runparams.encoding = save_enc;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user