]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdlayouts.inc
Fix bug #11410.
[lyx.git] / lib / layouts / stdlayouts.inc
index 8a777964596a174478b5a901021b7174344b4549..597772b411efb33883d3506956ee7e176f166697 100644 (file)
@@ -1,17 +1,21 @@
 # Standard textclass definition file. Taken from initial LyX source code
 # Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
-# Transposed by Pascal André <andre@via.ecp.fr>
+# Transposed by Pascal André <andre@via.ecp.fr>
 # Heavily modifed and enhanced by several developers.
 
 # This include files contains various standard environments for lists,
 # quotations and such.
 
 
+Format 97
+
 Style Quotation
+       Category              MainText
        Margin                Static
        LatexType             Environment
        LatexName             quotation
        NextNoIndent          1
+       ToggleIndent          Always
        LeftMargin            MMM
        RightMargin           MMM
        ParIndent             MM
@@ -22,14 +26,21 @@ Style Quotation
        ParSep                0
        Align                 Block
        AlignPossible         Block, Left, Right, Center
+       HTMLTag               blockquote
+       HTMLItem              div
+       DocBookWrapperTag     blockquote
+       DocBookWrapperMergeWithPrevious    true
+       DocBookTag            para
 End
 
 
 Style Quote
+       Category              MainText
        Margin                Static
        LatexType             Environment
        LatexName             quote
        NextNoIndent          1
+       ToggleIndent          Never
        LeftMargin            MMM
        RightMargin           MMM
        TopSep                0.5
@@ -38,12 +49,18 @@ Style Quote
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
+       HTMLTag               blockquote
+       HTMLItem              div
+       DocBookWrapperTag     blockquote
+       DocBookWrapperMergeWithPrevious    true
+       DocBookTag            para
 End
 
 
 Style Verse
        # LaTeX type is first dynamic because of LaTeX implementation.
        # In LyX this does not make sense.
+       Category              MainText
        LatexType             Environment
        LatexName             verse
        Margin                First_Dynamic
@@ -57,25 +74,39 @@ Style Verse
        Align                 Block
        AlignPossible         Block, Left
        LabelType             No_Label
+       HTMLTag               blockquote
+       HTMLItem              p
+       DocBookTag            literallayout
+       DocBookTagType        paragraph
 End
 
 
-Style Caption
-       Margin                First_Dynamic
-       LatexType             Command
-       LatexName             caption
-       NeedProtect           1
-       LabelSep              xx
-       ParSkip               0.4
-       TopSep                0.5
-       Align                 Center
-       AlignPossible         Center
-       LabelType             Sensitive
-       LabelString   Caption
-       OptionalArgs          1
-       LabelFont
-         Series              Bold
+Style Verbatim
+       Category              MainText
+       LatexType             Environment
+       LatexName             verbatim
+       NextNoIndent          1
+       ParbreakIsNewline     1
+       FreeSpacing           1
+       PassThru              1
+       NeedCProtect          1
+       KeepEmpty             1
+       NewLine               0
+       TopSep                0.7
+       BottomSep             0.7
+       Align                 Block
+       AlignPossible         Block
+       LabelType             No_Label
+       Font
+         Family              Typewriter
        EndFont
+       HTMLTag               pre
+       HTMLItem              p
+       DocBookTag            programlisting
 End
 
 
+Style Verbatim*
+       CopyStyle             Verbatim
+       LatexName             verbatim*
+End