mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
* layout2layout.py
(convert): remove spurious tabs git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15599 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
577eaa14f8
commit
e656777a92
@ -135,7 +135,7 @@ def convert(lines):
|
|||||||
return
|
return
|
||||||
error('Cannot convert file format %s' % format)
|
error('Cannot convert file format %s' % format)
|
||||||
else:
|
else:
|
||||||
lines.insert(i, "Format 2")
|
lines.insert(i, "Format 2")
|
||||||
only_comment = 0
|
only_comment = 0
|
||||||
continue
|
continue
|
||||||
|
|
||||||
@ -282,7 +282,7 @@ def convert(lines):
|
|||||||
i = i + 1
|
i = i + 1
|
||||||
|
|
||||||
# Add the TocLevel setting for sectioning styles
|
# 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]))
|
lines.insert(i, '%sTocLevel %d' % (space1, toclevels[style]))
|
||||||
i = i + 1
|
i = i + 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user