mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
* layout2layout.py
(convert): remove spurious tabs git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15600 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
54623be435
commit
461900deb5
@ -135,7 +135,7 @@ def convert(lines):
|
||||
return
|
||||
error('Cannot convert file format %s' % format)
|
||||
else:
|
||||
lines.insert(i, "Format 2")
|
||||
lines.insert(i, "Format 2")
|
||||
only_comment = 0
|
||||
continue
|
||||
|
||||
@ -282,7 +282,7 @@ def convert(lines):
|
||||
i = i + 1
|
||||
|
||||
# Add the TocLevel setting for sectioning styles
|
||||
if toclevels.has_key(style) and maxcounter <= toclevels[style]:
|
||||
if toclevels.has_key(style) and maxcounter <= toclevels[style]:
|
||||
lines.insert(i, '%sTocLevel %d' % (space1, toclevels[style]))
|
||||
i = i + 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user