]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/ijmpc.layout
de.po
[lyx.git] / lib / layouts / ijmpc.layout
index e17234302d85864759da6918879b5f2944ac7cc6..18ab7b70a6547abe8d072ad6a698237be9125faa 100644 (file)
@@ -1,5 +1,6 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[ws-ijmpc,amsmath.sty,amssymb.sty,rotating.sty]{article (IJMPC)}
+#  \DeclareLaTeXClass[ws-ijmpc,amsmath.sty,amssymb.sty,rotating.sty]{Int. Journal of Modern Physics C}
+#  \DeclareCategory{Articles}
 #
 # Textclass definition file for ws-ijmpc.cls
 # For publications in the International Journal of Modern Physics C
@@ -11,7 +12,7 @@
 # Author: Uwe Stöhr (uwestoehr@web.de)
 
 
-Format 36
+Format 104
 
 Sides          1
 Columns                1
@@ -20,6 +21,7 @@ TocDepth      3
 DefaultStyle   Standard
 
 Style Standard
+  Category      MainText
   Margin       Static
   LatexType    Paragraph
   LatexName    dummy
@@ -28,6 +30,7 @@ Style Standard
   Align                Block
   AlignPossible        Block, Left, Right, Center
   LabelType    No_Label
+  DocBookTag para
 End
 
 Input stdcounters.inc
@@ -66,6 +69,12 @@ Style MarkBoth
   Category     FrontMatter
   InTitle      1
   Align                Center
+  Argument 1
+    Mandatory  1
+    AutoInsert 1
+    LabelString        "Author Names"
+    Tooltip    "Author names that will appear in the header line"
+  EndArgument
   Font
     Size       Small
   EndFont
@@ -75,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
@@ -92,8 +104,10 @@ Style Catchline
   LabelString  "Catchline"
   LabelFont
     Series     Bold
-    Color      Green
+    Color      textlabel2
   EndFont
+  DocBookTag    IGNORE
+  DocBookInInfo always
 End
 
 Style Title
@@ -102,7 +116,7 @@ Style Title
   LatexName    title
   Category     FrontMatter
   InTitle      1
-  OptionalArgs 0
+  ResetArgs     1
   ParSkip      0.4
   ItemSep      0
   TopSep       0
@@ -113,6 +127,9 @@ Style Title
   Font
     Size       Largest
   EndFont
+  DocBookTag      title
+  DocBookTagType  paragraph
+  DocBookInInfo   maybe
 End
 
 Style Author
@@ -120,7 +137,6 @@ Style Author
   LatexType    Command
   Category     FrontMatter
   InTitle      1
-  OptionalArgs 1
   LatexName    author
   LabelSep     xxx
   ParSkip      0.4
@@ -132,6 +148,11 @@ Style Author
   Font
     Size       Large
   EndFont
+  DocBookTag            personname
+  DocBookTagType        paragraph
+  DocBookWrapperTag     author
+  DocBookWrapperTagType inline
+  DocBookInInfo         always
 End
 
 Style Address
@@ -147,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
@@ -161,6 +188,8 @@ Style History
   Font
     Size       Small
   EndFont
+  DocBookTag     releaseinfo
+  DocBookInInfo  always
 End
 
 InsetLayout Flex:Received
@@ -175,9 +204,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
@@ -192,9 +226,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
 
 Style Abstract
@@ -208,6 +247,11 @@ Style Abstract
   Font
     Size       Small
   EndFont
+  DocBookAbstract       true
+  DocBookInInfo         always
+  DocBookWrapperTag     abstract
+  DocBookWrapperMergeWithPrevious    true
+  DocBookTag            para
 End
 
 InsetLayout Flex:Keywords
@@ -222,9 +266,14 @@ InsetLayout Flex:Keywords
     Misc       No_Bar
   EndFont
   LabelFont
-    Color      green
+    Color      textlabel2
     Size       Small
   EndFont
+  ResetsFont true
+  DocBookTag         keyword
+  DocBookTagType     paragraph
+  DocBookWrapperTag  keywordset
+  DocBookInInfo      always
 End
 
 Style Classification_Codes
@@ -246,9 +295,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
@@ -263,9 +315,10 @@ InsetLayout Flex:Refcite
     Misc       No_Bar
   EndFont
   LabelFont
-    Color      green
+    Color      textlabel2
     Size       Small
   EndFont
+  ResetsFont true
 End
 
 Style ItemList
@@ -273,7 +326,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
@@ -286,6 +350,9 @@ Style ItemList
   HTMLTag      ul
   HTMLItem     li
   HTMLLabel    NONE
+  DocBookTag            itemizedlist
+  DocBookItemTag        listitem
+  DocBookItemInnerTag   para
 End
 
 Style RomanList
@@ -293,7 +360,21 @@ Style RomanList
   Margin       Static
   LatexType    Item_Environment
   LatexName    romanlist
-  OptionalArgs 1
+  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
   LabelSep     xx
@@ -306,16 +387,23 @@ Style RomanList
   AlignPossible        Block, Left
   LabelType    Enumerate
   LabelCounter "enum"
+  HTMLClass     LyXRomanList
   HTMLTag      ol
   HTMLItem     li
   HTMLLabel    NONE
   RefPrefix    enu
+  DocBookTag            orderedlist
+  DocBookItemTag        listitem
+  DocBookItemInnerTag   para
+  HTMLStyle
+    ol.LyXRomanList { list-style-type: lower-roman; }
+  EndHTMLStyle
 End
 
 Style Proof
   LatexType    Environment
   LatexName    proof
-  Category     Theorem
+  Category     Reasoning
   Margin       First_Dynamic
   TopSep       0.6
   BottomSep    0.6
@@ -330,10 +418,12 @@ Style Proof
    Series      Bold
   EndFont
   EndLabelType Box
+  DocBookTag            para
+  DocBookAttr           role='proof'
 End
 
 Style Theorem
-  OptionalArgs 0
+  ResetArgs      1
   LabelString  "Theorem \thetheorem."
   #Font
    #Shape      Up
@@ -341,6 +431,8 @@ Style Theorem
   #LabelFont
    #Series     Bold
   #EndFont
+  DocBookTag            para
+  DocBookAttr           role='theorem'
 End
 
 Style Remark
@@ -372,7 +464,9 @@ Style Question
 End
 
 Counter claim
+       GuiName Claim
   Within       section
+  PrettyFormat "Claim ##"
 End
 Style Claim
   LabelCounter claim
@@ -404,6 +498,7 @@ Style Prop
 End
 
 Counter appendix
+       GuiName Appendix
 End
 Style Appendix
   LatexType    Command
@@ -414,7 +509,7 @@ Style Appendix
   Margin       First_Dynamic
   Align        Block
   NextNoIndent 1
-  LabelType    Counter
+  LabelType    Static
   LabelCounter appendix
   LabelString  "Appendix \Alph{appendix}."
   LabelSep     M
@@ -426,6 +521,9 @@ Style Appendix
   Font
    Series      Bold
   EndFont
+  DocBookTag      title
+  DocBookTagType  paragraph
+  DocBookSection  true
 End
 
 Style Bibliography
@@ -434,6 +532,7 @@ Style Bibliography
   LatexName    thebibliography
   Category     BackMatter
   NextNoIndent 1
+  ToggleIndent Never
   LeftMargin   MM
   ParSkip      0.4
   ItemSep      0
@@ -449,4 +548,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