]> git.lyx.org Git - features.git/blobdiff - lib/layouts/stdsections.inc
Properly implement IsTocCaption for Arguments in standard TOC
[features.git] / lib / layouts / stdsections.inc
index 12d68e38dc31d5e67e8e897123e792c9a3677f5f..e7a0292632428c09c2890b67c88caf5751812906 100644 (file)
@@ -7,19 +7,20 @@
 # commands that are useful for article-like document classes, but not
 # for letters.
 
-Format 45
+Format 65
 
 Style Part
        Category              Sectioning
        Margin                Dynamic
        LabelString           "Part \thepart"
        LabelType             Static
-       TocLevel              0
+       TocLevel              -1
        LabelCounter          part
        LatexType             Command
        LatexName             part
        NeedProtect           1
        NextNoIndent          1
+       ToggleIndent          Never
        Labelsep              xxx
        ParSkip               0.4
        TopSep                4
@@ -30,6 +31,8 @@ Style Part
        Argument 1
                LabelString   "Short Title|S"
                Tooltip       "The part as it appears in the table of contents/running headers"
+               InsertCotext  1
+               IsTocCaption  1
        EndArgument
        Font
          Series              Bold
@@ -51,6 +54,7 @@ Style Chapter
        LatexName             chapter
        NeedProtect           1
        NextNoIndent          1
+       ToggleIndent          Never
        ParSkip               0.4
        TopSep                4
        BottomSep             0.8
@@ -59,6 +63,8 @@ Style Chapter
        Argument 1
                LabelString   "Short Title|S"
                Tooltip       "The chapter as it appears in the table of contents/running headers"
+               InsertCotext  1
+               IsTocCaption  1
        EndArgument
        Font
          Series              Bold
@@ -78,6 +84,7 @@ Style Section
        LatexName             section
        NeedProtect           1
        NextNoIndent          1
+       ToggleIndent          Never
        LabelSep              xxx
        ParSkip               0.4
        TopSep                1.3
@@ -87,6 +94,8 @@ Style Section
        Argument 1
                LabelString   "Short Title|S"
                Tooltip       "The section as it appears in the table of contents/running headers"
+               InsertCotext  1
+               IsTocCaption  1
        EndArgument
        Font
          Series              Bold
@@ -134,6 +143,7 @@ Style Paragraph
        LatexName             paragraph
        TopSep                0.4
        BottomSep             0
+       HTMLTag               h5
 End
 
 
@@ -144,6 +154,7 @@ Style Subparagraph
        LatexName             subparagraph
        NextNoIndent          0
        LeftMargin            MM
+       HTMLTag               h6
 End
 
 Input stdrefprefix.inc