From 576254d3bf611381f34682d50d25d2c845231ead Mon Sep 17 00:00:00 2001 From: fred Date: Wed, 27 Mar 2002 01:13:53 +0000 Subject: [PATCH] lilypond-1.3.142 --- input/bugs/gr-instrument.ly | 42 ------------- input/bugs/p.ly | 31 ---------- input/denneboom.ly | 116 ------------------------------------ input/minimal.ly | 10 ---- input/test/asciscript5.ly | 17 ------ input/test/multi-rest.ly | 32 ---------- input/test/parse.ly | 4 -- input/test/parse2.ly | 8 --- input/test/parse3.ly | 8 --- input/test/parse4.ly | 11 ---- input/test/pushproperty.ly | 83 -------------------------- input/test/r-as.ly | 19 ------ input/test/repeatbar.ly | 11 ---- input/test/sizes.ly | 18 ------ input/test/standchen-as5.ly | 39 ------------ input/test/standchen-as9.ly | 37 ------------ input/test/tie-minimum.ly | 12 ---- input/test/twinkle-as5.ly | 67 --------------------- input/test/updown.ly | 14 ----- input/tricks/fragment.ly | 11 ---- 20 files changed, 590 deletions(-) delete mode 100644 input/bugs/gr-instrument.ly delete mode 100644 input/bugs/p.ly delete mode 100644 input/denneboom.ly delete mode 100644 input/minimal.ly delete mode 100644 input/test/asciscript5.ly delete mode 100644 input/test/multi-rest.ly delete mode 100644 input/test/parse.ly delete mode 100644 input/test/parse2.ly delete mode 100644 input/test/parse3.ly delete mode 100644 input/test/parse4.ly delete mode 100644 input/test/pushproperty.ly delete mode 100644 input/test/r-as.ly delete mode 100644 input/test/repeatbar.ly delete mode 100644 input/test/sizes.ly delete mode 100644 input/test/standchen-as5.ly delete mode 100644 input/test/standchen-as9.ly delete mode 100644 input/test/tie-minimum.ly delete mode 100644 input/test/twinkle-as5.ly delete mode 100644 input/test/updown.ly delete mode 100644 input/tricks/fragment.ly diff --git a/input/bugs/gr-instrument.ly b/input/bugs/gr-instrument.ly deleted file mode 100644 index f48cf46251..0000000000 --- a/input/bugs/gr-instrument.ly +++ /dev/null @@ -1,42 +0,0 @@ -%{ -instrument names on grandstaffs. GR is centered on entire score -%} - - -\include "paper20.ly" -\header{ - latexpackages = "amsmath"; -} - -\score{ - \notes < - \context Staff = sa {\property Staff.instrument = "A" g,2 c''''2} - \context Staff = sb {\property Staff.instrument = "B" g,2 c''''2} - \context GrandStaff=gs < - \property GrandStaff.instrument = "Gr" - \context Staff = ga {\property Staff.instrument = "" c''1 } - \context Staff = gb {\property Staff.instrument = "" c''1 } - > - \context Staff = sc {\property Staff.instrument = "foobar" -% "\small$\mathrm{\genfrac{}{}{0pt}{0}{C}{D}}$" - - } - \context Staff = sd {\property Staff.instrument = "E" c''1 } - - > - \paper{ - \translator { - \StaffContext - \consists "Instrument_name_engraver"; - } - \translator { - \GrandStaffContext - \consists "Instrument_name_engraver"; - } - - } -} - - - - diff --git a/input/bugs/p.ly b/input/bugs/p.ly deleted file mode 100644 index a63e8ef9a8..0000000000 --- a/input/bugs/p.ly +++ /dev/null @@ -1,31 +0,0 @@ -% -% mmrests of second voice should not disappear -% -% the problem is more complex: the mmrest-engraver lives at staff level, -% but it seems that we need one per voice. -% -\score { - \notes < - \context Staff = Viole < - \context Voice=one \partcombine Voice - - % ordering significant ?? - \context Thread=two \relative c''{ R1 c2 c2 } - \context Thread=one { R1*2 } - > - > - \paper { -% { - \translator { - \StaffContext - \remove Multi_measure_rest_engraver; - \remove Bar_engraver; - } - \translator { - \VoiceContext - \consists Multi_measure_rest_engraver; - \consists Bar_engraver; - } -% } - } -} \ No newline at end of file diff --git a/input/denneboom.ly b/input/denneboom.ly deleted file mode 100644 index a29abcfa48..0000000000 --- a/input/denneboom.ly +++ /dev/null @@ -1,116 +0,0 @@ -\header{ -filename = "denneboom.ly"; -enteredby = "jcn"; -copyright = "public domain"; -} -%{ file tests silly line shapes %} -% Broken since 1.3.55 - -\include "paper20.ly" - - - -oden = \lyrics{ - O | - den- ne- boom, o | - den- ne- boom Wat | - zijn uw tak- ken | - won- der- schoon -} - -ikheb = \lyrics{ - Ik | - heb u laatst in_'t | - bos zien staan toen | - zat- en er geen | - kaars- jes aan -} - -ugloeit = \lyrics{ - U | - gloeit in bar- re | - win- ter- tijd, als | - sneeuw op aar- de | - licht ge- spreid -} - -oboom = \notes\transpose c''{ - g,8 | - c8. c16 c4. d8 | - e8. e16 e4. e8 | - d e f4 b, | - d8. c16 c4 r8 -} - -bos = \notes\transpose c''{ - g8 | - g e a4. g8 | - g8. f16 f4 r8 f8 | - f d g4. f8 | - f8. e16 e4 r8 -} - - -melody = \notes{ - \oboom - \oboom - \bos - \oboom -} - - -verseOne = \notes{ - \oden - \oden - \ikheb - \oden -} - -verseOneStaff = \context Lyrics = one - \$verse_one - - -verseTwo = \notes{ - \oden - \oden - \ugloeit - \oden -} - -verseTwoStaff = \context Lyrics = two - \$verse_two - - -denneboomShape = \paper{ - \paperTwenty - indent = 20. \mm; - - % UGH -- THIS IS HAIRY - #'margin-shape = #(map - (lambda (x) (cons-map mm-to-pt x)) - '((70.0 . 20.) - (65.0 . 30.0) - (57.5 . 45.0) - (50.0 . 60.0) - (42.5 . 75.) - (35.0 . 90.) - (27.5 . 105.) - (20.0 . 120.0) - (10.0 . 140.0) - (65.0 . 30.0)) - ) - - gourlay_maxmeasures = 30.; - arithmetic_basicspace = 3.8; - arithmetic_multiplier = 8.\pt; -} - -\score{ - \addlyrics - \context Staff { \time 3/4; \melody } - \context Lyrics \$verse_one - \paper{ - \$denneboom_shape - } - \midi{ \tempo 4 = 90; } -} diff --git a/input/minimal.ly b/input/minimal.ly deleted file mode 100644 index 1bbd71a52d..0000000000 --- a/input/minimal.ly +++ /dev/null @@ -1,10 +0,0 @@ - - - -\score{ \sequential {\clef bass ; } -\paper { \translator { \type Score_engraver ; \name "Score"; } - linewidth =1.5\cm; - -} - -} diff --git a/input/test/asciscript5.ly b/input/test/asciscript5.ly deleted file mode 100644 index 0d937897a3..0000000000 --- a/input/test/asciscript5.ly +++ /dev/null @@ -1,17 +0,0 @@ - -\include "paper-as5.ly" - -\score { - \notes\relative c''{ - \time 4/4; - g1 a b c - g2 a b c - g4 a b c - } - \paper { - \paperAs_five - \translator { \StaffContext barSize = #5 } - } - -} - diff --git a/input/test/multi-rest.ly b/input/test/multi-rest.ly deleted file mode 100644 index 6d0781c4f7..0000000000 --- a/input/test/multi-rest.ly +++ /dev/null @@ -1,32 +0,0 @@ - - -voiceOne = \notes\transpose c''{ \stemUp - R1 * 2 | f'4-. r r2 | R1 * 3 | - f'4-. r r2 | R1 * 3 | - es'4-. r r2 | r1 | - \property Score.skipBars = ##t6 - g4-. r r2 | g4-. r r2 | - R1 * 5 | - r2 r4 g4-. | - } - -voiceTwo = \notes - { \transpose c' { \stemDown - R1 * 2 | f'4-. r r2 | R1 * 3 | - f'4-. r r2 | R1 * 3 | - es'4-. r r2 | r1 | - \property Score.skipBars = ##t6 - g4-. r r2 | g4-. r r2 | - R1 * 5 | - r2 r4 g4-. | - - }} - -\score { \notes - \context Staff < - \voiceTwo - \voiceOne - > - - } - diff --git a/input/test/parse.ly b/input/test/parse.ly deleted file mode 100644 index 1c165825ac..0000000000 --- a/input/test/parse.ly +++ /dev/null @@ -1,4 +0,0 @@ - -% Test parser error - -\score{ diff --git a/input/test/parse2.ly b/input/test/parse2.ly deleted file mode 100644 index 8339c274dc..0000000000 --- a/input/test/parse2.ly +++ /dev/null @@ -1,8 +0,0 @@ - -% Test parser error - -foo = \notes{ - - -\score{ -} diff --git a/input/test/parse3.ly b/input/test/parse3.ly deleted file mode 100644 index b167ae49a7..0000000000 --- a/input/test/parse3.ly +++ /dev/null @@ -1,8 +0,0 @@ - -% Test parser error - -foo = \notes{ - - -\score{ - diff --git a/input/test/parse4.ly b/input/test/parse4.ly deleted file mode 100644 index ecb5abd6cb..0000000000 --- a/input/test/parse4.ly +++ /dev/null @@ -1,11 +0,0 @@ - -% Test parser error - -foo = \notes{ -} - - -\score{ - burp -} - diff --git a/input/test/pushproperty.ly b/input/test/pushproperty.ly deleted file mode 100644 index c532befb5b..0000000000 --- a/input/test/pushproperty.ly +++ /dev/null @@ -1,83 +0,0 @@ - - -%{ - -Look at ly/engraver.ly for inspiration on which XXXX -there are. - -Generally, you can find interesting element properties associated with -\property in scm/generic-property.scm. For example, this file contains - - (define generic-stem-properties - (cons 'stem-interface - (list - (list 'stemVerticalDirection dir? 'direction) - (list 'verticalDirection dir? 'direction) - (list 'stemLength number? 'length) - (list 'flagStyle string? 'flag-style) - ))) - - -which means that setting \property stemVerticalDirection overrides -setting \property verticalDirection, and that both have the effect of -setting `direction' in Stem object. You can use \overrideproperty for -setting stem directions by doing. - - - \overrideproperty #'(Stem) #'direction #1 - -(#-1 if you want down). - -A modest amount of memory is involved each time you do a -\overrideproperty. If you do \revertproperty in the right order (reversed -from \overrideproperty), then \revertproperty doesn't cost memory. - -Correct: - - \overrideproperty #'( ... ) #'symbolA #valueA - \overrideproperty #'( ... ) #'symbolB #valueB - \revertproperty #'( ... ) #'symbolB - \revertproperty #'( ... ) #'symbolA - -Incorrect (\revertproperty costs memory): - - \overrideproperty #'( ... ) #'symbolA #valueA - \overrideproperty #'( ... ) #'symbolB #valueB - \revertproperty #'( ... ) #'symbolA - \revertproperty #'( ... ) #'symbolB - -You can use identifiers, eg. - - slursUp = \context Voice \overrideproperty '(Slur) - #'direction #1 - slursBoth = \context Voice \revertproperty '(Slur) - -%} - -\score { \notes -\relative c' { - c4-.( - \property Voice.Dots \override #'direction = #-1 - \property Voice.Stem \override #'direction = #-1 - \property Voice.noteColumnProperties \override #'direction = #-1 - \property Voice.Stem \override #'direction = #-1 - - ) c4-. ( - ) c4-. ( - \property Voice.Slur \override #'direction = #-1 - ) c4-. ( - - \property Dots \revert #'direction - \property Stem \revert #'direction - \property Script \revert #'direction - \property Text \revert #'direction - - ) c4-. () c4-. -} - -\paper { -\translator { \VoiceContext - NoteHead \override #'font-relative-size = #-2 -} -} -} diff --git a/input/test/r-as.ly b/input/test/r-as.ly deleted file mode 100644 index 09ab543a35..0000000000 --- a/input/test/r-as.ly +++ /dev/null @@ -1,19 +0,0 @@ - -\score{ - < - \context Staff \notes\relative c'{ - c d e f - \repeat "volta" 2 { g a b c } - \alternative { { c b a g } { f e d c } } - } - \context Lyrics \lyrics { - De eer- ste < { maat } { moet } > - \repeat fold 2 { } - \alternative { - { en dan twee keer } - { een koe- plet _ } - } - en dan nog dit er ach- ter aan - } - > -} diff --git a/input/test/repeatbar.ly b/input/test/repeatbar.ly deleted file mode 100644 index 9c23cc4390..0000000000 --- a/input/test/repeatbar.ly +++ /dev/null @@ -1,11 +0,0 @@ - -\score { - \context Voice \notes\relative c { - c'' d e f | \repetitions1*3 | - \time 3/4; - g4 a b | R2.*2 | - - } - \paper { } - \midi { } -} diff --git a/input/test/sizes.ly b/input/test/sizes.ly deleted file mode 100644 index a0779c39da..0000000000 --- a/input/test/sizes.ly +++ /dev/null @@ -1,18 +0,0 @@ - -\score { - \context Voice \notes\relative c { - % to see the magic: uncomment size stuff in init/paper20.ly - - c'4 c4 - - \property Voice.fontsize= -2 - b16 * 1 / 2 ( - \property Voice.fontsize= 0 ) - g4 *31/32 - - a a g2 - - } - \paper { } - \midi { } -} diff --git a/input/test/standchen-as5.ly b/input/test/standchen-as5.ly deleted file mode 100644 index cb8660d560..0000000000 --- a/input/test/standchen-as5.ly +++ /dev/null @@ -1,39 +0,0 @@ - - - - -\include "paper-as5.ly" - -\score { - \context StaffGroup < - \context Staff=upper \notes\relative c{ - \key f \major; - \time 3/4; - r8^"Moderato" %\pp - | - r8 - } - \context Staff=lower \notes\relative c{ - \key f \major; - \time 3/4; - \clef "bass"; - r4 - r4 - } - > - \paper { -% \paperAs_nine - indent=4.0\char; - linewidth=78.0\char; - \translator { \StaffContext barSize = #4.5 } - %\translator { \VoiceContext beamHeight = #0 } - \translator { - \VoiceContext - beamHeight = ##f - autoBeamSettings \override (begin * * * *) = #(make-moment 0 1) - textNonEmpty = ##f - } - } - -} - diff --git a/input/test/standchen-as9.ly b/input/test/standchen-as9.ly deleted file mode 100644 index bae5a8666c..0000000000 --- a/input/test/standchen-as9.ly +++ /dev/null @@ -1,37 +0,0 @@ - - -\include "paper-as9.ly" - -\score { - \context GrandStaff < - \context Staff=upper \notes\relative c{ - \key f \major; - \time 3/4; - r8^"Moderato" %\pp - | - r8 - } - \context Staff=lower \notes\relative c{ - \key f \major; - \time 3/4; - \clef "bass"; - r4 - r4 - } - > - \paper { -% \paperAs_nine - indent=4.0\char; - linewidth=78.0\char; - %\translator { \StaffContext barSize = #9 } - %\translator { \VoiceContext beamHeight = #0 } - \translator { - \VoiceContext - beamHeight = ##f - autoBeamSettings \override (begin * * * *) = #(make-moment 0 1) - textNonEmpty = ##f - } - } - -} - diff --git a/input/test/tie-minimum.ly b/input/test/tie-minimum.ly deleted file mode 100644 index 7f0f785fb3..0000000000 --- a/input/test/tie-minimum.ly +++ /dev/null @@ -1,12 +0,0 @@ - -\score{ - \notes\relative c''{ - \time 2/4; - c~c\break - c()c - } - \paper{ - linewidth=-1.\mm; - tie_x_minimum=40.0*\interline; - } -} diff --git a/input/test/twinkle-as5.ly b/input/test/twinkle-as5.ly deleted file mode 100644 index 38723655a3..0000000000 --- a/input/test/twinkle-as5.ly +++ /dev/null @@ -1,67 +0,0 @@ -\header{ -filename = "twinkle.ly"; -title = "Twinkle Twinkle Little Star"; -composer = "Traditional"; -enteredby = "hwn and jcn"; -copyright = "public domain"; -} - - - -\include "paper-as5.ly" - -melody = \notes \relative c'' { - \time 2/4; - c4 c | g' g | a a | g g | -%{ - f f | e e | d d8.( e16 | )c2 | - - g'4 g | f f | e e | d d | - g g | f f | e( e8. f16 | e4 )d | - - c c | g' g | a a | g g | - f f | e e | d d8.( e16 | )c2 | -%} -} - -accompany = \notes \relative c { - \clef "bass"; - \time 2/4; - c4 c' | e c | f c | e c | -%{ - d b | c a | f g | c,2 | - - e'4 g, | d' g, | c g | b g | - e' g, | d' g, | c c8.( d16 | c4 )b | - - c, c' | e c | f c | e c | - d b | c a | f g | c,2 -%} -} - - -text = \lyrics{ - Twin -- kle, twin -- kle, lit -- tle star, " " -%{ - How I won -- der what you " " are. - Up a -- bove the world so high, " " - Like a dia -- mond in the " " sky. " " - Twin -- kle, twin -- kle, lit -- tle star, " " - How I won -- der what you " " are! -%} -} - -\score{ - \context GrandStaff < - \addlyrics - \context Staff=upper \melody - \context Lyrics=between \text - \context Staff=lower \accompany - > - \paper{ - \translator { \GrandStaffContext \accepts "Lyrics"; } - indent=4.0\char; - linewidth=78.0\char; - } -} - diff --git a/input/test/updown.ly b/input/test/updown.ly deleted file mode 100644 index 55869799b8..0000000000 --- a/input/test/updown.ly +++ /dev/null @@ -1,14 +0,0 @@ -\score { - \context Voice \notes\relative c { - % this used to work (long time ago): - % <{\voiceOne e} - % {\voiceTwo c}> - - % now we need: - <\context Voice=one {\voiceOne e} - \context Voice=two {\voiceTwo c}> - - } - \paper { } - \midi { } -} diff --git a/input/tricks/fragment.ly b/input/tricks/fragment.ly deleted file mode 100644 index b4865d6787..0000000000 --- a/input/tricks/fragment.ly +++ /dev/null @@ -1,11 +0,0 @@ - -fragment = \notes { - -} - -\paper { linewidth = -1.; } - -\score { - \notes\relative c \fragment - \paper { } -} -- 2.39.5