]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/apax.inc
Move RevTeX section in Additional.lyx into Chapter 3 Document classes
[lyx.git] / lib / layouts / apax.inc
index dc005b4b7487ff3bc973513d313c0647656f9f69..1ca24af317cef73ef4d9928f1f67da243f7ea7d4 100644 (file)
@@ -2,7 +2,7 @@
 # Author: Jacob Bishop <bishop.jacob@gmail.com> based on the apa 
 # layout written by Randy Gobbel.
 
-Format 84
+Format 98
 Columns                 1
 Sides                   1
 PageStyle               Headers
@@ -31,6 +31,7 @@ Style Standard
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
+       DocBookTag            para
 End
 
 
@@ -44,6 +45,9 @@ Style Title
        EndFont
        Align                 Center
        HTMLTitle             true
+       DocBookTag            title
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End
 
 
@@ -67,6 +71,9 @@ Style ShortTitle
          Size                Small
          Shape               Up
        EndFont
+       DocBookTag            titleabbrev
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End
 
 
@@ -83,6 +90,11 @@ Style Author
          Shape               Italic
          Size                Small
        EndFont
+       DocBookTag            personname
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperTagType inline
+       DocBookInInfo         always
 End
 
 
@@ -142,6 +154,10 @@ Style LeftHeader
          Series              Bold
          Size                Small
        EndFont
+       DocBookTag            authorinitials
+       DocBookAttr           role='left-header'
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End
 
 
@@ -164,6 +180,12 @@ Style Affiliation
          Series              Bold
          Size                Small
        EndFont
+       DocBookTag                        affiliation
+       DocBookWrapperTag                 author
+       DocBookWrapperMergeWithPrevious   true
+       DocBookItemTag                    orgname
+       DocBookItemTagType                paragraph
+       DocBookInInfo                     always
 End
 
 Style TwoAffiliations
@@ -244,6 +266,11 @@ Style Abstract
          Series              Bold
          Size                Small
        EndFont
+       DocBookAbstract       true
+       DocBookInInfo         always
+       DocBookWrapperTag     abstract
+       DocBookWrapperMergeWithPrevious    true
+       DocBookTag            para
 End
 
 Style Keywords
@@ -268,6 +295,10 @@ Style Keywords
          Size                Small
          Shape               Italic
        EndFont
+       DocBookTag          keyword
+       DocBookTagType      paragraph
+       DocBookWrapperTag   keywordset
+       DocBookInInfo       always
 End
 
 Style AuthorNote
@@ -295,6 +326,9 @@ Style AuthorNote
          Series              Bold
          Size                Small
        EndFont
+       DocBookTag            para
+       DocBookWrapperTag     acknowledgements
+       DocBookSection        true
 End
 
 
@@ -365,7 +399,7 @@ InsetLayout Caption:Centered
                        margin: 1ex;
                }
        EndHTMLStyle
-       HTMLAttr "class='float-caption float-caption-centered'"
+       HTMLClass   "float-caption float-caption-centered"
 End
 
 
@@ -525,6 +559,12 @@ Style Enumerate
        DocBookTag            orderedlist
        DocBookItemTag        listitem
        DocBookItemInnerTag   para
+       HTMLStyle
+               ol.enumi   { list-style-type: decimal; }
+               ol.enumii  { list-style-type: lower-latin; }
+               ol.enumiii { list-style-type: lower-roman; }
+               ol.enumiv  { list-style-type: upper-latin; }
+       EndHTMLStyle
 End
 
 
@@ -582,6 +622,9 @@ Style Course
          Size                Small
          Shape               Italic
        EndFont
+       DocBookTag            releaseinfo
+       DocBookAttr           role='course'
+       DocBookInInfo         always
 End
 
 
@@ -602,7 +645,14 @@ Style addORCIDlink
          LabelString         "Author-name"
          Tooltip             ORCID
          Mandatory           1
+         DocBookTag          phrase
+         DocBookAttr         role='author-name'
        EndArgument
+       # TODO: for DocBook, this won't work outside the preamble.
+       DocBookTag            personblurb
+       DocBookAttr           role='orcid'
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End