mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-08 18:19:42 +00:00
fix convertion of line and page breaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9915 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
63ebe9def7
commit
214cedc2e8
@ -1,3 +1,7 @@
|
||||
2005-05-06 José Matos <jamatos@lyx.org>
|
||||
|
||||
* lyx_1_4.py (convert_breaks): put all paragraph parameters into a single line.
|
||||
|
||||
2005-05-04 José Matos <jamatos@lyx.org>
|
||||
|
||||
* LyX.py: fix allowed parameters for paragraphs.
|
||||
|
@ -524,6 +524,12 @@ def convert_breaks(file):
|
||||
if i == -1:
|
||||
return
|
||||
i = i + 1
|
||||
|
||||
# Merge all paragraph parameters into a single line
|
||||
while file.body[i + 1][:1] == '\\':
|
||||
file.body[i] = file.body[i + 1] + ' ' + file.body[i]
|
||||
del file.body[i+1]
|
||||
|
||||
line_top = find(file.body[i],"\\line_top")
|
||||
line_bot = find(file.body[i],"\\line_bottom")
|
||||
pb_top = find(file.body[i],"\\pagebreak_top")
|
||||
|
Loading…
Reference in New Issue
Block a user