+2004-07-16 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * scripts/lilypond-book.py (compose_ly): make fragment mandatory
+ for fragment snippets. This fixes inclusion of toplevel-music
+ examples (such as new-slur.ly)
+
2004-07-16 Jan Nieuwenhuizen <janneke@gnu.org>
* scripts/lilypond-book.py: Remove second import of stat.
year={1996}
}
-
-
-
-
@Article {tablature-web,
note = {FAQ (with answers) about TAB, the ASCII variant of Tablature. HWN},
title = {how to read and write tab: a guide to tab notation},
def usage ():
print 'usage: %s [-s style] [-o <outfile>] BIBFILES...';
-print os.environ['BSTINPUTS']
+#print os.environ['BSTINPUTS']
(options, files) = getopt.getopt(sys.argv[1:], 's:o:', [])
-%{
-
-breaks web
+% breaks web
\paper {
raggedright = ##t
}
-%}
+
\relative {
-%{ broken
\override Slur #'after-line-breaking-callback = #New_slur::after_line_breaking
\override Slur #'print-function = #New_slur::print
\override Slur #'height = ##f
-
-%}
f'=''16( e) d( c)
c'=''2(~c8 d16 c b8 a)
f='4
if QUOTE in options and LINEWIDTH in options:
options.remove (LINEWIDTH)
- m = re.search (r'''\\(header|score)''', code)
- if not m and (not options \
- or not NOFRAGMENT in options or FRAGMENT in options):
+ if FRAGMENT in options:
if RAGGEDRIGHT not in options:
options.append (RAGGEDRIGHT)
body = FRAGMENT_LY