]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdletter.inc
DocBook: fix indentation.
[lyx.git] / lib / layouts / stdletter.inc
index 3ab3603a09591b40f9dc1268d51144f02f4a5ab2..7db3e5d9da20fd1b8469c7e9647a228e14205d65 100644 (file)
@@ -3,13 +3,14 @@
 # Heavily modifed and enhanced by several developers.
 
 
-Format 4
+Format 85
 Columns                 1
 Sides                   1
 PageStyle               Empty
 
 
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -18,10 +19,12 @@ Style Standard
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
+       DocBookTag            para
 End
 
 
 Style My_Address
+       Category              "Postal Data"
        Margin                Right_Address_Box
        LatexType             Command
        LatexName             address
@@ -29,11 +32,12 @@ Style My_Address
        BottomSep             1.5
        ParSep                1.5
        Align                 Left
-       AlignPossible         Left
+       DocBookTag            address
 End
 
 
 Style Send_To_Address
+       Category              "Postal Data"
        Margin                Static
        LatexType             Command
        LatexName             letter
@@ -44,10 +48,13 @@ Style Send_To_Address
        Align                 Left
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
+       DocBookTag            address
+       DocBookAttr           role='send-to-address'
 End
 
 
 Style Opening
+       Category              Letter
        Margin                Static
        LatexType             Command
        LatexName             opening
@@ -66,10 +73,13 @@ Style Opening
          Shape               Italic
          Color               red
        EndFont
+       DocBookTag            para
+       DocBookAttr           role='opening'
 End
 
 
 Style Signature
+       Category              Closings
        Margin                Static
        LatexType             Command
        LatexName             signature
@@ -87,55 +97,59 @@ Style Signature
          Shape               Italic
          Color               red
        EndFont
+       DocBookTag            para
+       DocBookAttr           role='signature'
 End
 
 
 Style Closing
        CopyStyle             Signature
        LatexName             closing
-       LeftMargin            Signature:xx
        LabelString           "Closing:"
+       DocBookTag            para
+       DocBookAttr           role='opening'
 End
 
 
 Style cc
-       Margin                Static
-       LatexType             Command
+       CopyStyle             Signature
        LatexName             cc
-       LeftMargin            cc:xx
-       LabelSep              xx
-       TopSep                0.4
-       BottomSep             0.4
-       ParSep                0.4
-       Align                 Block
-       AlignPossible         Block, Left
-       LabelType             Static
-       LeftMargin            Signature:xx
        LabelString           "cc:"
+       LabelFont
+         Series              Bold
+         Shape               Italic
+         Color               green
+       EndFont
+       DocBookTag            para
+       DocBookAttr           role='carbon-copy'
 End
 
 
 Style encl
        CopyStyle             cc
        LatexName             encl
-       LeftMargin            Signature:xx
        LabelString           "encl:"
        Spacing               Other 1.5
+       DocBookTag            para
+       DocBookAttr           role='enclosed'
 End
 
 
 Style Location
-       CopyStyle             encl
-       LatexName             location
-       LeftMargin            Signature:xx
+       CopyStyle             cc
+       LatexName             thispagestyle{firstpage}\location
        LabelString           "Location:"
+       DocBookTag            otheraddr
+       DocBookAttr           role='place'
+       DocBookTagType        paragraph
 End
 
 
 Style Telephone
-       CopyStyle             encl
-       LatexName             telephone
-       LeftMargin            Signature:xx
+       CopyStyle             cc
+       LatexName             thispagestyle{firstpage}\telephone
        LabelString           "Telephone:"
+       DocBookTag            phone
+       DocBookAttr           ""
+       DocBookTagType        paragraph
 End
-