mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-24 09:04:48 +00:00
parent
1ad2de5a64
commit
caf56220c6
@ -214,7 +214,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{}";
|
os << "\\newpage{}";
|
||||||
break;
|
break;
|
||||||
@ -232,6 +236,7 @@ void InsetNewpage::latex(otexstream & os, OutputParams const & runparams) const
|
|||||||
default:
|
default:
|
||||||
os << "\\newpage{}";
|
os << "\\newpage{}";
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -144,8 +144,8 @@ What's new
|
|||||||
- Use \providecommand for logical markup macros. This fixes a LaTeX error
|
- Use \providecommand for logical markup macros. This fixes a LaTeX error
|
||||||
with strong and fontenc.
|
with strong and fontenc.
|
||||||
|
|
||||||
- Fix problem with deleted paragraph breaks when changes are shown in
|
- Fix problem with deleted page and paragraph breaks when changes are
|
||||||
output (bug 10579).
|
shown in output (bugs 10554 and 10579).
|
||||||
|
|
||||||
- Allow for empty .lyx files to be opened (bug 9198).
|
- Allow for empty .lyx files to be opened (bug 9198).
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user