]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/scrlettr.layout
de.po
[lyx.git] / lib / layouts / scrlettr.layout
index 715735df2c710ac47fc0b30c159ffdad8c848d53..806f754f7ee979e02112b95203f419451f13b02c 100644 (file)
@@ -1,20 +1,22 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[scrlettr]{letter (koma-script)}
+#  \DeclareLaTeXClass{KOMA-Script Letter (V. 1, Obsolete)}
+#  \DeclareCategory{Obsolete}
 # KOMA scrlettr textclass definition file.
 # Bernd Rellermeyer <100.41728@germanynet.de>, 1999/2/17.
 
-Format 2
+Format 104
+
 Style Standard
+       Category              MainText
        LatexName             dummy
        ParSep                0.4
        AlignPossible         Block, Left, Right, Center
+       DocBookTag            para
 End
 
 Input stdlists.inc
 Input stdcounters.inc
-
-NoStyle List
-
+Input stdinsets.inc
 
 Style Description
        LabelFont
@@ -24,28 +26,23 @@ End
 
 
 Style Labeling
-       Margin                Manual
-       LatexType             List_Environment
+       CopyStyle             List
        LatexName             labeling
-       NextNoindent          1
-       LabelSep              xxx
-       ParSkip               0.4
-       TopSep                0.7
-       BottomSep             0.7
-       ParSep                0.5
-       Align                 Block
-       AlignPossible         Block, Left
-       LabelType             Manual
-       LabelString           "00.00.0000"
+       # overwrite the preamble code definition
+       Preamble
+       EndPreamble
 End
 
+Style List
+       Obsoletedby           Labeling
+End
 
 Input stdlayouts.inc
 
-NoStyle Caption
 
 
 Style Letter
+       Category              Letter
        LatexType             Command
        LatexName             letter
        KeepEmpty             1
@@ -54,15 +51,15 @@ Style Letter
        BottomSep             1.5
        ParSep                1.5
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
        LabelString           "L"
        LabelFont
          Series              Bold
          Shape               Italic
          Size                Small
-         Color               Blue
+         Color               textlabel1
        EndFont
+       # TODO: not supported by DocBook, it's related to having several letters in one document.
 End
 
 
@@ -73,10 +70,13 @@ Style Opening
        Preamble
          \newcommand{\lyxopening}[1]{\pagebreak\startbreaks\opening{#1}}
        EndPreamble
+       DocBookTag            para
+       DocBookAttr           role='opening'
 End
 
 
 Style Closing
+       Category              Letter
        LatexType             Command
        LatexName             closing
        KeepEmpty             0
@@ -84,7 +84,8 @@ Style Closing
        BottomSep             1.5
        ParSep                1.5
        Align                 Left
-       AlignPossible         Left
+       DocBookTag            para
+       DocBookAttr           role='closing'
 End
 
 
@@ -95,7 +96,8 @@ Style PS
        BottomSep             0.4
        ParSep                0.4
        Align                 Left
-       AlignPossible         Left
+       DocBookTag            para
+       DocBookAttr           role='post-scriptum'
 End
 
 
@@ -108,9 +110,10 @@ Style CC
        BottomSep             0.4
        ParSep                0.4
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
        LabelString           "cc:"
+       DocBookTag            para
+       DocBookAttr           role='carbon-copy'
 End
 
 
@@ -118,10 +121,13 @@ Style Encl
        CopyStyle             CC
        LatexName             encl
        LabelString           "encl:"
+       DocBookTag            para
+       DocBookAttr           role='enclosed'
 End
 
 
 Style Name
+       Category              Letter
        LatexType             Command
        LatexName             name
        KeepEmpty             1
@@ -131,14 +137,18 @@ Style Name
        BottomSep             0.4
        ParSep                0.4
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
        LabelString           "Name:"
        LabelFont
          Series              Bold
          Shape               Italic
-         Color               Blue
+         Color               textlabel1
        EndFont
+       DocBookTag            personname
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperTagType inline
+       DocBookInInfo         always 
 End
 
 
@@ -146,6 +156,8 @@ Style Signature
        CopyStyle             Name
        LatexName             signature
        LabelString           "Signature:"
+       DocBookTag            para
+       DocBookAttr           role='signature'
 End
 
 
@@ -153,6 +165,11 @@ Style Address
        CopyStyle             Name
        LatexName             address
        LabelString           "Address:"
+    DocBookTag            NONE
+    DocBookWrapperTag     address
+       DocBookWrapperAttr    role='send-to-address'
+    DocBookWrapperMergeWithPrevious  true
+    DocBookInInfo         always
 End
 
 
@@ -160,6 +177,13 @@ Style Telephone
        CopyStyle             Name
        LatexName             telephone
        LabelString           "Telephone:"
+       # TODO: to be valid DocBook, this should be in the address.
+       DocBookTag            phone
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperTagType paragraph
+       DocBookWrapperMergeWithPrevious true
+       DocBookInInfo         always    
 End
 
 
@@ -167,6 +191,12 @@ Style Place
        CopyStyle             Name
        LatexName             place
        LabelString           "Place:"
+       DocBookTag            country
+       DocBookTagType        paragraph
+       DocBookWrapperTag     address
+       DocBookWrapperTagType paragraph
+       DocBookWrapperMergeWithPrevious true
+       DocBookInInfo         always
 End
 
 
@@ -174,6 +204,11 @@ Style Date
        CopyStyle             Name
        LatexName             date
        LabelString           "Date:"
+       DocBookTag            date
+       DocBookTagType        paragraph
+       DocBookWrapperTag     NONE
+       DocBookInInfo         always
+    DocBookNoFontInside   true
 End
 
 
@@ -181,6 +216,11 @@ Style Backaddress
        CopyStyle             Name
        LatexName             backaddress
        LabelString           "Backaddress:"
+       DocBookTag            NONE
+       DocBookWrapperTag     address
+       DocBookWrapperTagType paragraph
+       DocBookWrapperMergeWithPrevious true
+       DocBookInInfo         always
 End
 
 
@@ -188,6 +228,7 @@ Style Specialmail
        CopyStyle             Name
        LatexName             specialmail
        LabelString           "Specialmail:"
+       # TODO: not implemented for DocBook, what is the meaning of this?
 End
 
 
@@ -195,6 +236,7 @@ Style Location
        CopyStyle             Name
        LatexName             location
        LabelString           "Location:"
+       # TODO: not implemented for DocBook, what is the meaning of this?
 End
 
 
@@ -202,6 +244,12 @@ Style Title
        CopyStyle             Name
        LatexName             title
        LabelString           "Title:"
+       HTMLTitle             true
+       DocBookTag            title
+       DocBookAttr           role='title' # As opposed to subject.
+       DocBookTagType        paragraph
+       DocBookWrapperTag     NONE
+       DocBookInInfo         maybe
 End
 
 
@@ -209,6 +257,11 @@ Style Subject
        CopyStyle             Name
        LatexName             subject
        LabelString           "Subject:"
+       DocBookTag            title
+       DocBookAttr           role='title'
+       DocBookTagType        paragraph
+       DocBookWrapperTag     NONE
+       DocBookInInfo         maybe
 End