mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Only close btUnit at the end of the master.
This commit is contained in:
parent
199c3f8e22
commit
401961d087
@ -1403,7 +1403,7 @@ void latexParagraphs(Buffer const & buf,
|
||||
}
|
||||
}
|
||||
|
||||
if (runparams.openbtUnit)
|
||||
if (maintext && !is_child && runparams.openbtUnit)
|
||||
os << "\\end{btUnit}\n";
|
||||
|
||||
// if "auto end" is switched off, explicitly close the language at the end
|
||||
|
Loading…
Reference in New Issue
Block a user