]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/iucr.layout
New Theorems Module. Contributed by Udicoudco <udifoglle@gmail.com> on the mailing...
[lyx.git] / lib / layouts / iucr.layout
index 3d9d514ec3b8c105ccda3ce06a0f31e405a38369..6f2f79d6fb26f7813fe6486c37fc3ea458dc2c74 100644 (file)
@@ -5,7 +5,7 @@
 # Author: Uwe Stöhr (uwestoehr@web.de)
 # IUCr LaTeX files can be downloaded from ftp://ftp.iucr.org/templates/latex/
 
-Format 84
+Format 99
 
 Columns                                1
 Sides                          1
@@ -27,6 +27,7 @@ Style Standard
        Align                   Block
        AlignPossible           Block, Left, Right, Center
        LabelType               No_Label
+       DocBookTag      para
 End
 
 Input stdtitle.inc
@@ -73,6 +74,7 @@ Style "Short Title"
        Font
          Size                  Small
        EndFont
+       DocBookTag      titleabbrev
 End
 
 InsetLayout "Flex:City"
@@ -92,7 +94,7 @@ InsetLayout "Flex:City"
          Misc                  No_Bar
        EndFont
        LabelFont
-         Color                 green
+         Color                 textlabel2
          Size                  Small
        EndFont
 End
@@ -119,16 +121,19 @@ Style "Main Author"
        Argument 1
          LabelString           "Affiliation Key"
          Tooltip               "Affiliation key of the author"
+         # DocBookTag    othername
        EndArgument
        Argument 2
          Mandatory             1
          LabelString           "Forename"
          Tooltip               "Forename"
+         # DocBookTag    firstname
        EndArgument
        Argument 3
          Mandatory             1
          LabelString           "Surname"
          Tooltip               "Surname"
+         # DocBookTag    surname
        EndArgument
        Argument 4
          Mandatory             1
@@ -137,11 +142,18 @@ Style "Main Author"
          Font
            Shape               Italic
          EndFont
+         # DocBookTag    email
        EndArgument
        BottomSep               0.5
        ParSkip                 0.4
        Align                   Center
        LabelType               No_Label
+       DocBookTag            personname
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperTagType inline
+       DocBookInInfo         always
+       # TODO: a lot of information is available, but the email would be output in the <personname> tag, and that does not make sense. The two first arguments should be grouped in <personname>, the rest must live outside <personname>.
 End
 
 Style "Co Author"
@@ -171,8 +183,11 @@ Style "Short Author"
        LabelSep                xx
        LabelFont
          Series                Bold
-         Color                 Green
+         Color                 textlabel2
        EndFont
+       DocBookInInfo   always
+       DocBookTag      authorinitials
+       DocBookWrapperTag     NONE
 End
 
 Style Affiliation
@@ -189,7 +204,7 @@ Style Affiliation
        EndFont
        LabelFont
          Series                Bold
-         Color                 Green
+         Color                 textlabel2
          Shape                 Up
        EndFont
 End
@@ -198,6 +213,10 @@ Style Keyword
        CopyStyle               "Short Author"
        LatexName               keyword
        LabelString             "Keyword:"
+       DocBookTag         keyword
+       DocBookTagType     paragraph
+       DocBookWrapperTag  keywordset
+       DocBookInInfo      always
 End
 
 Style Vita
@@ -228,6 +247,7 @@ Style Synopsis
   LabelString                  "Synopsis"
   Align                                Left
   AlignPossible                        Left
+  DocBookAttr       role='synopsis'
 End
 
 Style Acknowledgements
@@ -237,6 +257,8 @@ Style Acknowledgements
   LabelString                  "Acknowledgements:"
   Category                     BackMatter
   TopSep                       0.7
+  DocBookTag            para
+  DocBookWrapperTag     acknowledgements
 End
 
 Style References
@@ -269,6 +291,8 @@ Style References
     LabelString                        "Reference"
     Mandatory                  1
     AutoInsert                 1
+       DocBookTag          bibliomixed
   EndArgument
   Align                                Left
+  DocBookTag        bibliography
 End