]> git.lyx.org Git - features.git/commitdiff
Formatting for layout2layout.
authorRichard Heck <rgheck@comcast.net>
Sat, 5 Dec 2009 22:56:16 +0000 (22:56 +0000)
committerRichard Heck <rgheck@comcast.net>
Sat, 5 Dec 2009 22:56:16 +0000 (22:56 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32370 a592a061-630c-0410-9148-cb99ea01b6c8

lib/scripts/layout2layout.py

index 38134ec7d41e159ffdab26d17979f383021e64ba..44af31d709a8330fb021c87a47cb18ade9cd5f1d 100644 (file)
@@ -550,7 +550,7 @@ def convert(lines):
 
             # Add the TocLevel setting for sectioning styles
             if toclevel == "" and toclevels.has_key(style) and maxcounter <= toclevels[style]:
-                lines.insert(i, '%sTocLevel %d' % (space1, toclevels[style]))
+                lines.insert(i, '%s\tTocLevel %d' % (space1, toclevels[style]))
                 i += 1
 
         i += 1