]> 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 c954a1c9b7ed108c5595ed09390d648d024c2b13..51b1d5b3439f904b9f0be0cab9f78776bd30a380 100644 (file)
@@ -12,7 +12,7 @@
 # Author: Uwe Stöhr (uwestoehr@web.de)
 
 
-Format 43
+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,6 +207,10 @@ InsetLayout Flex:Received
     Color      green
     Size       Small
   EndFont
+  ResetsFont true
+  DocBookTag      date
+  DocBookAttr     role='received'
+  DocBookTagType  inline
 End
 
 InsetLayout Flex:Revised
@@ -202,6 +228,10 @@ InsetLayout Flex:Revised
     Color      green
     Size       Small
   EndFont
+  ResetsFont true
+  DocBookTag      date
+  DocBookAttr     role='revised'
+  DocBookTagType  inline
 End
 
 Style Abstract
@@ -215,6 +245,11 @@ Style Abstract
   Font
     Size       Small
   EndFont
+  DocBookAbstract       true
+  DocBookInInfo         always
+  DocBookWrapperTag     abstract
+  DocBookWrapperMergeWithPrevious    true
+  DocBookTag            para
 End
 
 InsetLayout Flex:Keywords
@@ -232,6 +267,11 @@ InsetLayout Flex:Keywords
     Color      green
     Size       Small
   EndFont
+  ResetsFont true
+  DocBookTag         keyword
+  DocBookTagType     paragraph
+  DocBookWrapperTag  keywordset
+  DocBookInInfo      always
 End
 
 Style Classification_Codes
@@ -256,6 +296,9 @@ InsetLayout Flex:TableCaption
     Color      green
     Size       Small
   EndFont
+  ResetsFont true
+  DocBookTag      caption
+  DocBookTagType  paragraph
 End
 
 InsetLayout Flex:Refcite
@@ -273,6 +316,7 @@ InsetLayout Flex:Refcite
     Color      green
     Size       Small
   EndFont
+  ResetsFont true
 End
 
 Style ItemList
@@ -280,7 +324,18 @@ 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
   LabelSep     xx
   ItemSep      0.2
@@ -293,6 +348,9 @@ Style ItemList
   HTMLTag      ul
   HTMLItem     li
   HTMLLabel    NONE
+  DocBookTag            itemizedlist
+  DocBookItemTag        listitem
+  DocBookItemInnerTag   para
 End
 
 Style RomanList
@@ -303,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
@@ -320,6 +389,9 @@ Style RomanList
   HTMLItem     li
   HTMLLabel    NONE
   RefPrefix    enu
+  DocBookTag            orderedlist
+  DocBookItemTag        listitem
+  DocBookItemInnerTag   para
 End
 
 Style Proof
@@ -340,6 +412,8 @@ Style Proof
    Series      Bold
   EndFont
   EndLabelType Box
+  DocBookTag            para
+  DocBookAttr           role='proof'
 End
 
 Style Theorem
@@ -351,6 +425,8 @@ Style Theorem
   #LabelFont
    #Series     Bold
   #EndFont
+  DocBookTag            para
+  DocBookAttr           role='theorem'
 End
 
 Style Remark
@@ -382,6 +458,7 @@ Style Question
 End
 
 Counter claim
+       GuiName Claim
   Within       section
 End
 Style Claim
@@ -414,6 +491,7 @@ Style Prop
 End
 
 Counter appendix
+       GuiName Appendix
 End
 Style Appendix
   LatexType    Command
@@ -424,7 +502,7 @@ Style Appendix
   Margin       First_Dynamic
   Align        Block
   NextNoIndent 1
-  LabelType    Counter
+  LabelType    Static
   LabelCounter appendix
   LabelString  "Appendix \Alph{appendix}."
   LabelSep     M
@@ -436,6 +514,9 @@ Style Appendix
   Font
    Series      Bold
   EndFont
+  DocBookTag      title
+  DocBookTagType  paragraph
+  DocBookSection  true
 End
 
 Style Bibliography
@@ -444,6 +525,7 @@ Style Bibliography
   LatexName    thebibliography
   Category     BackMatter
   NextNoIndent 1
+  ToggleIndent Never
   LeftMargin   MM
   ParSkip      0.4
   ItemSep      0
@@ -459,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