mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-31 15:46:16 +00:00
Fix a4 package removal when the preamble is already there.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10374 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7bc6a713a2
commit
a69c7f771d
@ -1,3 +1,7 @@
|
||||
2005-07-29 José Matos <jamatos@lyx.org>
|
||||
|
||||
* lyx_1_4.py: Fix a4 package removal when the preamble is already there.
|
||||
|
||||
2005-07-29 José Matos <jamatos@lyx.org>
|
||||
|
||||
* lyx_1_4.py: Fix widemarginsa4 convertion.
|
||||
|
@ -1883,7 +1883,7 @@ def remove_paperpackage(file):
|
||||
file.header[j:j]=["\\begin_preamble",
|
||||
conv[paperpackage],"\\end_preamble"]
|
||||
else:
|
||||
file.header[j+1:j+1] = conv[paperpackage]
|
||||
file.header[j+1:j+1] = [conv[paperpackage]]
|
||||
|
||||
del file.header[i]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user