]> git.lyx.org Git - features.git/commitdiff
This probably doesn't matter, but the reason for bug #8666 traces,
authorRichard Heck <rgheck@lyx.org>
Fri, 10 May 2013 17:47:03 +0000 (13:47 -0400)
committerRichard Heck <rgheck@lyx.org>
Fri, 10 May 2013 17:47:03 +0000 (13:47 -0400)
ultimately, to the layout conversion for format 2.

lib/scripts/layout2layout.py

index 01737e0f05ae67792163303bf0fd1b6cae182130..b1224a497dff04e0c9c91b6557138d631e3b1f7a 100644 (file)
@@ -292,7 +292,7 @@ def convert(lines):
                         "subparagraph"  : "\\arabic{section}.\\arabic{subsection}.\\arabic{subsubsection}.\\arabic{paragraph}.\\arabic{subparagraph}"}
 
     # Value of TocLevel for sectioning styles
-    toclevels = {"part"          : 0,
+    toclevels = {"part"          : -1,
                  "chapter"       : 0,
                  "section"       : 1,
                  "subsection"    : 2,