mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
fix bug 2001
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10407 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3b10e9a9e5
commit
a0c546831e
@ -1,3 +1,7 @@
|
|||||||
|
2005-08-18 José Matos <jamatos@lyx.org>
|
||||||
|
|
||||||
|
* lyx_1_4.py (remove_paperpackage): fix bug 2001.
|
||||||
|
|
||||||
2005-08-18 José Matos <jamatos@lyx.org>
|
2005-08-18 José Matos <jamatos@lyx.org>
|
||||||
|
|
||||||
* LyX.py (read, write): add preamble as data member of LyX_Base,
|
* LyX.py (read, write): add preamble as data member of LyX_Base,
|
||||||
|
@ -1866,7 +1866,7 @@ def remove_paperpackage(file):
|
|||||||
conv = {"a4":"\\usepackage{a4}","a4wide": "\\usepackage{a4wide}",
|
conv = {"a4":"\\usepackage{a4}","a4wide": "\\usepackage{a4wide}",
|
||||||
"widemarginsa4": "\\usepackage[widemargins]{a4}"}
|
"widemarginsa4": "\\usepackage[widemargins]{a4}"}
|
||||||
# for compatibility we ensure it is the first entry in preamble
|
# for compatibility we ensure it is the first entry in preamble
|
||||||
file.preamble[0:0] = conv[paperpackage]
|
file.preamble[0:0] = [conv[paperpackage]]
|
||||||
|
|
||||||
del file.header[i]
|
del file.header[i]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user