]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/ijmpd.layout
Make continuous spellcheck the default.
[lyx.git] / lib / layouts / ijmpd.layout
index f94894619bc9973e3699267fc9529307198fb4a3..ac7edc9f067a4ee5904949f10b65c91e8df9f011 100644 (file)
@@ -17,7 +17,7 @@
 # Author: Uwe Stöhr (uwestoehr@web.de)
 
 
-Format 43
+Format 93
 
 Sides          1
 Columns                1
@@ -35,6 +35,7 @@ Style Standard
   Align                Block
   AlignPossible        Block, Left, Right, Center
   LabelType    No_Label
+  DocBookTag para
 End
 
 Input stdcounters.inc
@@ -75,6 +76,7 @@ Style MarkBoth
   Align                Center
   Argument 1
     Mandatory  1
+    AutoInsert 1
     LabelString        "Author Names"
     Tooltip    "Author names that will appear in the header line"
   EndArgument
@@ -87,6 +89,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
@@ -104,8 +109,10 @@ Style Catchline
   LabelString  "Catchline"
   LabelFont
     Series     Bold
-    Color      Green
+    Color      textlabel2
   EndFont
+  DocBookTag    IGNORE
+  DocBookInInfo always
 End
 
 Style Title
@@ -125,6 +132,9 @@ Style Title
   Font
     Size       Largest
   EndFont
+  DocBookTag      title
+  DocBookTagType  paragraph
+  DocBookInInfo   maybe
 End
 
 Style Author
@@ -143,6 +153,20 @@ Style Author
   Font
     Size       Large
   EndFont
+  DocBookTag            personname
+  DocBookTagType        paragraph
+  DocBookWrapperTag     author
+  DocBookWrapperTagType inline
+  DocBookInInfo         always
+End
+
+Style Address
+  DocBookTag            address
+  DocBookTagType        paragraph
+  DocBookWrapperTag     author
+  DocBookWrapperTagType inline
+  DocBookWrapperMergeWithPrevious true
+  DocBookInInfo         always
 End
 
 Style History
@@ -157,6 +181,8 @@ Style History
   Font
     Size       Small
   EndFont
+  DocBookTag     releaseinfo
+  DocBookInInfo  always
 End
 
 InsetLayout Flex:Received
@@ -171,9 +197,14 @@ InsetLayout Flex:Received
     Misc       No_Bar
   EndFont
   LabelFont
-    Color      green
+    Color      textlabel2
     Size       Small
   EndFont
+  ResetsFont true
+  DocBookTag      date
+  DocBookAttr     role='received'
+  DocBookTagType  inline
+  DocBookNoFontInside   true
 End
 
 InsetLayout Flex:Revised
@@ -188,9 +219,14 @@ InsetLayout Flex:Revised
     Misc       No_Bar
   EndFont
   LabelFont
-    Color      green
+    Color      textlabel2
     Size       Small
   EndFont
+  ResetsFont true
+  DocBookTag      date
+  DocBookAttr     role='revised'
+  DocBookTagType  inline
+  DocBookNoFontInside   true
 End
 
 InsetLayout Flex:Comby
@@ -205,9 +241,10 @@ InsetLayout Flex:Comby
     Misc       No_Bar
   EndFont
   LabelFont
-    Color      green
+    Color      textlabel2
     Size       Small
   EndFont
+  ResetsFont true
 End
 
 Style Abstract
@@ -221,6 +258,11 @@ Style Abstract
   Font
     Size       Small
   EndFont
+  DocBookAbstract       true
+  DocBookInInfo         always
+  DocBookWrapperTag     abstract
+  DocBookWrapperMergeWithPrevious    true
+  DocBookTag            para
 End
 
 Style Keywords
@@ -241,6 +283,10 @@ Style Keywords
    Shape       Italic
    Size                Small
   EndFont
+  DocBookTag         keyword
+  DocBookTagType     paragraph
+  DocBookWrapperTag  keywordset
+  DocBookInInfo      always
 End
 
 InsetLayout Flex:TableCaption
@@ -255,9 +301,12 @@ InsetLayout Flex:TableCaption
     Misc       No_Bar
   EndFont
   LabelFont
-    Color      green
+    Color      textlabel2
     Size       Small
   EndFont
+  ResetsFont true
+  DocBookTag      caption
+  DocBookTagType  paragraph
 End
 
 InsetLayout Flex:Refcite
@@ -272,9 +321,10 @@ InsetLayout Flex:Refcite
     Misc       No_Bar
   EndFont
   LabelFont
-    Color      green
+    Color      textlabel2
     Size       Small
   EndFont
+  ResetsFont true
 End
 
 Style ItemList
@@ -282,7 +332,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
@@ -295,6 +356,9 @@ Style ItemList
   HTMLTag      ul
   HTMLItem     li
   HTMLLabel    NONE
+  DocBookTag            itemizedlist
+  DocBookItemTag        listitem
+  DocBookItemInnerTag   para
 End
 
 Style RomanList
@@ -305,6 +369,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
@@ -322,12 +397,15 @@ Style RomanList
   HTMLItem     li
   HTMLLabel    NONE
   RefPrefix    enu
+  DocBookTag            orderedlist
+  DocBookItemTag        listitem
+  DocBookItemInnerTag   para
 End
 
 Style Proof
   LatexType    Environment
   LatexName    proof
-  Category     Theorem
+  Category     Reasoning
   Margin       First_Dynamic
   TopSep       0.6
   BottomSep    0.6
@@ -342,9 +420,12 @@ Style Proof
    Series      Bold
   EndFont
   EndLabelType Box
+  DocBookTag            para
+  DocBookAttr           role='proof'
 End
 
 Counter theorem
+       GuiName Theorem
   Within       section
 End
 Style Theorem
@@ -356,9 +437,12 @@ Style Theorem
   LabelFont
    Series      Bold
   EndFont
+  DocBookTag            para
+  DocBookAttr           role='theorem'
 End
 
 Counter remark
+       GuiName Remark
   Within       section
 End
 Style Remark
@@ -370,6 +454,7 @@ Style Remark
 End
 
 Counter corollary
+       GuiName Corollary
   Within       section
 End
 Style Corollary
@@ -377,6 +462,7 @@ Style Corollary
 End
 
 Counter lemma
+       GuiName Lemma
   Within       section
 End
 Style Lemma
@@ -384,6 +470,7 @@ Style Lemma
 End
 
 Counter proposition
+       GuiName Proposition
   Within       section
 End
 Style Proposition
@@ -391,6 +478,7 @@ Style Proposition
 End
 
 Counter question
+       GuiName Question
   Within       section
 End
 Style Question
@@ -401,6 +489,7 @@ Style Question
 End
 
 Counter claim
+       GuiName Claim
   Within       section
 End
 Style Claim
@@ -412,6 +501,7 @@ Style Claim
 End
 
 Counter conjecture
+       GuiName Conjecture
   Within       section
 End
 Style Conjecture
@@ -422,10 +512,12 @@ Style Conjecture
 End
 
 Counter prop
+       GuiName Prop(osition)
   Within       section
 End
 
 Counter appendix
+       GuiName Appendix
 End
 Style Appendix
   LatexType    Command
@@ -436,7 +528,7 @@ Style Appendix
   Margin       First_Dynamic
   Align        Block
   NextNoIndent 1
-  LabelType    Counter
+  LabelType    Static
   LabelCounter appendix
   LabelString  "Appendix \Alph{appendix}."
   LabelSep     M
@@ -448,6 +540,9 @@ Style Appendix
   Font
    Series      Bold
   EndFont
+  DocBookTag      title
+  DocBookTagType  paragraph
+  DocBookSection  true
 End
 
 Style Bibliography
@@ -456,6 +551,7 @@ Style Bibliography
   LatexName    thebibliography
   Category     BackMatter
   NextNoIndent 1
+  ToggleIndent Never
   LeftMargin   MM
   ParSkip      0.4
   ItemSep      0
@@ -471,4 +567,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