2003-07-04 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ * scripts/lilypond-book.py (do_file): put texidoc before image.
+
+ * input/regression/*.ly: fix snippet octaves
+
* input/test/spanner-after-break-tweak.ly: import
broken-spanner-adjustment
% FIXME including this file makes lily crash lateron -- breaks website build
-onestaff = \context Staff = foo\notes {
+onestaff = \context Staff = foo\notes\relative c'' {
\property Staff.instr = instr
\property Staff.instrument = instrument \mark "B"
c1 \mark "A" \break c2 c2 \break
}
-grstaff = \notes \context GrandStaff <
+grstaff = \notes \relative c'' \context GrandStaff <
\context Staff = bar {
\property Staff.instr = instr
texidoc = "explicit beams may cross barlines. "
}
\score {
-\notes \context Voice { c2. c8-[ c8 c8 c8] }
+\notes \relative c'' { c2. c8-[ c8 c8 c8] }
}
}
\score {
- \notes \context Staff {
+ \notes \relative c'' {
\time 6/8
c8.-[ c16 c16 c16]
}
\header{
texidoc="
By inserting @TeX{} commands between systems, you can force pagebreaks.
+
+In reality, you'd use the LateX command @code{\\newpage} instead of (pagebreak)
+of course.
"
}
-% In reality, you'd use #"\\newpage" instead of "(pagebreak)", of course.
+%
\score {
-\notes { c1
+\notes \relative c' { c1
\context Score \outputproperty #(make-type-checker 'paper-column-interface)
#'between-system-string = #"(pagebreak)\n\n"
}
\score {
- \context Voice \notes\relative c {
+ \context Voice \notes\relative c' {
c4 \grace { d16-[ d16] }
texidoc = "Stripped version of trip.ly. Staffs should be of correct length."
}
\score{
- \context PianoStaff \notes <
+ \context PianoStaff \notes \relative c'' <
\context Staff = treble {
r1
r1
texidoc = "grace notes in different voices/staves are synchronized."
}
-\score {\notes < \context Staff { c2
+\score {\notes\relative c'' < \context Staff { c2
\grace c8
c4 c4 }
\context Staff = SB { c2 \clef bass
\version "1.7.23"
\header {
+
texidoc = "
Texts may be added to the multi measure rests.
+
"
+
}
\score { \notes {
R2.^"4"
R2.*3_\markup { \roman "a1b2c3" }
R2.*10^"inner"^"top"_"inner"_"bot"
- c2.
+ c'2.
}}
}
\score{
- \notes{
+ \notes\relative c''{
%% \emptyText
%% short for \property Voice.TextScript \set #'no-spacing-rods = ##t
c2_"very wide and long text" c | \break
\score {
- \notes
+ \notes\relative c''
{
c4-\startGroup-\startGroup-\startGroup
c4-\stopGroup
"
}
-\score{ \notes { c4^"inner up"^"outer up"_"inner down"_"outer down" }
+\score{ \notes\relative c'' { c4^"inner up"^"outer up"_"inner down"_"outer down" }
\paper { raggedright = ##t}
}
pathbase = os.path.join (g_outdir, basename)
if os.path.isfile (pathbase + '.texidoc') \
and 'notexidoc' not in opts:
- body = '\n@include %s.texidoc\n' % basename + body
- c = (type, body, opts, todo, basename)
+ n.append( ('input', '\n@include %s.texidoc\n' % basename))
n.append (c)
return n
compile_all_files (chunks)
chunks = fix_epswidth (chunks)
+
+ chunks = format_lilypond_output_bodies (chunks)
global format
if format == 'texi':
chunks = check_texidoc (chunks)
- chunks = format_lilypond_output_bodies (chunks)
-
x = 0
chunks = completize_preamble (chunks)