]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/ltugboat.layout
Fix bug #11410.
[lyx.git] / lib / layouts / ltugboat.layout
index 7e80133a1b63df75f3b248e602fb50cae88e25f1..1e6c8cdb52748ab409207198a6676e160e3cf181 100644 (file)
@@ -1,10 +1,12 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[ltugboat]{article (tugboat)}
+#  \DeclareLaTeXClass{TUGboat}
+#  \DeclareCategory{Articles}
 # The tugboat journal (TUGboat) textclass definition file.
 # Journal of the TeX User Group http://www.tug.org
 # Author : Herbert Voss <voss@perce.de> 2001/08/13
 
 
+Format 97
 Columns                 2
 Sides                   2
 #SecNumDepth                            # no counting
@@ -27,6 +29,7 @@ EndFont
 
 
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy           # no special latex env
@@ -36,12 +39,14 @@ Style Standard
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
+       DocBookTag            para
 End
 
 
 Input stdlists.inc
 
 Style Section
+       Category              Sectioning
        Margin                Dynamic
        LatexType             Command
        LatexName             section
@@ -53,15 +58,16 @@ Style Section
        BottomSep             0.7
        ParSep                0.7
        Align                 Block
-       AlignPossible         Block, Left
        Font
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 1
 End
 
 
 Style Subsection
+       Category              Sectioning
        Margin                Dynamic
        LatexType             Command
        LatexName             subsection
@@ -73,11 +79,11 @@ Style Subsection
        BottomSep             0.5
        ParSep                0.5
        Align                 Block
-       AlignPossible         Block, Left
        Font
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 2
 End
 
 
@@ -93,11 +99,11 @@ Style Subsubsection
        BottomSep             0.4
        ParSep                0.4
        Align                 Block
-       AlignPossible         Block, Left
        Font
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 3
 End
 
 
@@ -113,11 +119,11 @@ Style Paragraph
        BottomSep             0
        ParSep                0.4
        Align                 Block
-       AlignPossible         Block, Left
        Font
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 4
 End
 
 
@@ -128,9 +134,12 @@ Input stdstruct.inc
 Input stdlayouts.inc
 Input stdfloats.inc
 Input stdcounters.inc
+Input stdinsets.inc
+Input stdrefprefix.inc
 
 
 Style Title
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        InTitle               1
@@ -141,16 +150,19 @@ Style Title
        BottomSep             1
        ParSep                1
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
        TextFont
          Series              Bold
          Size                Normal
        EndFont
+       DocBookTag            title
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End
 
 
 Style Author
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        InTitle               1
@@ -162,8 +174,12 @@ Style Author
        ParSep                0.7
        LeftMargin            MM
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
+       DocBookTag            personname
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperTagType inline
+       DocBookInInfo         always
 End
 
 
@@ -180,9 +196,8 @@ Style Abstract
        BottomSep             1.5
        ParSep                0
        Align                 Block
-       AlignPossible         Block
-       LabelType             Top_Environment
-       LabelString           Abstract
+       LabelType             Above
+       LabelString           "Abstract"
        LabelBottomSep    0.5
        TextFont
          Size                Normal