mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
parent
621ccc5e4e
commit
e36c661c61
@ -213,7 +213,11 @@ ColorCode InsetNewpage::ColorName() const
|
|||||||
|
|
||||||
void InsetNewpage::latex(otexstream & os, OutputParams const & runparams) 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:
|
case InsetNewpageParams::NEWPAGE:
|
||||||
os << "\\newpage" << termcmd;
|
os << "\\newpage" << termcmd;
|
||||||
break;
|
break;
|
||||||
@ -231,6 +235,7 @@ void InsetNewpage::latex(otexstream & os, OutputParams const & runparams) const
|
|||||||
default:
|
default:
|
||||||
os << "\\newpage" << termcmd;
|
os << "\\newpage" << termcmd;
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user