]> git.lyx.org Git - features.git/blobdiff - lib/layouts/paper.layout
DocBook: slightly change the Copernicus template to be valid DocBook.
[features.git] / lib / layouts / paper.layout
index 192db97a89f98344b01633d90d1cb71bcedf3409..9a83dcdfd6439531c641e022f485dced0dbd6a48 100644 (file)
@@ -1,16 +1,18 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{article (paper)}
+#  \DeclareLaTeXClass{Paper (Standard Class)}
+#  \DeclareCategory{Articles}
 # Paper textclass definition file.
 # Created by Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr)
 
 
-Format 35
+Format 85
 Columns                 1
 Sides                   1
 SecNumDepth             3
 TocDepth                3
 
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -24,6 +26,7 @@ Style Standard
                        margin-bottom: 2ex;
                }
        EndHTMLStyle
+       DocBookTag            para
 End
 
 Input stdtitle.inc
@@ -31,18 +34,12 @@ Input stdstruct.inc
 Input lyxmacros.inc
 Input stdlayouts.inc
 Input stdfloats.inc
-Input stdsections.inc
-Input stdstarsections.inc
 Input stdlists.inc
 Input stdcounters.inc
-Input stdciteformats.inc
 
-# There are no chapters in a paper.
-NoStyle                 Chapter
-NoCounter                 chapter
-NoStyle                 Chapter*
+###### All the section headings now use sans serif
+Input stdsections.inc
 
-# All the section headings now use sans serif
 Style Part
        Align                 Left
        TopSep                2
@@ -101,12 +98,20 @@ End
 Style Description
        LabelFont
          Family              Sans
-         Series              Bold
+         Series              Medium
        EndFont
 End
 
+Input stdstarsections.inc
+
+# There are no chapters in a paper.
+NoStyle                 Chapter
+NoCounter               chapter
+NoStyle                 Chapter*
+
+
 
-# The \maketitle stuff is by default left justified.
+###### The \maketitle stuff is by default left justified.
 Style Title
        Align                 Left
        Font
@@ -114,6 +119,9 @@ Style Title
          Series              Bold
          Size                Largest
        EndFont
+       DocBookTag            title
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End
 
 
@@ -131,7 +139,7 @@ Style Abstract
        Font
          Size                Small
        EndFont
-       LabelType             Top_Environment
+       LabelType             Above
        LabelFont
          Series              Bold
          Family              Sans
@@ -153,6 +161,8 @@ Style SubTitle
          Size                Large
        EndFont
        HTMLTitle             false
+       DocBookTag            subtitle
+       DocBookInInfo         maybe
 End
 
 
@@ -173,4 +183,8 @@ Style Keywords
        CopyStyle             Abstract
        LatexName             keywords
        LabelString           "Keywords:"
+       DocBookTag         keyword
+       DocBookTagType     paragraph
+       DocBookWrapperTag  keywordset
+       DocBookInInfo      always
 End