mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 21:55:29 +00:00
missing bits of the new insets for \clearpage and \cleardoublepage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16038 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7b031e5d86
commit
82b0e98d54
@ -1,6 +1,12 @@
|
||||
LyX file-format changes
|
||||
-----------------------§
|
||||
|
||||
2006-11-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* format incremented to 255: new insets for \clearpage and
|
||||
\cleardoublepage. They are written inline to the file, exactly like
|
||||
\newpage.
|
||||
|
||||
2006-11-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* format incremented to 254: new header parameter \use_esint.
|
||||
|
@ -73,7 +73,7 @@ format_relation = [("0_06", [200], generate_minor_versions("0.6" , 4)),
|
||||
("1_2", [220], generate_minor_versions("1.2" , 4)),
|
||||
("1_3", [221], generate_minor_versions("1.3" , 7)),
|
||||
("1_4", range(222,246), generate_minor_versions("1.4" , 3)),
|
||||
("1_5", range(246,255), generate_minor_versions("1.5" , 0))]
|
||||
("1_5", range(246,256), generate_minor_versions("1.5" , 0))]
|
||||
|
||||
|
||||
def formats_list():
|
||||
|
@ -603,6 +603,7 @@ def revert_esint(document):
|
||||
if (use_esint == 2):
|
||||
document.preamble.append('\\usepackage{esint}')
|
||||
|
||||
|
||||
def revert_clearpage(document):
|
||||
" clearpage -> ERT"
|
||||
i = 0
|
||||
@ -622,7 +623,8 @@ def revert_clearpage(document):
|
||||
'',
|
||||
'\\end_inset']
|
||||
i = i + 1
|
||||
|
||||
|
||||
|
||||
def revert_cleardoublepage(document):
|
||||
" cleardoublepage -> ERT"
|
||||
i = 0
|
||||
@ -643,6 +645,7 @@ def revert_cleardoublepage(document):
|
||||
'\\end_inset']
|
||||
i = i + 1
|
||||
|
||||
|
||||
##
|
||||
# Conversion hub
|
||||
#
|
||||
@ -656,7 +659,8 @@ convert = [[246, []],
|
||||
[251, []],
|
||||
[252, [convert_commandparams, convert_bibitem]],
|
||||
[253, []],
|
||||
[254, [convert_esint]]]
|
||||
[254, [convert_esint]],
|
||||
[255, []]]
|
||||
|
||||
revert = [[254, [revert_clearpage, revert_cleardoublepage]],
|
||||
[253, [revert_esint]],
|
||||
|
@ -143,7 +143,7 @@ using std::string;
|
||||
|
||||
namespace {
|
||||
|
||||
int const LYX_FORMAT = 254;
|
||||
int const LYX_FORMAT = 255;
|
||||
|
||||
} // namespace anon
|
||||
|
||||
|
@ -90,4 +90,4 @@ private:
|
||||
|
||||
} // namespace lyx
|
||||
|
||||
#endif // INSET_NEWLINE_H
|
||||
#endif // INSET_PAGEBREAK_H
|
||||
|
Loading…
Reference in New Issue
Block a user