mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix widemargins a4 convertion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10372 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2479ac8f5f
commit
255c2c247f
@ -1,3 +1,7 @@
|
||||
2005-07-29 José Matos <jamatos@lyx.org>
|
||||
|
||||
* lyx_1_4.py: Fix widemarginsa4 convertion.
|
||||
|
||||
2005-07-29 José Matos <jamatos@lyx.org>
|
||||
|
||||
* lyx_1_4.py: \end_header was added in 222, not 223
|
||||
|
@ -1526,9 +1526,9 @@ def convert_paperpackage(file):
|
||||
packages = {'default':'none','a4':'none', 'a4wide':'a4', 'widemarginsa4':'a4wide'}
|
||||
if len(split(file.header[i])) > 1:
|
||||
paperpackage = split(file.header[i])[1]
|
||||
file.header[i] = replace(file.header[i], paperpackage, packages[paperpackage])
|
||||
else:
|
||||
paperpackage = "default"
|
||||
file.header[i] = replace(file.header[i], paperpackage, packages[paperpackage])
|
||||
file.header[i] = file.header[i] + ' widemarginsa4'
|
||||
|
||||
|
||||
def revert_paperpackage(file):
|
||||
|
Loading…
Reference in New Issue
Block a user