mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
parent
621ccc5e4e
commit
e36c661c61
@ -213,7 +213,11 @@ ColorCode InsetNewpage::ColorName() const
|
||||
|
||||
void InsetNewpage::latex(otexstream & os, OutputParams const & runparams) const
|
||||
{
|
||||
switch (params_.kind) {
|
||||
if (runparams.inDeletedInset) {
|
||||
os << "\\mbox{}\\\\\\makebox[\\columnwidth]{\\dotfill\\ "
|
||||
<< insetLabel() << "\\ \\dotfill}";
|
||||
} else {
|
||||
switch (params_.kind) {
|
||||
case InsetNewpageParams::NEWPAGE:
|
||||
os << "\\newpage" << termcmd;
|
||||
break;
|
||||
@ -231,6 +235,7 @@ void InsetNewpage::latex(otexstream & os, OutputParams const & runparams) const
|
||||
default:
|
||||
os << "\\newpage" << termcmd;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user