the output into a quotation block. The value @q{0.4@dmn{in}} can be
controlled with the @code{exampleindent} option.
+@c in lilypond-book.py at l.953, it is said that this option is broken.
+@c remove?
@item exampleindent
Set the amount by which the @code{quote} option indents a music snippet.
Most LilyPond test documents (in the @file{input} directory of the
distribution) are small @file{.ly} files which look exactly like this.
+@item lilyquote
+(Only for Texinfo output.) This is the same option as quote, but only
+the music snippet is put into a quotation block. This option is useful
+if you want to @code{quote} the music snippet but not the @code{texidoc}
+documentation block.
+
@item printfilename
If a LilyPond input file is included with @code{\lilypondfile}, print
the file name right before the music snippet. For HTML output, this is
LATEX = 'latex'
LAYOUT = 'layout'
LINE_WIDTH = 'line-width'
+LILYQUOTE = 'lilyquote'
NOFRAGMENT = 'nofragment'
NOINDENT = 'noindent'
NOQUOTE = 'noquote'
QUOTE: r'''line-width = %(line-width)s - 2.0 * %(exampleindent)s''',
+ LILYQUOTE: r'''line-width = %(line-width)s - 2.0 * %(exampleindent)s''',
+
RAGGED_RIGHT: r'''ragged-right = ##t''',
PACKED: r'''packed = ##t''',
if VERBATIM in self.option_dict:
verb = self.substring ('code')
- str += (output[TEXINFO][VERBATIM] % vars ())
+ str += output[TEXINFO][VERBATIM] % vars ()
if not QUOTE in self.option_dict:
str = output[TEXINFO][NOQUOTE] % vars ()
- str += self.output_info ()
+ if LILYQUOTE in self.option_dict:
+ str += output[TEXINFO][QUOTE] % {'str':self.output_info ()}
+ else:
+ str += self.output_info ()
# str += ('@ifinfo\n' + self.output_info () + '\n@end ifinfo\n')
# str += ('@tex\n' + self.output_latex () + '\n@end tex\n')