From cb9f5dc67c44fb9f35acb686a45a47b980e23a32 Mon Sep 17 00:00:00 2001
From: matsb <matsb>
Date: Wed, 19 Mar 2003 18:35:57 +0000
Subject: [PATCH] 	* Documentation/user/lilypond-book.itely (Music
 fragment options), 	  scripts/lilypond-book.py: Don't include quotation
 blocks by 	  default. Introduce option quote instead of noquote

---
 ChangeLog                              |  7 +++++++
 Documentation/user/lilypond-book.itely |  7 +++----
 scripts/lilypond-book.py               | 12 ++++++------
 3 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a2230a4e05..82a613fc7b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-03-19  Mats Bengtsson  <mats.bengtsson@s3.kth.se>
+
+
+	* Documentation/user/lilypond-book.itely (Music fragment options),
+	  scripts/lilypond-book.py: Don't include quotation blocks by
+	  default. Introduce option quote instead of noquote
+
 2003-03-17  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
 
 	* VERSION: 1.7.15 released
diff --git a/Documentation/user/lilypond-book.itely b/Documentation/user/lilypond-book.itely
index 08640cb8a2..6c29d85c76 100644
--- a/Documentation/user/lilypond-book.itely
+++ b/Documentation/user/lilypond-book.itely
@@ -331,10 +331,9 @@ affects LilyPond, not the text layout.
 @item notexidoc
 Do not include the .texidoc header. This is only for Texinfo output.
 
-@item noquote
-By default, @command{lilypond-book} puts both La@TeX{} and texinfo output
-into a quotation block.  Using this option prevents this; no indentation
-will be used.
+@item quote
+Instruct @command{lilypond-book} to put La@TeX{} and texinfo output
+into a quotation block.
 
 @item printfilename
 Prints the file name before the music example.  Useful in conjunction
diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py
index 1a6498bfe4..3cc1fe3495 100644
--- a/scripts/lilypond-book.py
+++ b/scripts/lilypond-book.py
@@ -1110,15 +1110,15 @@ def schedule_lilypond_block (chunk):
 		if 'eps' in opts:
 			s = 'output-eps'
 		else:
-			if 'noquote' in opts:
-				s = 'output-latex-noquote'
-			else:
+			if 'quote' in opts:
 				s = 'output-latex-quoted'
+			else:
+				s = 'output-latex-noquote'
 	elif format == 'texi':
-		if 'noquote' in opts:
-			s = 'output-texi-noquote'
-		else:
+		if 'quote' in opts:
 			s = 'output-texi-quoted'
+		else:
+			s = 'output-texi-noquote'
 	else: # format == 'html'
 		s = 'output-html'
 	newbody = newbody + get_output (s) % {'fn': basename }
-- 
2.39.5