[LyX/master] Simplify Quotation/Quote style

Scott Kostyshak skostysh at lyx.org
Tue May 9 00:07:12 UTC 2023


commit 5556cb3d3f8d39fdb5811a8002ad3c706c3edc7c
Author: Daniel Ramoeller <d.lyx at web.de>
Date:   Sun Apr 16 09:47:35 2023 +0200

    Simplify Quotation/Quote style
    
    Fix for bug #12745
---
 lib/layouts/stdlayouts.inc |   37 +++++++++++--------------------------
 1 files changed, 11 insertions(+), 26 deletions(-)

diff --git a/lib/layouts/stdlayouts.inc b/lib/layouts/stdlayouts.inc
index 96fca4a..c1aded1 100644
--- a/lib/layouts/stdlayouts.inc
+++ b/lib/layouts/stdlayouts.inc
@@ -9,31 +9,6 @@
 
 Format 99
 
-Style Quotation
-	Category              MainText
-	Margin                Static
-	LatexType             Environment
-	LatexName             quotation
-	NextNoIndent          1
-	ToggleIndent          Always
-	LeftMargin            MMM
-	RightMargin           MMM
-	ParIndent             MM
-	ParSkip               0
-	ItemSep               0
-	TopSep                0.5
-	BottomSep             0.5
-	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
@@ -48,7 +23,6 @@ Style Quote
 	BottomSep             0.5
 	Align                 Block
 	AlignPossible         Block, Left, Right, Center
-	LabelType             No_Label
 	HTMLTag               blockquote
 	HTMLItem              div
 	DocBookWrapperTag     blockquote
@@ -57,6 +31,17 @@ Style Quote
 End
 
 
+Style Quotation
+	CopyStyle             Quote
+	LatexName             quotation
+	ToggleIndent          Always
+	ParIndent             MM
+	ParSkip               0
+	ItemSep               0
+	ParSep                0
+End
+
+
 Style Verse
 	# LaTeX type is first dynamic because of LaTeX implementation.
 	# In LyX this does not make sense.


More information about the lyx-cvs mailing list