]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdlayouts.inc
Fix bug #11410.
[lyx.git] / lib / layouts / stdlayouts.inc
index e2ac0eb8838df0c39de428256408db8f8eb7ec09..597772b411efb33883d3506956ee7e176f166697 100644 (file)
@@ -1,18 +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 4
+Format 97
+
 Style Quotation
+       Category              MainText
        Margin                Static
        LatexType             Environment
        LatexName             quotation
        NextNoIndent          1
+       ToggleIndent          Always
        LeftMargin            MMM
        RightMargin           MMM
        ParIndent             MM
@@ -23,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
@@ -39,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
@@ -58,23 +74,39 @@ Style Verse
        Align                 Block
        AlignPossible         Block, Left
        LabelType             No_Label
+       HTMLTag               blockquote
+       HTMLItem              p
+       DocBookTag            literallayout
+       DocBookTagType        paragraph
 End
 
 
-Style --Separator--
+Style Verbatim
+       Category              MainText
+       LatexType             Environment
+       LatexName             verbatim
+       NextNoIndent          1
+       ParbreakIsNewline     1
+       FreeSpacing           1
+       PassThru              1
+       NeedCProtect          1
        KeepEmpty             1
-       Margin                Dynamic
-       LatexType             Paragraph
-       LatexName             dummy
-       ParIndent             MM
+       NewLine               0
+       TopSep                0.7
+       BottomSep             0.7
        Align                 Block
        AlignPossible         Block
-       LabelType             Static
-       LabelString           "--- Separate Environment ---"
-       LabelFont
-         Family              Roman
-         Series              Medium
-         Size                Normal
-         Color               Blue
+       LabelType             No_Label
+       Font
+         Family              Typewriter
        EndFont
+       HTMLTag               pre
+       HTMLItem              p
+       DocBookTag            programlisting
+End
+
+
+Style Verbatim*
+       CopyStyle             Verbatim
+       LatexName             verbatim*
 End