]> git.lyx.org Git - features.git/blobdiff - lib/layouts/aapaper.layout
DocBook: slightly change the Copernicus template to be valid DocBook.
[features.git] / lib / layouts / aapaper.layout
index a800427f6b84020ed01e563fa8e82bc246a6932d..a3936c571d0925319f2c6bc17aa19a5c62998eaa 100644 (file)
@@ -1,5 +1,6 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[aa]{article (A&A V4)}
+#  \DeclareLaTeXClass[aa]{Astronomy & Astrophysics (V. 4, Obsolete)}
+#  \DeclareCategory{Obsolete}
 #
 # Author: Peter Sütterlin <pit@uni-sw.gwdg.de>
 
 # If you want to keep the layout for old papers I'd suggest to rename
 # the old style file to aa-old and change the second line in this file to
 #
-#  \DeclareLaTeXClass[aa-old]{article (A&A V4)}
+#  \DeclareLaTeXClass[aa-old]{Astronomy & Astrophysics (V. 4, Obsolete)}
 #
 # and reconfigure LyX (after running texhash, of course).
 
 
-Format 26
+Format 85
 Columns                 2
 Sides                   2
 SecNumDepth             3
@@ -32,6 +33,7 @@ EndFont
 
 
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -122,9 +124,13 @@ NoStyle Quotation
 NoStyle Quote
 NoStyle Verse
 NoStyle Chapter
+NoCounter chapter
 NoStyle Paragraph
+NoCounter paragraph
 NoStyle Subparagraph
+NoCounter subparagraph
 NoStyle Part
+NoCounter part
 
 
 Input aapaper.inc
@@ -171,6 +177,9 @@ Style Title
        Font
          Series              Bold
        EndFont
+       DocBookTag      title
+       DocBookTagType  paragraph
+       DocBookInInfo   maybe
 End
 
 
@@ -182,6 +191,11 @@ Style Author
          Size                Normal
          Series              Bold
        EndFont
+       DocBookTag            personname
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperTagType inline
+       DocBookInInfo         always
 End
 
 
@@ -202,7 +216,7 @@ Style Abstract
        ParIndent             ""
        TopSep                1.4
        BottomSep             0.7
-       LabelType             Top_Environment
+       LabelType             Above
        Font
          Size                Normal
        EndFont
@@ -210,6 +224,10 @@ Style Abstract
          Series              Bold
          Size                Normal
        EndFont
+       DocBookTag         para
+       DocBookWrapperTag  abstract
+       DocBookWrapperMergeWithPrevious  true
+       DocBookInInfo      always
 End