From: Mats Bengtsson Date: Wed, 19 Mar 2003 18:35:57 +0000 (+0000) Subject: * Documentation/user/lilypond-book.itely (Music fragment options), X-Git-Tag: release/1.7.16~31 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=cd586f228aa3267680548b8ac3d50fc78bee313e;p=lilypond.git * 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 --- diff --git a/ChangeLog b/ChangeLog index a2230a4e05..82a613fc7b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-03-19 Mats Bengtsson + + + * 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 * 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 }