* input/test/hymn.ly: change comments.
+ * input/test/[p-r]*.ly: add texidoc index.
+
2003-06-19 Han-Wen Nienhuys <hanwen@cs.uu.nl>
* input/mutopia/J.S.Bach/Petites-Preludes/*.ly (opus): update
\version "1.7.18"
% TODO: rethink name and whole file -- possible delete or major
-% changes.
+% changes. See repeat-manual.ly
\header{
texidoc="@cindex Coda Kludge"
}
\version "1.7.19"
+% TODO: this example has a ton of text for very little output.
+% Is it all needed? -gp
+% should this go to regression or be delete'd? -gp
+\header{ texidoc="@cindex Part Combine Moments
+When you combine two voices with the same notes, you should
+only have one stem. "
+}
\score{
\context PianoStaff <
}
>
\paper {
-
+ raggedright= ##t
textheight = 295.0\mm
linewidth = 180.0\mm
\version "1.7.19"
+\header { texidoc = "@cindex Part Combine Staff
+You can combine parts on two staffs, as well as two voices. "
+}
\score{
\context PianoStaff <
}
>
\paper {
-
textheight = 295.0\mm
linewidth = 180.0\mm
\version "1.7.18"
-\header{
-texidoc="
+\header{ texidoc="@cindex Part Combine
In orchestral scores and hymns, voices are traditionally combined onto
one staff. LilyPond has a part combiner, that combines or separates two
voices according to actual rhythm and pitch. User-defined texts such as
-``solo'' and ``@`a2'' are typeset automagically, as appropriate.
-"
+``solo'' and ``@`a2'' are typeset automagically, as appropriate. "
}
\score{
}
>
\paper{
+ raggedright = ##t
linewidth = 80 * \staffspace
\translator{
\ThreadContext
\version "1.7.18"
-
-%{ When entering half music (I.e. for students to complete by hand)
- you need the spacing to correspond to the timing - all measures same length, etc.
- This thing implements it by adding invisible staff with lots of fast notes.
-%}
-
+% check with invisible-notes or blank-notes. possible rename. -gp
+\header{ texidoc = "@cindex Partial Blank
+When entering half music (i.e. for students to complete by hand)
+you need the spacing to correspond to the timing -- all measures
+same length, etc. This thing implements it by adding invisible
+staff with lots of fast notes. "
+}
quickmeasure = \notes {[\repeat unfold 16 c''16]}
mel = \notes \relative c' {c16 d16 e8 a4 g2 e8 d c2. g'1 e4 d c2}
\version "1.7.18"
-\header{
- texidoc = "Piano pedal symbols merge stop and start. The strings are configurable.
+
+\header{ texidoc = "@cindex Pedal
+Piano pedal symbols merge stop and start. The strings are configurable.
Text style, bracket style, and a mixture of both are supported. "
}
-
-
-
\score{
\context Staff \notes\relative c'{
c4 d \unaCorda e f g
b \treCorde c
-
- }
- \paper{
- }
- \midi{
- \tempo 4 = 60
}
}
%% new-chords-done %%
\version "1.7.18"
+% regression or delete. -gp
+\header{ texidoc = "" }
\score {
\context Voice \notes\relative c {
\version "1.7.18"
+% regression or delete. -gp
+\header { texidoc= "" }
\score {
\context Voice \notes\relative c {
-\header{
- texidoc="Make PhrasingSlur higher, to avoid colission from other slurs"
- }
-
\version "1.7.18"
+\header{ texidoc="@cindex Phrasing Slur Height
+Make PhrasingSlur higher, to avoid colission from other slurs. "
+}
\score {
\context Staff = melody \notes\relative c''{
c8 \( (d e f-) g ( a b c-)
| c ( b a g-) f ( e d c-)-\)
}
- \paper {
- }
+ \paper { raggedright = ##t }
}
%% new-chords-done %%
\version "1.7.18"
-\header {
- texidoc = "Polymetric music with aligned note values can be written
- by moving the timing engraver to staff context."
+\header { texidoc = "@cindex Poly Metric
+Polymetric music with aligned note values can be written
+by moving the timing engraver to staff context. "
}
\score {
\paper{
\translator{ \ScoreContext
- \remove "Timing_engraver" }
+ \remove "Timing_engraver" }
\translator{ \StaffContext
- \consists "Timing_engraver"
- \alias Timing
-}
-}
+ \consists "Timing_engraver"
+ \alias Timing }
+ raggedright= ##t
+ }
}
%% new-chords-done %%
\version "1.7.18"
-\header {
-
-texidoc = "Grob extents may be hard coded using grob
- properties. This requires Grob::preset_extent () function.
-"
+\header { texidoc = "@cindex Preset Extent
+Grob extents may be hard coded using grob properties. This
+requires Grob::preset_extent () function. "
}
\score {
-
\version "1.7.18"
-
+\header { texidoc = "@cindex Repeat Manual
+You can manually control repeat signs and numbers to produce
+unusual output. "
+}
\score { \notes {
% First a normal looking repeat:
\property Score.repeatCommands = #'((volta #f))
c c
}
+ \paper{raggedright=##t}
}
%% new-chords-done %%
\version "1.7.18"
+% possible rename to lyric-repeat or repeat-lyric.
+\header{ texidoc = "@cindex Repeat Lyrics
+You can use alternate lyrics as well as alternate notes for repeats. "
+}
\score{
<
en dan nog dit er ach- ter aan
}
>
+ \paper{raggedright=##t}
}
%% new-chords-done %%
\version "1.7.18"
+% candidate for regression. -gp
+\header { texidoc = "@cindex Rest Dot Positions
+This file tests dotted rests. " }
muz = \notes \relative c'' {
\time 6/1
\context Voice=two { \voiceTwo \muz }
>
}
+ \paper{}
}
%% new-chords-done %%
\version "1.7.18"
\header {
- texidoc = "rests in various styles."
+ texidoc = "@cindex Rests
+Rests in various styles."
}
% FIXME: Currently, this file produces "warning: flag `d-3' not found"
\version "1.7.18"
-
-\header {
-texidoc="
-Simple customised music apply.
-"
+% possible rename to scheme-something.
+\header { texidoc="@cindex Scheme Reverse Music
+Simple customised music apply. "
}
music = \notes \relative c'' { c4 d4( e4 f4 }
\version "1.7.18"
-\header {
-
- texidoc = " a way to generate rhythm exercises with lilypond
- (e.g. no staff but retaining the barlines"
-
-
+\header { texidoc = "@cindex Rhythm Exercise
+This example shows a way to generate rhythm exercises with
+Lilypond (e.g. no staff but retaining the barlines. "
}
\score { \notes { c4 c4 [ c8 c8 ] }
\remove Clef_engraver
}
}
- }
+ \paper{raggedright= ##t}
+}
%% new-chords-done %%
\version "1.7.18"
-
-
+% covered by refman, I think. delete or regression. -gp
+\header { texidoc = ""}
\score{
\context RhythmicStaff {
\notes\relative c''{