]> git.lyx.org Git - features.git/blobdiff - lib/layouts/ijmpc.layout
DocBook: slightly change the Copernicus template to be valid DocBook.
[features.git] / lib / layouts / ijmpc.layout
index 1e5978d2664feaf9df47d06b539af471e86dc08a..51b1d5b3439f904b9f0be0cab9f78776bd30a380 100644 (file)
@@ -12,7 +12,7 @@
 # Author: Uwe Stöhr (uwestoehr@web.de)
 
 
-Format 53
+Format 85
 
 Sides          1
 Columns                1
@@ -30,6 +30,7 @@ Style Standard
   Align                Block
   AlignPossible        Block, Left, Right, Center
   LabelType    No_Label
+  DocBookTag para
 End
 
 Input stdcounters.inc
@@ -83,6 +84,9 @@ Style MarkBoth
   \DeclareRobustCommand{\foreign@language}[1]{%
     \lowercase{\oldforeign@language{#1}}}
   EndPreamble
+  DocBookTag    IGNORE
+  # TODO: a mix of titleabbrev and authorinitials... 
+  DocBookInInfo always
 End
 
 Style Catchline
@@ -102,6 +106,8 @@ Style Catchline
     Series     Bold
     Color      Green
   EndFont
+  DocBookTag    IGNORE
+  DocBookInInfo always
 End
 
 Style Title
@@ -121,6 +127,9 @@ Style Title
   Font
     Size       Largest
   EndFont
+  DocBookTag      title
+  DocBookTagType  paragraph
+  DocBookInInfo   maybe
 End
 
 Style Author
@@ -139,6 +148,11 @@ Style Author
   Font
     Size       Large
   EndFont
+  DocBookTag            personname
+  DocBookTagType        paragraph
+  DocBookWrapperTag     author
+  DocBookWrapperTagType inline
+  DocBookInInfo         always
 End
 
 Style Address
@@ -154,6 +168,12 @@ Style Address
    Shape       Italic
    Size        Normal
   EndFont
+  DocBookTag            address
+  DocBookTagType        paragraph
+  DocBookWrapperTag     author
+  DocBookWrapperTagType inline
+  DocBookWrapperMergeWithPrevious true
+  DocBookInInfo         always
 End
 
 Style History
@@ -168,6 +188,8 @@ Style History
   Font
     Size       Small
   EndFont
+  DocBookTag     releaseinfo
+  DocBookInInfo  always
 End
 
 InsetLayout Flex:Received
@@ -185,7 +207,10 @@ InsetLayout Flex:Received
     Color      green
     Size       Small
   EndFont
-       ResetsFont true
+  ResetsFont true
+  DocBookTag      date
+  DocBookAttr     role='received'
+  DocBookTagType  inline
 End
 
 InsetLayout Flex:Revised
@@ -203,7 +228,10 @@ InsetLayout Flex:Revised
     Color      green
     Size       Small
   EndFont
-       ResetsFont true
+  ResetsFont true
+  DocBookTag      date
+  DocBookAttr     role='revised'
+  DocBookTagType  inline
 End
 
 Style Abstract
@@ -217,6 +245,11 @@ Style Abstract
   Font
     Size       Small
   EndFont
+  DocBookAbstract       true
+  DocBookInInfo         always
+  DocBookWrapperTag     abstract
+  DocBookWrapperMergeWithPrevious    true
+  DocBookTag            para
 End
 
 InsetLayout Flex:Keywords
@@ -234,7 +267,11 @@ InsetLayout Flex:Keywords
     Color      green
     Size       Small
   EndFont
-       ResetsFont true
+  ResetsFont true
+  DocBookTag         keyword
+  DocBookTagType     paragraph
+  DocBookWrapperTag  keywordset
+  DocBookInInfo      always
 End
 
 Style Classification_Codes
@@ -259,7 +296,9 @@ InsetLayout Flex:TableCaption
     Color      green
     Size       Small
   EndFont
-       ResetsFont true
+  ResetsFont true
+  DocBookTag      caption
+  DocBookTagType  paragraph
 End
 
 InsetLayout Flex:Refcite
@@ -277,7 +316,7 @@ InsetLayout Flex:Refcite
     Color      green
     Size       Small
   EndFont
-       ResetsFont true
+  ResetsFont true
 End
 
 Style ItemList
@@ -285,6 +324,16 @@ Style ItemList
   Margin       Static
   LatexType    Item_Environment
   LatexName    itemlist
+  Argument listpreamble:1
+    LabelString    "List preamble"
+    MenuString     "List Preamble"
+    Tooltip        "LaTeX code to be inserted before the first item"
+    PassThru       1
+    Font
+      Family typewriter
+      Color latex
+    EndFont
+  EndArgument
   NextNoIndent 1
   ToggleIndent Never
   LeftMargin   MMN
@@ -299,6 +348,9 @@ Style ItemList
   HTMLTag      ul
   HTMLItem     li
   HTMLLabel    NONE
+  DocBookTag            itemizedlist
+  DocBookItemTag        listitem
+  DocBookItemInnerTag   para
 End
 
 Style RomanList
@@ -309,6 +361,17 @@ Style RomanList
   Argument 1
     LabelString        "Numbering Scheme"
     Tooltip    "Use the largest item number in your list, e.g. '(iv)' for 4 Roman numbered items"
+    PassThru   1
+  EndArgument
+  Argument listpreamble:1
+    LabelString    "List preamble"
+    MenuString     "List Preamble"
+    Tooltip        "LaTeX code to be inserted before the first item"
+    PassThru       1
+    Font
+      Family typewriter
+      Color latex
+    EndFont
   EndArgument
   NextNoIndent 1
   LeftMargin   MMN
@@ -326,6 +389,9 @@ Style RomanList
   HTMLItem     li
   HTMLLabel    NONE
   RefPrefix    enu
+  DocBookTag            orderedlist
+  DocBookItemTag        listitem
+  DocBookItemInnerTag   para
 End
 
 Style Proof
@@ -346,6 +412,8 @@ Style Proof
    Series      Bold
   EndFont
   EndLabelType Box
+  DocBookTag            para
+  DocBookAttr           role='proof'
 End
 
 Style Theorem
@@ -357,6 +425,8 @@ Style Theorem
   #LabelFont
    #Series     Bold
   #EndFont
+  DocBookTag            para
+  DocBookAttr           role='theorem'
 End
 
 Style Remark
@@ -388,6 +458,7 @@ Style Question
 End
 
 Counter claim
+       GuiName Claim
   Within       section
 End
 Style Claim
@@ -420,6 +491,7 @@ Style Prop
 End
 
 Counter appendix
+       GuiName Appendix
 End
 Style Appendix
   LatexType    Command
@@ -442,6 +514,9 @@ Style Appendix
   Font
    Series      Bold
   EndFont
+  DocBookTag      title
+  DocBookTagType  paragraph
+  DocBookSection  true
 End
 
 Style Bibliography
@@ -466,4 +541,16 @@ Style Bibliography
     Series     Bold
     Size       Larger
   EndFont
+  TocLevel      1
+  IsTocCaption  0
+  Argument listpreamble:1
+    LabelString    "Bib preamble"
+    MenuString     "Bibliography Preamble"
+    Tooltip        "LaTeX code to be inserted before the first bibliography item"
+    PassThru       1
+    Font
+      Family typewriter
+      Color latex
+    EndFont
+  EndArgument
 End