]> git.lyx.org Git - features.git/blobdiff - lib/layouts/scrclass.inc
Fix compilation with gcc 4.9
[features.git] / lib / layouts / scrclass.inc
index 6a559230492cda5fc8bae02e06e6ad92d092753e..4884925fcc4bb4691c018c86fa0b836649daadf8 100644 (file)
@@ -8,7 +8,7 @@
 # Labeling is now used also in non-KOMA classes
 
 
-Format 78
+Format 95
 SecNumDepth             2
 TocDepth                2
 DefaultStyle            Standard
@@ -35,6 +35,7 @@ Style Standard
                        margin-bottom: 2ex;
                }
        EndHTMLStyle
+       DocBookTag            para
 End
 
 Input stdinsets.inc
@@ -45,6 +46,7 @@ Input stdfloats.inc
 
 # Adapt enumii counter display to KOMA default
 Counter enumii
+       GuiName "Numbered List (Level 2)"
        Within               enumi
        LabelString          "\alph{enumii})"
 End
@@ -61,7 +63,13 @@ Style Labeling
        LatexName             labeling
        # overwrite the preamble code definition
        Preamble
-       EndPreamble
+       EndPreamble     
+       DocBookTag            variablelist
+       DocBookItemWrapperTag varlistentry
+       DocBookItemTag        listitem
+       DocBookItemInnerTag   para
+       DocBookItemLabelTag   term
+       DocBookItemLabelTagType   paragraph
 End
 
 Input stdsections.inc
@@ -134,6 +142,8 @@ Style Addpart
                LabelString   "Short Title|S"
                Tooltip       "The part as it appears in the table of contents/running headers"
                InsertCotext  1
+        DocBookTag    titleabbrev
+        DocBookArgumentAfterMainTag  true
        EndArgument
 End
 
@@ -145,6 +155,8 @@ Style Addchap
                LabelString   "Short Title|S"
                Tooltip       "The chapter as it appears in the table of contents/running headers"
                InsertCotext  1
+        DocBookTag    titleabbrev
+        DocBookArgumentAfterMainTag  true
        EndArgument
 End
 
@@ -156,6 +168,8 @@ Style Addsec
                LabelString   "Short Title|S"
                Tooltip       "The section as it appears in the table of contents/running headers"
                InsertCotext  1
+        DocBookTag    titleabbrev
+        DocBookArgumentAfterMainTag  true
        EndArgument
 End
 
@@ -196,6 +210,8 @@ Style Title
          Family              Sans
          Series              Bold
        EndFont
+       DocBookTag            title
+       DocBookInInfo         maybe
 End
 
 Style Subtitle
@@ -204,6 +220,8 @@ Style Subtitle
        Font
          Size                Large
        EndFont
+       DocBookTag            subtitle
+       DocBookInInfo         maybe
 End
 
 
@@ -211,6 +229,11 @@ Style Author
        Font
          Size                Larger
        EndFont
+       DocBookTag            personname
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperTagType inline
+       DocBookInInfo         always
 End
 
 
@@ -218,6 +241,10 @@ Style Date
        Font
          Size                Larger
        EndFont
+       DocBookTag            date
+       DocBookTagType        paragraph
+       DocBookInInfo         always
+    DocBookNoFontInside   true
 End
 
 
@@ -266,6 +293,11 @@ Style Extratitle
        LatexName             extratitle
 End
 
+Style Frontispiece
+       CopyStyle             Titlehead
+       LatexName             frontispiece
+End
+
 Input stdstruct.inc
 
 Style Abstract
@@ -292,6 +324,8 @@ InsetLayout Caption:Above
                LabelString   "Short Title|S"
                Tooltip       "The caption as it appears in the list of figures/tables"
                InsertCotext  1
+        DocBookTag    titleabbrev
+        DocBookArgumentAfterMainTag  true
        EndArgument
        HTMLStyle
                div.float-caption {
@@ -315,6 +349,8 @@ InsetLayout Caption:Below
                LabelString   "Short Title|S"
                Tooltip       "The caption as it appears in the list of figures/tables"
                InsertCotext  1
+        DocBookTag    titleabbrev
+        DocBookArgumentAfterMainTag  true
        EndArgument
        HTMLStyle
                div.float-caption {