]> git.donarmstrong.com Git - lilypond.git/commitdiff
patch::: 1.5.5.jcn2
authorJan Nieuwenhuizen <janneke@gnu.org>
Mon, 13 Aug 2001 21:22:44 +0000 (23:22 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 13 Aug 2001 21:22:44 +0000 (23:22 +0200)
1.5.5.jcn2

93 files changed:
CHANGES
Documentation/index.texi
Documentation/regression-test.tely
VERSION
buildscripts/lys-to-tely.py [new file with mode: 0644]
input/bugs/1st-note-spacing.ly
input/bugs/GNUmakefile
input/bugs/README [new file with mode: 0644]
input/bugs/abe.ly
input/bugs/ac-clash.ly
input/bugs/accents.ly
input/bugs/accid.ly
input/bugs/accidental-collision.ly
input/bugs/ancient-font.ly
input/bugs/auto-beam-tuplets.ly
input/bugs/auto-beam.ly
input/bugs/barline.ly
input/bugs/beam.ly
input/bugs/beamed-chord.ly
input/bugs/beaming.ly
input/bugs/braces.ly
input/bugs/broken-tuplet.ly
input/bugs/context-weirdness.ly
input/bugs/denneboom.ly
input/bugs/die-staff.ly
input/bugs/different-time.ly
input/bugs/dots.ly
input/bugs/drarn.ly
input/bugs/dynamic-switch.ly
input/bugs/grace-dynamic.ly
input/bugs/grace-finger.ly
input/bugs/grace-gets-slur.ly
input/bugs/grace-staff-length.ly
input/bugs/grace-stems.ly
input/bugs/hinterfleisch-gone.ly
input/bugs/l.ly
input/bugs/lyrics-bar.ly
input/bugs/lyrics-spacing.ly
input/bugs/markup-definition.ly
input/bugs/markup.ly
input/bugs/mmrest-collide.ly
input/bugs/multiply.ly
input/bugs/partial-beam.ly
input/bugs/pc-direction.ly
input/bugs/pc-mmrest.ly
input/bugs/pc-rest-collide.ly
input/bugs/prefatory-spacing.ly
input/bugs/repeat.ly
input/bugs/rest-melisma.ly
input/bugs/slur-attachment.ly
input/bugs/slur-dots.ly
input/bugs/slur-dx.ly
input/bugs/slur-steep-broken.ly
input/bugs/spacing-very-tight.ly
input/bugs/staff-size.ly
input/bugs/standchen-space.ly
input/bugs/steep-beam.ly
input/bugs/steep.ly
input/bugs/text-kerning.ly
input/bugs/text-spanner.ly
input/bugs/textcresc.ly
input/bugs/tie-break-accidental.ly
input/bugs/ties.ly
input/bugs/time.ly
input/bugs/triplets.ly
input/bugs/voice-switch-slur.ly
input/no-notation/GNUmakefile
input/no-notation/README [new file with mode: 0644]
input/no-notation/denneboom.ly [new file with mode: 0644]
input/no-notation/die-staff.ly [new file with mode: 0644]
input/no-notation/pc-direction.ly [new file with mode: 0644]
input/no-notation/textcresc.ly [new file with mode: 0644]
input/regression/abe.ly [new file with mode: 0644]
input/regression/auto-beam-tuplets.ly [new file with mode: 0644]
input/regression/beamed-chord.ly [new file with mode: 0644]
input/regression/grace-dynamic.ly [new file with mode: 0644]
input/regression/grace-staff-length.ly [new file with mode: 0644]
input/regression/grace-stems.ly [new file with mode: 0644]
input/regression/hinterfleisch-gone.ly [new file with mode: 0644]
input/regression/markup-stack.ly [new file with mode: 0644]
input/regression/pc-mmrest.ly [new file with mode: 0644]
input/regression/pc-switch-slur.ly [new file with mode: 0644]
input/regression/slur-dots.ly [new file with mode: 0644]
input/regression/spacing-clefs.ly
input/regression/spacing-very-tight.ly [new file with mode: 0644]
input/regression/text-spanner.ly [new file with mode: 0644]
input/regression/tie-break-accidental.ly [new file with mode: 0644]
input/test/beam-stem-test.ly [new file with mode: 0644]
make/lilypond-vars.make
make/ly-rules.make
make/lysdoc-rules.make [new file with mode: 0644]
make/lysdoc-targets.make [new file with mode: 0644]
make/lysdoc-vars.make [new file with mode: 0644]

diff --git a/CHANGES b/CHANGES
index 8bece14e4e6fb694e31500c6318f2da2fc24bce4..4606292e68835fc8e2a1176c3fe0f36a6318a9c8 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,7 +1,12 @@
-1.5.5.jcn1
+1.5.5.jcn2
 ==========
 
-* Updated input/bugs.
+* input/bugs:
+  - Autogenerate bugs document from all .ly's.
+  - Add texidoc to lots of examples.
+  - Junk or move fixed examples to regression test.
+  - Move examples that crash lilypond to input/no-notation.
+  - Update examples.
 
 1.5.5
 =====
index d67c4ef2fdaf14c6386ee243185db3cfbeef995b..3a78e88b820b3b8d9391f84afe36525201ffc52b 100644 (file)
@@ -116,9 +116,12 @@ want to fine-tune output, you need the information in this document.
 @c Jan's site?
 
 @itemize @bullet
-@item @uref{../out-www/regression-test.html,regression-test}
-A large document that tests all kinds of features (in
+@item @uref{../out-www/regression-test.html,Regression Test}
+A large document that tests all kinds of features (also as
 @uref{../out-www/regression-test.ps.gz,Postscript}).
+@item @uref{../../input/bugs/out-www/bugs.html,Bugs}
+A document that shows bugs (also as
+@uref{../../input/bugs/out-www/bugs.ps.gz,Postscript}).
 @item
 @uref{http://www2.iro.umontreal.ca/~pinard/po/registry.cgi?domain=lilypond">Translations,lilypond
 textual domain
index e6114b6f1c8797d30f67333f64fe20e802993c7d..608a7be1cbb8daa5afbc0ed435bcaaca3cd8828b 100644 (file)
 
 @section Introduction
 
-This document tries give a brief overview of LilyPond features.  When
-the text correspond with the shown notation, we consider LilyPond
-Officially BugFree (tm).  This document is intended for finding bugs,
-and documenting bugfixes.
+This document presents a brief overview of LilyPond features.  When the
+text correspond with the shown notation, we consider LilyPond Officially
+BugFree (tm).  This document is intended for finding bugs, and
+documenting bugfixes.
 
 @section Notes and rests
 
diff --git a/VERSION b/VERSION
index 70100ec7bf2d02d57fd4a873d08df3c08e0803a9..afeaf46b966a7fcefc5f0f63ad99c4aa33c2e59c 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond
 MAJOR_VERSION=1
 MINOR_VERSION=5
 PATCH_LEVEL=5
-MY_PATCH_LEVEL=jcn1
+MY_PATCH_LEVEL=jcn2
 
 # use the above to send patches: MY_PATCH_LEVEL is always empty for a
 # released version.
diff --git a/buildscripts/lys-to-tely.py b/buildscripts/lys-to-tely.py
new file mode 100644 (file)
index 0000000..eac9293
--- /dev/null
@@ -0,0 +1,79 @@
+#!@PYTHON@
+
+import sys
+import os
+import string 
+import getopt
+
+program_name = 'lys-to-tely'
+
+def help ():
+       sys.stdout.write (r"""Usage: lys-to-tely [OPTION]... LY-FILE...
+Construct tely doc from LY-FILEs.
+
+Options:
+  -h, --help                print this help
+  -o,output=NAME            write tely doc to NAME
+  -t,title=TITLE            set tely tely doc title TITLE
+""")
+       sys.exit (0)
+
+(options, files) = getopt.getopt(sys.argv[1:], 'hn:t:', [
+       'help', 'name=', 'title='])
+
+name="ly-doc"
+title="Ly Doc"
+for opt in options:
+       o = opt[0]
+       a = opt[1]
+       if o == '-h' or o == '--help':
+               help ()
+       elif o == '-n' or o == '--name':
+               name = a
+       elif o == '-t' or o == '--title':
+               title = a
+       else:
+               raise 'unknown opt ', o
+
+def strip_extension (f, ext):
+       (p, e) = os.path.splitext (f)
+       if e == ext:
+               e = ''
+       return p + e
+
+if files:
+       dir = os.path.dirname (name)
+       if not dir:
+               dir = "."
+       name = strip_extension (os.path.basename (name), ".tely")
+
+       s = '''\input texinfo
+@setfilename %s.info
+@settitle %s
+
+@c fool ls-latex
+@ignore
+@author Han-Wen Nienhuys and Jan Nieuwenhuizen
+@title %s
+@end ignore
+
+@node Top, , , (dir)
+''' % (name, title, title)
+
+       def name2line (n):
+               # UGR
+               if string.find (n, '+') >= 0:
+                       s = "@lilypondfile{%s}" % n
+               else:
+                       s = "@lilypondfile[printfilename]{%s}" % n
+               return s
+
+       s = s + string.join (map (lambda x: name2line (x), files), "\n")
+       s = s + '\n@bye\n'
+       f = "%s/%s.tely" % (dir, name)
+       sys.stderr.write ("%s: writing %s..." % (program_name, f))
+       h = open (f, "w")
+       h.write (s)
+       h.close ()
+       sys.stderr.write ('\n')
+       
index 1760135b6c50a562868b7d560571b3b0c538383e..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,9 +0,0 @@
-\version "1.3.148"
-
-\score {\notes \relative c'' <
-\context Staff = SA { \times 6/7 { [c8 c c c c c c] }  }
-\context Staff = SB { \times 6/6 { [c c c c c c] }  }
->
-
-\paper { linewidth = -1. }
-} 
index 9c2b9f48fe6809a4c3508352db43adcc6be54aa7..51c90c814c3e565f0034eeafe5df1bf80fa4823b 100644 (file)
@@ -1,8 +1,9 @@
-# input/bugs/Makefile
-
 depth = ../..
 
-LOCALSTEPMAKE_TEMPLATES=ly mutopia
-include $(depth)/make/stepmake.make 
+STEPMAKE_TEMPLATES=documentation texinfo tex
+LOCALSTEPMAKE_TEMPLATES=lilypond ly lysdoc
+EXTRA_DIST_FILES=README
 
+include $(depth)/make/stepmake.make 
 
+TITLE=Assorted Possible Bugs
diff --git a/input/bugs/README b/input/bugs/README
new file mode 100644 (file)
index 0000000..2865bdf
--- /dev/null
@@ -0,0 +1,7 @@
+This directory holds a collection of examples that show all simple
+notation bugs known to exist in LilyPond.
+
+Bugs that make lilypond crash, or don't generate notation should go in
+
+   input/no-notation
+
index 74d6625004b947a92655882165dc71a7e795fc70..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,20 +0,0 @@
-\version "1.3.148"
-
-
-% Generated by mudela-book.py options are 
-\include "paper16.ly"
-\paper  { linewidth = 390.000000 \pt } 
-
-\score {
-  \notes \relative c'' {
-    a\longa a\breve  
-    a1 a2 a4 a8 a16 a32 a64 a64 
-  }
-  \paper {
-    \translator {
-      \StaffContext
-       \remove "Clef_engraver"
-       \remove "Staff_symbol_engraver"
-    }
-  }
-}
index 7e58fd47c06f85c5f0d5c24a0fb2ff3ee8bbb57b..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,8 +0,0 @@
-\version "1.3.148"
-% accidentals clash
-\score {
-  \context Staff \notes\relative c' <
-    % koord: c1 e g bes dis
-    bes'1 dis
-  >
-}
\ No newline at end of file
index 6d26098115c610dcff777af693b579a03f8db642..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,13 +0,0 @@
-\version "1.3.148"
-\score {
-  \context Staff \notes\relative c''<
-    \context Voice=one {
-      \voiceOne
-      e2->
-    }
-    \context Voice=two {
-      \voiceTwo
-      f,2->
-    }
-  >
-}
\ No newline at end of file
index 4783c013fb0d19b75993a7769020a94749972739..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,10 +0,0 @@
-%The sharp is printet too far to the left.
-
-
-\version "1.4.0"
-\score {
-\notes \context Staff <
-  \context Voice = up {\stemUp gis''4}
-  \context Voice = dwn {\stemDown <ces' d'>}
->
-}
index 503eff45a03ceddf4e1a32686b6a06a47a205662..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,15 +0,0 @@
-\version "1.3.148"
-
-
-
-\include "paper16.ly"
-\score {
-  \notes {
-    \relative c'' \context Voice \sequential {
-     <dis ais e>
-   }
-  }
-  \paper{
-      linewidth = 5.0\cm
-  }
-}
index 6aef817e6b0799e130e3fcdf0f57024e5e5af95e..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,132 +0,0 @@
-\version "1.3.148"
-\header {
-texidoc="setting staff symbol properties the normal way is broken"
-    title      = "ancient font test"
-    date       = "2000"
-}
-
-
-
-\include "paper26.ly"
-
-global =  \notes {
-    \property Score.timing = ##f
-%   \property Staff.TimeSignature \override #'style = #'old
-}
-
-upperVoice =  \context Staff = upperVoice <
-    \global
-    \property Staff.StaffSymbol \override #'line-count = #4
-    \notes \transpose c' {
-       \property Voice.NoteHead \override #'style = #'mensural
-       \property Voice.Stem \override #'stem-centered = ##t
-       \property Staff.Custos \override #'style = #'vaticana
-       \clef "vaticana_fa2"
-       c2 d e f g
-
-%      \property Staff.clefGlyph = #"clefs-vaticana_do"
-%      \property Staff.clefPosition = #1
-%      \property Staff.clefOctavation = #0 
-       \clef "vaticana_do2"
-
-       a b c'
-       b a g f
-       \clef "vaticana_fa1"
-       e d c1 \bar "|"
-
-       \property Staff.Custos \override #'style = #'medicaea
-       \clef "medicaea_fa2"
-       c2 d e f g
-       \clef "medicaea_do2"
-       a b c'
-       b a g f
-       \clef "medicaea_fa1"
-       e d c1 \bar "|"
-
-       \property Staff.Custos \override #'style = #'hufnagel
-       \clef "hufnagel_fa2"
-       c2 d e f g
-       \clef "hufnagel_do2"
-       a b c'
-       b a g f
-       \clef "hufnagel_fa1"
-       e d c1 \bar "||"
-    }
->
-
-lowerVoice =  \context Staff = lowerNotes <
-    \global
-    \property Staff.StaffSymbol \override #'line-count = #5
-    \notes \transpose c' {
-        \property Voice.NoteHead \override #'style = #'mensural
-       \property Voice.Stem \override #'stem-centered = ##t
-       \property Staff.Custos \override #'style = #'mensural
-       \clef "mensural1_c2"
-       c2 d e f g
-        \property Staff.forceClef = ##t
-       \clef "mensural1_c2"
-       a b c'
-       b a g f
-       \clef "mensural2_c2"
-       e d c1 \bar "|"
-
-       \clef "mensural2_c2"
-       c2 d e f g
-        \property Staff.forceClef = ##t
-       \clef "mensural3_c2"
-       a b c'
-       b a g f
-       \clef "mensural3_c2"
-       e d c1 \bar "|"
-
-       \clef "mensural1_f"
-       c2 d e f g
-        \property Staff.forceClef = ##t
-       \clef "mensural1_f"
-       a b c'
-       b a g f
-       \clef "mensural2_f"
-       e d c1 \bar "|"
-
-        \property Staff.forceClef = ##t
-       \clef "mensural2_f"
-       c2 d e f g
-       \clef "mensural_g"
-       a' b' c''
-       b' a' g' f'
-        \property Staff.forceClef = ##t
-       \clef "mensural_g"
-       e' d' c'1 \bar "|"
-
-        \property Staff.forceClef = ##t
-       \clef "mensural_g"
-       c'2 d' e' f' g'
-       \clef "hufnagel_do_fa"
-       a b c'
-       b a g f
-        \property Staff.forceClef = ##t
-       \clef "hufnagel_do_fa"
-       e d c1 \bar "||"
-    }
->
-
-\score {
-    \context ChoirStaff <
-       \upperVoice
-       \lowerVoice
-    >
-    \paper {
-%      \paperTwentysix
-       linewidth = 17.25\cm
-       textheight = 26.0\cm
-       indent = 0.0
-       \translator {
-           \StaffContext
-           \consists Custos_engraver
-%          Custos \override #'style = #'mensural
-           \remove Time_signature_engraver
-%          StaffSymbol \override #'line-count = #4
-       }
-    }
-}
-
index 9c6a0c4c961bd1db738fd686d8a6db3121b8eb63..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,12 +0,0 @@
-\version "1.3.148"
-
-\header { texidoc = "tuplet-spanner should not put visible brackets on
-beams even if they're auto generated." }
-
-\score { \notes \relative c' {
-  \property Voice.tupletSpannerDuration = #(make-moment 1 4)
-  \property Voice.TupletBracket \override #'tuplet-bracket-visibility = #'if-no-beam
-  \times 2/3 {
-       [f8 f f ][f8 f f ] f f f f f f 
- }
-}}
index b2120ee7bcd4e40362f4cf6f9f4be15fecff3af4..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,9 +0,0 @@
-\version "1.3.148"
-
-\header {
-texidoc = "Auto beam can not be put on the final notes of a score  "
-}
-
-\score { \notes {
-  c8 c8
-}}
index 73fb3631c02ab366eff9127236f131c0a8c39dbf..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,27 +0,0 @@
-\version "1.3.148"
-
-\header {
-texidoc = "Staves that end half way a system should end at the bar line."
-}
-
-melody = \notes \relative c' {
-       \partial 8
-       g8 |
-       \bar "|."\clef bass
-}
-
-
-
-accompaniment = \chords  \sequential {
-       r8
-       r2 r2
-}
-
-\score {
-       \simultaneous {
-         \context ChordNames \accompaniment
-            \context Staff {
-               \melody }
-       }
-       \paper { }
-}
index a2eb18c82b99b5f3e5627894650b4e37553ebacc..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,16 +0,0 @@
-\version "1.3.148"
-\header {
-  texidoc="beam-stem attachment test"
-}
-       
-\score {
-  \context RhythmicStaff \notes {
-    \stemUp [c8 c]
-    \stemDown [c8 c]
-    \stemUp [c8. c16]
-  }
-  \paper {
-    linewidth = -1.0
-    magnification = 64
-  }
-}
\ No newline at end of file
index 51b1fbdb9345488507bd3c18f38bdeaa2938cc87..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,14 +0,0 @@
-\version "1.3.148"
-
-\header{
-texidoc = "Beam thinks that first two notes should be stem down.  Can be fixed by uncommenting \stemUp"
-}
-
-\score{
-  \notes\relative c'{
-    %\stemUp
-    \clef alto
-    \time 3/4
-    r8 <d ( bes > ) bes' d <e-> g, c, c,> r |
-  }
-}
index e8e153dc9ace0bd2813099b5acc568a7c2b4ad6e..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,6 +0,0 @@
-\version "1.3.148"
-
-\score { \notes {
-
-       [\times 2/3 {c16 c c} c8]
-       [\times 2/3 {c16 c c} c8]}}
index 9340d04aaa4b88046bb4b50bc637ccaa2f69d759..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,81 +0,0 @@
-\version "1.3.148"
-% this bug apparently caused by dvips + mf rounding.
-
-
-\header {
-texidoc = "Run this through ly2dvi to show differerent brace sizes"
-}
-
-\include "paper11.ly"
-\paper { linewidth = -1.0 }
-
-\score {
-  \context GrandStaff <
-    \context Staff = a \notes c''1
-    \context Staff = b \notes c''1
-  >
-}
-
-
-\include "paper13.ly"
-\paper { linewidth = -1.0 }
-
-\score {
-  \context GrandStaff <
-    \context Staff = a \notes c''1
-    \context Staff = b \notes c''1
-  >
-  \paper {
-    \translator {
-      \GrandStaffContext
-      SystemStartDelimiter \override #'weird = #-5
-    }
-  }
-}
-
-
-\include "paper16.ly"
-\paper { linewidth = -1.0 }
-
-\score {
-  \context GrandStaff <
-    \context Staff = a \notes c''1
-    \context Staff = b \notes c''1
-  >
-  \paper {
-    \translator {
-      \GrandStaffContext
-      SystemStartDelimiter \override #'weird = #5
-    }
-  }
-}
-
-
-\include "paper20.ly"
-\paper { linewidth = -1.0 }
-
-\score {
-  \context GrandStaff <
-    \context Staff = a \notes c''1
-    \context Staff = b \notes c''1
-  >
-  \paper {
-    \translator {
-      \GrandStaffContext
-      SystemStartDelimiter \override #'weird = #-7
-    }
-  }
-}
-
-
-\include "paper26.ly"
-\paper { linewidth = -1.0 }
-
-\score {
-  \context GrandStaff <
-    \context Staff = a \notes c''1
-    \context Staff = b \notes c''1
-    \context Staff = c \notes c''1
-    \context Staff = d \notes c''1
-  >
-}
index 5008c4aff2bd722ba78bf39086f784b76a516dcd..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,18 +0,0 @@
-\version "1.3.148"
-
-\header {
-
-texidoc = "tuplet bracket doesn't behave properly at line break. Not a real problem."
-}
-
-\score{
-       \notes\relative c''< 
-       {       % broken cresc dumps core
-               c2 c4*2/3 \times 2/3 { c( c c }
-               c4 c c c
-       } >
-       \paper{
-       indent = 0.
-               linewidth=30.\mm
-       }
-}
index 1ad6232f851e3782180dc2584b92bf612b9864b3..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,53 +0,0 @@
-\version "1.3.148"
-\header {
-texidoc = "context level weirdness.  after some commands, explicit
- \context Voice commands must be inserted otherwise subsequent property
- settings fail silently"
-}
-
-% from les-nereides.ly
-
- #(define (make-text-checker text)
-  (lambda (elt) (equal? text (ly-get-grob-property elt 'text))))
-
-\score {
-  \context PianoStaff <
-    \context Staff=upper \notes\relative c' {
-        \property Score.timing = ##f
-
-        output = property #(make-text-checker "foe") #'extra-offset = #'(-2 . 4)
-        c-"foe"
-       
-       \translator Staff=lower
-
-       % staff switch moves us
-       % implicitely to staff level: text-checker won't see "foe"
-        output = property #(make-text-checker "foe") #'extra-offset = #'(-2 . 4)
-        c-"foe"
-
-       % get back to Voice level: it works again
-       \context Voice
-       output = property #(make-text-checker "foe") #'extra-offset = #'(-2 . 4)
-        c-"foe"
-
-       \clef treble
-       
-       % clef change moves us
-       % implicitely to staff level: text-checker won't see "foe"
-        output = property #(make-text-checker "foe") #'extra-offset = #'(-2 . 4)
-        c-"foe"
-
-       % get back to Voice level: it works again
-       \context Voice
-       output = property #(make-text-checker "foe") #'extra-offset = #'(-2 . 4)
-        c-"foe"
-       
-    }
-    \context Staff=lower \notes\relative c' {
-      s
-    }
-  >
-  \paper {
-    linewidth = -1.0
-  }
-}
\ No newline at end of file
index 9b72cf4fe6af4ff8437fd12912270eb1da729645..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,116 +0,0 @@
-\version "1.3.148"
-\header{
-filename =      "denneboom.ly"
-enteredby =     "jcn"
-copyright =     "public domain"
-}
-%{ file tests silly line shapes %}
-
-\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 
-       \verseOne
-
-
-verseTwo = \notes{
-       \oden
-       \oden
-       \ugloeit
-       \oden
-}
-
-verseTwoStaff = \context Lyrics = two 
-       \verseTwo
-
-
-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 \verseOne
-       \paper{ 
-               \denneboomShape 
-       }
-       \midi{ \tempo 4 = 90 }
-}
index 1f3b94174a52769090c3583885148ec2c13ed63b..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,23 +0,0 @@
-\version "1.3.148"
-
-\header  {
-texidoc = "a staff should really die, if no one's referencing it."
-}
-\score {
- {
-    \context Staff = q {
-      \notes { a' b' c' d' }
-    }
-
-    \break
-
-    \context PianoStaff <
-      \context Staff = i {
-        \notes { a' b' c' d' }
-      }
-      \context Staff = ii {
-        \notes { \clef "bass" a b c d }
-      }
-    >
-  }
-}
index 2db2460f2b7e13428ad508eaaecff4cd4956a53c..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,33 +0,0 @@
-\version "1.3.148"
-
-\header {
-texidoc = " Spacing for one staff in polymetric music should
-be not hampered by a staff in another time signature."
-}
-
-\score{
-    \context PianoStaff <
-        \context Staff = upper \notes\relative c''{
-           \property Staff.timeSignatureFraction = #'(3 . 4)
-           c4 c c
-           c2.
-                   
-        }
-        \context Staff = lower \notes\relative c' {
-           \property Staff.timeSignatureFraction = #'(4 . 4)
-           c4 c c c
-           c1
-        }
-    > 
-    \paper{
-       linewidth=-1.0
-       \translator {
-           \ScoreContext
-           \remove Timing_engraver
-       }
-       \translator {
-           \StaffContext
-           \consists Timing_engraver
-       }
-    }
-}
index b279b4c06dad1317ee869309545e4be65a787d68..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,11 +0,0 @@
-\version "1.3.148"
-
-\header {
- texidoc = "Dots should remain close to the heads they belong to, but should not overlap."
-}
-
-
-\score {
-  \notes
-   \context Voice { <f,4. c'' d e f> }
-}
index 7fcadb6cc1d1f56c834a797ee3341a9e158b554c..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,24 +0,0 @@
-\version "1.3.148"
-%% oops, weird small ties
-
-\score {
-  \context Staff \notes <
-    \time 3/8
-    \context Voice=one \relative c'' {
-      \property Voice.Stem \set #'direction = #1
-      \property Voice.Tie \set #'direction = #1
-      \property Voice.Slur \set #'direction = #1
-      \property Voice.Slur \set #'attachment = #'(head . head)
-      c8 c()c  
-    }
-    \context Voice=two \relative c'' {
-      \property Voice.Stem \set #'direction = #-1
-      \property Voice.Tie \set #'direction = #-1
-      \property Voice.Slur \set #'direction = #-1
-      \property Voice.Slur \set #'attachment = #'(head . head)
-      a8()a~a  
-    }
-  > ~
-  \paper { linewidth = -1. } 
-%  \paper { linewidth = 40*\staffspace } 
-}
index a4902efe5e862f21fc253c510e4fdde9e41cacfd..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,23 +0,0 @@
-\version "1.3.148"
-
-% what's the problem?
-\score{
-       \context Staff <
-               \context Voice=one \skip 1
-               \context Voice=two \skip 1
-               \context Voice=one \partcombine Voice
-                       \context Thread=one \notes\relative c'' {
-                               c2 \clef bass c2
-                               c2 c2
-                       }
-                       \context Thread=two \notes\relative c'' {
-                               b2 \< a4 () \! a
-                               a2 \> a4 () \! a
-                       }
-       >
-       \paper{
-               linewidth=140.\mm
-       }
-}
-
-
index 68f0c4daf161a25e8835b2332c72ed450baa28b6..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,5 +0,0 @@
-\version "1.3.148"
-
- % ?
- \score { \notes \context Voice {\grace {c'_\f} d e f g}}
index d5552b1f76aeccbdc4610ed40de7769a55b9604b..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,10 +0,0 @@
-\version "1.3.148"
-
-
- % ?
-\score {
-\notes \context Voice = VA \relative c'' {
-       \grace {[b8^1 c^2]} d4^3
-}
-\paper {linewidth = -1. ; }}
index 91c43c3229052d264e3d74f9aa874f978fcb0f65..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,2 +0,0 @@
-\version "1.3.148"
-
index 1b2713f8216bd8374711c79eba07a0600c79425c..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,20 +0,0 @@
-\version "1.3.148"
-\header{
-texidoc = "stripped version of trip.ly.  upper staff is too short, lower too long"
-}
-\score{
-  \context PianoStaff \notes <
-    \context Staff = treble {
-       r1
-       r1
-       \bar "|."
-    }
-    \context Staff = bass {
-      r1
-      \context Staff {
-       \grace { c16 } c1
-      }
-    }
-  > 
-  \paper { }
-}
index 1b8c6a3c2ece7c2cb00ddb506f97bed252e092cf..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,24 +0,0 @@
-\version "1.3.148"
-\header{
-texidoc = "startGraceMusic should no-stem-extend to true, but there's no effect:
-the two grace beams should be the same here.
-"
-}
-
-
-\score { 
-  \context Voice \notes\relative c {
-    \grace { 
-      [f8 e8] 
-      \property Voice.Stem \override #'no-stem-extend = ##t
-      [f8 e8] 
-      \property Voice.Stem \revert #'no-stem-extend
-    }
-    a4
-       
-  }
-  \paper {
-    linewidth=-1.0
-  }  
-  \midi { }
-}
index d46bae81a55252aef46384a46414496da12caab4..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,14 +0,0 @@
-\version "1.3.148"
-
-% jij had zoon mooi tight spacing example,
-% kan zo'n harde space ook niet voor en na maatstreep!
-\score {
-       \notes \relative c'' {
-       \time 2/4
-       \property Voice.noAutoBeaming=##t
-       a4 a8
-       a32 a a a
-}
-%set bit wide
-\paper {linewidth = 100.\mm}
-}
index 3c8902ad23674bb0a2fd9d14681b12ce22f7a65a..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,4 +0,0 @@
-\version "1.3.148"
-
-\score { \notes { c^#`(columns "" (lines "1" (bold "2") "3"))}}
-
index 3ebafb9b1aed4ca63b7dbcb005a4846110fc7f84..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,46 +0,0 @@
-\version "1.3.148"
-
-%
-% Lyrics with barline colliding is fine now, BUT
-% There's an horizontal gap between staff and end bar 
-%
-
-\header{
-texidoc = "
-Adding a @code{Bar_engraver} to the LyricsVoice context makes sure that
-lyrics don't collide with barlines.
-"
-}
-
-\score {
-       \context StaffGroup <
-       \notes \context Staff {
-               b1 \bar "|:" b1 \bar ":|"
-       }
-       \lyrics\context Lyrics <
-               \context LyricsVoiceWithBars {
-%                      thisContextHasBarEngraver1  added
-                       ThisContextCertainlyHasBarEngraverAddedButThereHasBeenSomethingFunnyBefore1.  Here.
-               }
-               \context LyricsVoice {
-                       this4 one has no BarEngraverAddedToContext1
-               }
-       >
-       \notes \context Staff = SB { b1 b1 }
-       >
-       \paper {
-               linewidth = -1.0\cm
-               \translator {
-                       \LyricsContext
-                       \accepts "LyricsVoiceWithBars"
-               }
-               \translator {
-                       \LyricsVoiceContext
-                       \consists "Bar_engraver"
-                       \name "LyricsVoiceWithBars"
-               }
-               \translator {
-                       \LyricsVoiceContext
-               }
-       }
-}
index 623016d37b5f118c81a01080f01c52c7a6d3b529..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,27 +0,0 @@
-\include "norsk.ly"
-
-\header {
-texidoc ="``baz'' should be centered on the a (tenor voice), but it is
-not."
-}
-
-\version "1.3.148"
-
-sop = \notes \transpose c''  {e2 e fis1 }
-alt = \notes \relative c' {cis2 e e d }
-ten = \notes \relative c' {a2 a a1 }
-txt = \lyrics {foo2 bar baz jazz }
-
-\score {
-    <
-       \context Staff = up \notes <
-           \context Voice=sopv {\stemUp \sop}
-           \context Voice=altv {\stemDown \alt}
-       >
-       \context Staff = down \notes < \clef "F"
-           \context Voice=tenv {\stemUp \ten}
-       >
-       \context Lyrics = la { \txt }
-    >
-    \paper { linewidth = -1 }
-}
index 6daf2bd719ed748436a80d9c4acd131dddb98ffd..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,21 +0,0 @@
-\version "1.3.148"
-%{
-
-The definition of markup is incomplete.
-
-Ideally, either the input is valid, and all information therein is
-used, or it is invalid, and an error message is produced.
-
-%}
-
-
-\score { \notes \relative c' {
-    f_#'(lines "one" ( "tow"))
-
-    % three ignored
-    f_#'(lines "one" ( "two" "three" ))        
-
-        % italic ignored.
-    f_#'(lines "one" (bold italic "towo"))
-    
-  }}
index 3c8902ad23674bb0a2fd9d14681b12ce22f7a65a..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,4 +0,0 @@
-\version "1.3.148"
-
-\score { \notes { c^#`(columns "" (lines "1" (bold "2") "3"))}}
-
index c2a57ae775e80b744b9760a4f36956f9f0ae7d1e..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,16 +0,0 @@
-\version "1.3.148"
-%
-% multi-measure-rests should collide with notes, just as normal rests.
-%
-\score {
-  \notes\context Staff <
-     \context Voice=one \relative c''{
-       d d d d
-       d d d d
-     } 
-     \context Voice=two {
-       r1
-       R
-     } 
-  >
-}
\ No newline at end of file
index 0c2ba1827164d8917222c363e0dfe246be547719..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,31 +0,0 @@
-\version "1.3.148"
-
-
-
-% ugh: strange order of things, this:
-%    a16 * 1/2 (
-% must be 
-%    a16 ( * 1/2
-
-%{
-?? is this a bug? --hwn
-%}
-
-\score { 
-  \context Voice \notes\relative c {
-    % to see the magic: uncomment size stuff in init/paper20.ly
-       
-       c'4 c4
-       
-       \property Voice.fontSize= -2
-       % ugh ugh
-       b16 * 1 / 2 (
-       \property Voice.fontSize= 0 )
-       g4 *31/32
-       
-       a a g2
-       
-  }
-  \paper { }  
-  \midi { }
-}
index 670780c46bd4acdc5d395b090a6e1e568332410b..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,27 +0,0 @@
-\version "1.3.148"
-
-\include "paper20.ly"
-Sopnotes = \notes {
-       \time 4/4
-       \key g \major
-       \clef treble
-       \partial 8 * 3
-       e'8 f'8 g'8 |
-       d'8 d'16 d'16 e'8. e'16 g'8 g'8 f'8 f'8
-}
-
-\score {
-       \notes
-       <
-               \context Staff="sop"
-               <
-                   \Sopnotes
-               >
-       >
-       \paper {
-                \translator {
-                 \StaffContext 
-                        autoBeamSettings \override #'(end * * * * ) = #(make-moment 1 8)
-               }
-       }
-}
index 948f43716fbc46a17eae1465c1c5a113523cdfba..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,138 +0,0 @@
-\version "1.3.148"
-
-% move to regtest once it works?
-
-
-% still not workign ? --hwn.
-
-\header {
-texidoc = "
-On their own staff, staffcombined voices should be stemboth (not up/down)
-while voicecombined threads should get their direction set (up/down)"
-}
-
-
-End = { \skip 1*8 }
-
-violaI = \notes\relative c'' {
-  c c e4. e8
-}
-violaII = \notes\relative c'' {
-  c4 b a a
-}
-
-
-violoncello = \notes\relative c' {
-   c8 c c c    c8 c c c\break
-   a1
-}
-
-contrabasso = \notes\relative c {
-   a4 a8 a   a8 a a a\break
-   a1
-}
-
-violeStaff = \notes \context Staff = viole <
- \context Voice=oneViole <
-               \property Staff.instrument = #"Viola"
-               \property Staff.instr = #"Vla."
-
- \End
- >
- \context Voice=twoViole <
-               \property Staff.instrument = #"Viola II"
-               \property Staff.instr = #"Vla. II"
- \End
- >
-  \context Voice=oneViole \partcombine Voice
-    \context Thread=oneViole \violaI
-    \context Thread=twoViole \violaII
->
-
-staffCombinePianoStaffProperties = {
-       \property PianoStaff.devNullThread = #'()
-       \property PianoStaff.soloADue = ##t
-       \property PianoStaff.soloText = #""
-       \property PianoStaff.soloIIText = #""
-       % This is non-conventional, but currently it is
-       % the only way to tell the difference.
-       \property PianoStaff.aDueText = #"\\`a2"
-       \property PianoStaff.splitInterval = #'(1 . 0)
-       \property PianoStaff.changeMoment = #`(,(make-moment 1 1) . ,(make-moment 1 1))
-       \property PianoStaff.noDirection = ##t
-}
-
-
-\score {
-  <
-  \context StaffGroup <
-   \violeStaff
-
-  \context PianoStaff = bassi_group \notes <
-    \staffCombinePianoStaffProperties
-    \context Staff=oneBassi < \clef bass
-               \property Staff.instrument = #'(lines
-                 "Violoncello" "    e" "Contrabasso")
-
-               \property Staff.instr = #"Vc."
-               \End >
-    \context Staff=twoBassi < \clef bass
-               \property Staff.instrument = #"Contrabasso"
-               \property Staff.instr = #"Cb."
-
-    \End >
-  
-    \context Staff=oneBassi \partcombine Staff
-      \context Voice=oneBassi { \violoncello }
-      \context Voice=twoBassi { \contrabasso }
- >
->
- >
-  \paper {
-    % \paperSixteen
-    linewidth = 80 * \staffspace
-    textheight = 200 * \staffspace
-    \translator{
-      \ThreadContext
-      \consists "Rest_engraver"
-      
-      % Set value for engraver at thread level,
-      % to override the default that is set in ScoreContext
-      % for added engraver at Voice level
-      devNullThread = #'()
-    }
-    \translator{
-      \VoiceContext
-      \remove "Rest_engraver"    
-
-      % The staff combine (bassi part) needs a
-      % thread_devnull_engraver here.
-      % Instead of maintaining two separate hierarchies,
-      % we switch add it, but switch it off immideately.
-      % The staff combine parts switch it on.
-      % devNullThread = #'never
-      \consists "Thread_devnull_engraver"
-    }
-    \translator{
-      \HaraKiriStaffContext
-      \consists "Mark_engraver"
-    }
-    \translator {
-      \OrchestralScoreContext
-      skipBars = ##t
-      soloText = #"I."
-      soloIIText = #"II."
-      % By default, turn off the Thread_devnull_engraver
-      % at Voice level
-      devNullThread = #'never
-
-      % Hmm
-      currentBarNumber = #218
-      BarNumber \override #'padding = #3
-      RestCollision \override #'maximum-rest-count = #1
-      marginScriptHorizontalAlignment = #1
-      TimeSignature \override #'style = #'C
-    }
-  }
-}
-
index e3800990ae8ea6d3c7b536b234a20b0940e2f4eb..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,61 +0,0 @@
-\version "1.3.148"
-%
-% 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.
-%
-
-#(set! point-and-click line-column-location)
-one = \notes\relative c'' {
-
-       f4 \!e-.\f r2|
-       R1|
-       f2\p()es|
-       \property Voice.crescendoText = #'(lines " " "cresc." " ")
-       \property Voice.crescendoSpanner = #'dashed-line
-       d1\<|
-       d1|
-       d2 d2|
-       d2 d2|
-       \!f1\ff  |
-       f1
-}
-
-two = \notes \relative c'' {
-       r4 c r2|
-       R1*6|
-       c1 ~|
-       c1
-}
-       
-\score {
-  \notes <
-    \context Staff = Viole <
-       \context Voice=one \partcombine Voice
-               \context Thread=one \one
-               \context Thread=two \two
-    > ~
-  >
-  \paper {
-    \translator {
-      \ThreadContext
-      \consists "Rest_engraver"
-    }
-    \translator {
-      \VoiceContext
-      \remove "Rest_engraver"
-      \consists Multi_measure_rest_engraver
-      \consists Bar_engraver
-    }
-    \translator {
-      \HaraKiriStaffContext
-      \remove Multi_measure_rest_engraver
-      \remove Bar_engraver
-    }
-    \translator {
-      \OrchestralScoreContext
-      RestCollision \override #'maximum-rest-count = #1
-    }
-  }
-}
\ No newline at end of file
index 2a2778955e86913f4f63928d807c5c99280f4ecf..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,25 +0,0 @@
-\version "1.3.148"
-%
-% when part-combining, rests should collide as in normal case
-%
-\score {
-  \notes <
-    \context Staff <
-       \context Voice=one \relative c''{
-        d4 d d d
-        d d d d
-       } 
-       \context Voice=two {
-        r1
-        R
-       } 
-    >
-    \context Staff = Viole <
-       \context Voice=one \partcombine Voice
-               \context Thread=one \relative c''{ d4 d d d  d d d d }
-               \context Thread=two { r1 R1 }
-    >
-  >
-  \paper {
-  }
-}
\ No newline at end of file
index 06e718bc2a5925b9a64bb5f69c6f376dfd9c62ad..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,15 +0,0 @@
-\version "1.3.148"
-
-\header { texidoc= "Spacing after clef/key should be stretched
-equidistantly for large stretching, but should stay clear of prefatory
-matter for small stretching. Support in the spacing engine for
-separate spring constants for stretching/shrinking is needed" 
-}
-
-foo = \notes\relative c''   {   \key as \major f }
-
-\score {
-
-  < \foo 
-  >
-}
index 411ed4211b8eeb69e4bf844a52e4928524dcfc2b..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,4 +0,0 @@
-\version "1.3.148"
-
-% should start with |:
-\score { \context Staff \notes \repeat volta 3 c1 \alternative { d1 e1 }} 
index b8ef6e73e006b78b7d86e939bd390d33c74c5d6f..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,20 +0,0 @@
-\version "1.3.148"
-\header {
-texidoc = "slur or long note on other staves fool lily into extending melisma"
-}
-\score {
-  <
-    \addlyrics
-      \notes {
-       \property Staff.automaticMelismata= ##t
-       c4 () c r c
-      }
-      \context Lyrics \lyrics { foo __ bar }
-    \context Staff=foolMelismata \notes{
-      c4 ( c c ) c
-    }  
-    \context Staff=foolMelismata \notes{
-      c1
-    }  
-  >  
-}
\ No newline at end of file
index 2353bbac5a07c4642b87b795da2f132096aae882..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,21 +0,0 @@
-\version "1.3.148"
-
-\header{
-texidoc = "
-Slurs should be attached to note heads, except when they would collide
-with beams.  Also see: ophee-slurs.
-"
-}
-\score{
-       \notes \relative c''{
-               \property Voice.Slur \set #'direction = #1
-               a8( a )a4
-               a4( a8 )a
-               a8 a()a4
-               a4() a8 a
-       }
-       \paper{ 
-               indent = 0.0
-               linewidth = 100.\mm
-       }
-}
index 34d0ddc42c2542d8498b94943fc23cbed507708f..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,12 +0,0 @@
-\version "1.3.148"
-
-% Placement of slur uses x-extent of note-head which includes dots
-       
-\score {
-  \notes\relative c'' {
-    c4.............()c
-  }
-  \paper {
-    linewidth = -1.
-  }
-} 
index cd540082a4c366ca432d0111118efb0a8e8f3756..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,21 +0,0 @@
-\version "1.3.148"
-
-\header{
-texidoc = "
- Right ending of slur is too far right.
-
- [I did make a better test .ly for this, but can't seem to find it
-now.]  " }
-
-\score {
-  \notes \relative c'' {
-    \property Voice.Stem \set #'direction = #1
-    \property Voice.Slur \set #'direction = #1
-    d,32( d'4 )d8..
-    \property Voice.Slur \set #'attachment = #'(stem . stem)
-    d,32( d'4 )d8..
-  }
-  \paper {
-    linewidth = -1.
-  }
-} 
index 0b63568fae4e28ebd879bf59e2208e08f96538bc..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,11 +0,0 @@
-\version "1.3.148"
-
-\score{
-  \notes\relative c''{
-    \time 2/4
-    [f8 e d f, (] | \break
-    [) a'8. gis16 fis8. cis16] |
-  }
-  \paper{linewidth = 3.0\cmindent = .0}
-}
-
index 39b95ca3912ba22e13a5800c9189220e9e1e0b86..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,17 +0,0 @@
-\version "1.3.148"
-
-% When tightly spaced, hinterfleisch -> 0.
-% Stems may touch the bar lines, opposite stems may touch eachother.
-% We need a mininum of about a note-width/interline space in these
-% situations, so that in tightly spaced music all vertical lines
-% are about equally spaced.
-
-\score {
-       \notes \relative c''{ 
-               r1 e4 f, e' f,
-       }
-       \paper { 
-               linewidth = 25.0 \mm
-               indent = 0.0\mm
-       }
-}
index 3a6640d6df9b27435e0be3c333d31dc82b154d97..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,21 +0,0 @@
-\version "1.3.148"
-
-       % separate staff-size is clumsy with \override.
-       
-\score {
-  \notes \relative c' < \context Voice {
-       \property Staff.staffSpace = #10
-       \property Staff.fontSize = #-1
-       \property Voice.fontSize = #-1
-       
-       \property Voice . dynamicDirection = \up \stemDown
-%\key gis \major
-       c8 d [e f g a] b c \ff
-  }
-
-\context Staff = VB {  \property Voice . dynamicDirection = \down c,,4 \ff c c c  }
-
->
-\paper { linewidth = -1. }
-}
-
index 2b9ddfa124d7514d6f65a560992cd857fe657e63..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,10 +0,0 @@
-\version "1.3.148"
-
-\score {
-\notes \relative c' <
-\context Staff = SA  { c4. c8 \times 2/3 { [c8 c c] } }
-\context Staff = SB  { c8 c c c c c }
->
-
-\paper { linewidth = -1. }
-}
index f07d339017af4cd46c48cc8a76b47ff24be9b963..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,7 +0,0 @@
-\version "1.3.148"
-
-\header {
-texidoc = "1st beam should prob. be horizontal."
-}
-
-\score { \notes <{  [ r8 g''16 des'] [r8 c16 a] }>}
index a3fff9c703f62614ea2b0fa6b32590cdba632d88..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,15 +0,0 @@
-\version "1.3.148"
-
-
-
-\score{
-       \notes\relative c''{
-               a'( a a [a8...] b,32\break
-               c4 \clef bass c,,, c )c
-       }
-       \paper{
-               indent=0.0\mm
-               linewidth=40.0\mm
-       }
-}
-
index 4f67222a6b673157e1b1c2f75b189660d971b23b..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,16 +0,0 @@
-\version "1.3.148"
-
-
-\header {
-texidoc = "LilyPond doesn't kern text, but TeX does, leading to skewed results: the VAVAVAVA takes less space than LilyPond thinks it does." } 
-
-\score {
- \notes \relative c'' < \context Voice {
-%       c16 c16 c16 c16 c4
-        c4 c4 c4
- }
-\context Lyrics  \lyrics {   foobar4 -- VAVAVAVAV4 -- foobar4 } >
-
-       
- \paper { linewidth = -10.0\cm }
-}
index e4b875e923871e71013dca8dc6b75e923294fb98..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,15 +0,0 @@
-\version "1.3.148"
-
-% text spanners should not repeat start text when broken
-
-\score {
-  \notes \relative c'' {
-    \property Voice.crescendoText = #"cresc."
-    \property Voice.crescendoSpanner = #'dashed-line
-    c1\< c \break
-    c1 \!c \break
-    }
-  \paper {
-    linewidth = 40*\staffspace
-  }
-}
index 91127368f5f0061cab8f00266c3b636e7b64529f..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,13 +0,0 @@
-\version "1.3.148"
-
-
-\score { \notes {
-  \context Voice {
-    \property Voice.crescendoText = "cresc."
-    \property Voice.crescendoSpanner = #'dashed-line
-    c2. r8 c8 \< \break \! c1
-  }
-}
-\paper { linewidth = 5.\cm}
-}
-
index d17bd8b3c8799f550cb866489f2ce62ed3292c76..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,18 +0,0 @@
-\version "1.3.148"
-
-\header {
-texidoc = "First and second bes (tied across line break)
-should get an accidental, but others should not"
-}
-
-\score {
-  \notes {
-    bes1 ~ | \break
-    bes2 ~ bes4 ~ bes4 ~ | bes1
-    \key  f\major
-    bes1 ~|bes2 b ~|b ~ b ~|b1
-  }
-  \paper {
-    linewidth = 40*\staffspace
-  }
-}
index 3cf51375705117cc3852a138e4bc2acb3f37df9e..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,22 +0,0 @@
-\version "1.3.148"
-
-\header {
-  texidoc="Positioning of last ties is incorrect ties between 2-1 and 1-1
-  durations differ."
-}
-
-\score {
-  \context Staff <
-    \context Voice = a \notes\relative c'' {
-      \voiceOne
-      r2 a2 a1~a
-    }
-    \context Voice = y \notes\relative c' {
-      \voiceTwo
-      r2 a2~a1~a
-    }
-  > ~
-  \paper {
-    linewidth = 100 * \staffspace
-  }
-}
index 400bc6cdec51b71a77cd2cbf4e91e40847e09426..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,10 +0,0 @@
-\version "1.3.148"
-
-% Uses old style
-
-\score {
-  \notes { 
-    \property Staff.TimeSignature \override #'style = #'oldC4/4
-    s1 
-  }
-}
index 7546742a803539754a545f85f3fcba3540187ef8..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,34 +0,0 @@
-\version "1.3.148"
-
-\header {
-texidoc = "Simple beams.  This broke somewhere < 1.3.110
-"
-  title = "Gammes Chromatiques"
-  composer = ""
-  filename = "gammes_chromatiques.ly"
-}
-
-%{
-           - At bar 3 of 2nd score, stems are too big (or the beams are
-          badly positionned)
-%}
-
-linebreak = \penalty -1000
-
-exI = \notes \relative c' {
-  \repeat "volta" 2 {
-    \times 2/3 {c8( cis d} \times 2/3 {dis e f} 
-    \times 2/3 {fis g gis} \times 2/3 {a bes b} |
-    \property Voice.TupletBracket \override #'tuplet-number-visibility = ##f
-    \property Voice.TupletBracket \override #'tuplet-bracket-visibility = ##f
-    \times 2/3 {c8 cis d} \times 2/3 {dis e f} 
-    \times 2/3 {fis g gis} \times 2/3 {a bes b} |
-    \times 2/3 {c b bes} \times 2/3 {a aes g}
-    \times 2/3 {fis f e} \times 2/3 {ees d des} |
-    \times 2/3 {c b bes} \times 2/3 {a aes g}
-    \times 2/3 {fis f e} \times 2/3 {ees d )des}
-  }
-  c1 || \linebreak
-}
-
-\score { \context Staff { \notes { \exI } } }
index 33b3b275d6c8c1a934e15378f763aee3b3de475a..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,25 +0,0 @@
-\version "1.3.148"
-
-
-       % docme.
-\score{
-       \context Staff <
-               \context Voice=one\skip 1
-               \context Voice=two\skip 1
-               \context Voice=one \partcombine Voice
-                       \context Thread=one \notes\relative c'' {
-                               c4( c b )a 
-                               a( b c )d
-                       }
-                       \context Thread=two \notes\relative c'' {
-                               a4( c b )a
-                               a( b c )a
-                               
-                       }
-       >
-       \paper{
-               linewidth=140.\mm
-       }
-}
-
-
index 9c2b9f48fe6809a4c3508352db43adcc6be54aa7..7bdc0ec4401250a3ea82b9088accc80d28579713 100644 (file)
@@ -1,8 +1,8 @@
-# input/bugs/Makefile
-
 depth = ../..
 
+EXTRA_DIST_FILES=README
 LOCALSTEPMAKE_TEMPLATES=ly mutopia
+
 include $(depth)/make/stepmake.make 
 
 
diff --git a/input/no-notation/README b/input/no-notation/README
new file mode 100644 (file)
index 0000000..357b673
--- /dev/null
@@ -0,0 +1,7 @@
+These examples make lilypond crash or exit prematurely.
+
+Some are bugs that should be fixed to generate output, andd then
+moved to ../bugs or ../regression.
+
+Some (notably parse*.ly) are just error/warning generation tests
+and should remain here.
\ No newline at end of file
diff --git a/input/no-notation/denneboom.ly b/input/no-notation/denneboom.ly
new file mode 100644 (file)
index 0000000..9b72cf4
--- /dev/null
@@ -0,0 +1,116 @@
+\version "1.3.148"
+\header{
+filename =      "denneboom.ly"
+enteredby =     "jcn"
+copyright =     "public domain"
+}
+%{ file tests silly line shapes %}
+
+\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 
+       \verseOne
+
+
+verseTwo = \notes{
+       \oden
+       \oden
+       \ugloeit
+       \oden
+}
+
+verseTwoStaff = \context Lyrics = two 
+       \verseTwo
+
+
+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 \verseOne
+       \paper{ 
+               \denneboomShape 
+       }
+       \midi{ \tempo 4 = 90 }
+}
diff --git a/input/no-notation/die-staff.ly b/input/no-notation/die-staff.ly
new file mode 100644 (file)
index 0000000..1f3b941
--- /dev/null
@@ -0,0 +1,23 @@
+\version "1.3.148"
+
+\header  {
+texidoc = "a staff should really die, if no one's referencing it."
+}
+\score {
+ {
+    \context Staff = q {
+      \notes { a' b' c' d' }
+    }
+
+    \break
+
+    \context PianoStaff <
+      \context Staff = i {
+        \notes { a' b' c' d' }
+      }
+      \context Staff = ii {
+        \notes { \clef "bass" a b c d }
+      }
+    >
+  }
+}
diff --git a/input/no-notation/pc-direction.ly b/input/no-notation/pc-direction.ly
new file mode 100644 (file)
index 0000000..ead2769
--- /dev/null
@@ -0,0 +1,140 @@
+\version "1.3.148"
+
+% move to regtest once it works?
+
+
+% still not workign ? --hwn.
+
+\header {
+texidoc = "
+On their own staff, staffcombined voices should be stemboth (not up/down)
+while voicecombined threads should get their direction set (up/down)
+
+"
+}
+
+
+End = { \skip 1*8 }
+
+violaI = \notes\relative c'' {
+  c c e4. e8
+}
+violaII = \notes\relative c'' {
+  c4 b a a
+}
+
+
+violoncello = \notes\relative c' {
+   c8 c c c    c8 c c c\break
+   a1
+}
+
+contrabasso = \notes\relative c {
+   a4 a8 a   a8 a a a\break
+   a1
+}
+
+violeStaff = \notes \context Staff = viole <
+ \context Voice=oneViole <
+               \property Staff.instrument = #"Viola"
+               \property Staff.instr = #"Vla."
+
+ \End
+ >
+ \context Voice=twoViole <
+               \property Staff.instrument = #"Viola II"
+               \property Staff.instr = #"Vla. II"
+ \End
+ >
+  \context Voice=oneViole \partcombine Voice
+    \context Thread=oneViole \violaI
+    \context Thread=twoViole \violaII
+>
+
+staffCombinePianoStaffProperties = {
+       \property PianoStaff.devNullThread = #'()
+       \property PianoStaff.soloADue = ##t
+       \property PianoStaff.soloText = #""
+       \property PianoStaff.soloIIText = #""
+       % This is non-conventional, but currently it is
+       % the only way to tell the difference.
+       \property PianoStaff.aDueText = #"\\`a2"
+       \property PianoStaff.splitInterval = #'(1 . 0)
+       \property PianoStaff.changeMoment = #`(,(make-moment 1 1) . ,(make-moment 1 1))
+       \property PianoStaff.noDirection = ##t
+}
+
+
+\score {
+  <
+  \context StaffGroup <
+   \violeStaff
+
+  \context PianoStaff = bassi_group \notes <
+    \staffCombinePianoStaffProperties
+    \context Staff=oneBassi < \clef bass
+               \property Staff.instrument = #'(lines
+                 "Violoncello" "    e" "Contrabasso")
+
+               \property Staff.instr = #"Vc."
+               \End >
+    \context Staff=twoBassi < \clef bass
+               \property Staff.instrument = #"Contrabasso"
+               \property Staff.instr = #"Cb."
+
+    \End >
+  
+    \context Staff=oneBassi \partcombine Staff
+      \context Voice=oneBassi { \violoncello }
+      \context Voice=twoBassi { \contrabasso }
+ >
+>
+ >
+  \paper {
+    % \paperSixteen
+    linewidth = 80 * \staffspace
+    textheight = 200 * \staffspace
+    \translator{
+      \ThreadContext
+      \consists "Rest_engraver"
+      
+      % Set value for engraver at thread level,
+      % to override the default that is set in ScoreContext
+      % for added engraver at Voice level
+      devNullThread = #'()
+    }
+    \translator{
+      \VoiceContext
+      \remove "Rest_engraver"    
+
+      % The staff combine (bassi part) needs a
+      % thread_devnull_engraver here.
+      % Instead of maintaining two separate hierarchies,
+      % we switch add it, but switch it off immideately.
+      % The staff combine parts switch it on.
+      % devNullThread = #'never
+      \consists "Thread_devnull_engraver"
+    }
+    \translator{
+      \HaraKiriStaffContext
+      \consists "Mark_engraver"
+    }
+    \translator {
+      \OrchestralScoreContext
+      skipBars = ##t
+      soloText = #"I."
+      soloIIText = #"II."
+      % By default, turn off the Thread_devnull_engraver
+      % at Voice level
+      devNullThread = #'never
+
+      % Hmm
+      currentBarNumber = #218
+      BarNumber \override #'padding = #3
+      RestCollision \override #'maximum-rest-count = #1
+      marginScriptHorizontalAlignment = #1
+      TimeSignature \override #'style = #'C
+    }
+  }
+}
+
diff --git a/input/no-notation/textcresc.ly b/input/no-notation/textcresc.ly
new file mode 100644 (file)
index 0000000..533877f
--- /dev/null
@@ -0,0 +1,15 @@
+\version "1.3.148"
+\header{
+texidoc="crashes lily"
+}
+
+\score { \notes {
+  \context Voice {
+    \property Voice.crescendoText = "cresc."
+    \property Voice.crescendoSpanner = #'dashed-line
+    c2. r8 c8 \< \break \! c1
+  }
+}
+\paper { linewidth = 5.\cm}
+}
+
diff --git a/input/regression/abe.ly b/input/regression/abe.ly
new file mode 100644 (file)
index 0000000..5da6abc
--- /dev/null
@@ -0,0 +1,23 @@
+\header {
+texidoc="Automatic beamer behaves nicely."
+}
+\version "1.3.148"
+
+
+% Generated by mudela-book.py options are 
+\include "paper16.ly"
+\paper  { linewidth = 390.000000 \pt } 
+
+\score {
+  \notes \relative c'' {
+    a\longa a\breve  
+    a1 a2 a4 a8 a16 a32 a64 a64 
+  }
+  \paper {
+    \translator {
+      \StaffContext
+       \remove "Clef_engraver"
+       \remove "Staff_symbol_engraver"
+    }
+  }
+}
diff --git a/input/regression/auto-beam-tuplets.ly b/input/regression/auto-beam-tuplets.ly
new file mode 100644 (file)
index 0000000..f70c00f
--- /dev/null
@@ -0,0 +1,14 @@
+\version "1.3.148"
+
+\header {
+texidoc = "Tuplet-spanner should not put (visible) brackets on
+beams even if they're auto generated."
+}
+
+\score { \notes \relative c' {
+  \property Voice.tupletSpannerDuration = #(make-moment 1 4)
+  \property Voice.TupletBracket \override #'tuplet-bracket-visibility = #'if-no-beam
+  \times 2/3 {
+       [f8 f f ][f8 f f ] f f f f f f 
+ }
+}}
diff --git a/input/regression/beamed-chord.ly b/input/regression/beamed-chord.ly
new file mode 100644 (file)
index 0000000..f1836d2
--- /dev/null
@@ -0,0 +1,17 @@
+\version "1.3.148"
+
+\header{
+texidoc = "Hairy case for beam, chord, and automatic knees."
+
+%texidoc = "Beam thinks that first two notes should be stem down.  Can
+%be fixed by uncommenting \stemUp"
+}
+
+\score{
+  \notes\relative c'{
+    %\stemUp
+    \clef alto
+    \time 3/4
+    r8 <d ( bes > ) bes' d <e-> g, c, c,> r |
+  }
+}
diff --git a/input/regression/grace-dynamic.ly b/input/regression/grace-dynamic.ly
new file mode 100644 (file)
index 0000000..37d9c89
--- /dev/null
@@ -0,0 +1,8 @@
+\version "1.3.148"
+\header{
+ % ?
+% niet zo onschuldig!  je hebt graces gefixt in 1.5, zie maar eens 1.3.150
+texidoc="Dynamics on grace notes are small and behave nicely (don't crash into to main note)."
+}
+ \score { \notes \context Voice {\grace {c'_\f} d e f g}}
diff --git a/input/regression/grace-staff-length.ly b/input/regression/grace-staff-length.ly
new file mode 100644 (file)
index 0000000..548afba
--- /dev/null
@@ -0,0 +1,20 @@
+\version "1.3.148"
+\header{
+texidoc = "Stripped version of trip.ly.  Staffs should be of correct length."
+}
+\score{
+  \context PianoStaff \notes <
+    \context Staff = treble {
+       r1
+       r1
+       \bar "|."
+    }
+    \context Staff = bass {
+      r1
+      \context Staff {
+       \grace { c16 } c1
+      }
+    }
+  > 
+  \paper { }
+}
diff --git a/input/regression/grace-stems.ly b/input/regression/grace-stems.ly
new file mode 100644 (file)
index 0000000..6b401ff
--- /dev/null
@@ -0,0 +1,24 @@
+\version "1.3.148"
+\header{
+texidoc = "startGraceMusic should no-stem-extend to true;
+the two grace beams should be the same here.
+"
+}
+
+
+\score { 
+  \context Voice \notes\relative c {
+    \grace { 
+      [f8 e8] 
+      \property Voice.Stem \override #'no-stem-extend = ##t
+      [f8 e8] 
+      \property Voice.Stem \revert #'no-stem-extend
+    }
+    a4
+       
+  }
+  \paper {
+    linewidth=-1.0
+  }  
+  \midi { }
+}
diff --git a/input/regression/hinterfleisch-gone.ly b/input/regression/hinterfleisch-gone.ly
new file mode 100644 (file)
index 0000000..e24bbee
--- /dev/null
@@ -0,0 +1,16 @@
+\version "1.3.148"
+\header {
+texidoc="The first and last notes of a measure should be spaced nicely."
+}
+% jij had zoon mooi tight spacing example,
+% kan zo'n harde space ook niet voor en na maatstreep!
+\score {
+       \notes \relative c'' {
+       \time 2/4
+       \property Voice.noAutoBeaming=##t
+       a4 a8
+       a32 a a a
+}
+%%set bit wide
+\paper {linewidth = 100.\mm}
+}
diff --git a/input/regression/markup-stack.ly b/input/regression/markup-stack.ly
new file mode 100644 (file)
index 0000000..cee7ebe
--- /dev/null
@@ -0,0 +1,5 @@
+\version "1.3.148"
+\header {texidoc="Stacking of markup scripts."}
+\paper { linewidth=-1. }
+\score { \notes { c^#`(columns "" (lines "1" (bold "2") "3"))}}
+
diff --git a/input/regression/pc-mmrest.ly b/input/regression/pc-mmrest.ly
new file mode 100644 (file)
index 0000000..6dc4bbf
--- /dev/null
@@ -0,0 +1,59 @@
+\version "1.3.148"
+\header {
+texidoc="Multi measure rests of second voice should not disappear."
+}
+
+
+#(set! point-and-click line-column-location)
+one = \notes\relative c'' {
+
+       f4 \!e-.\f r2|
+       R1|
+       f2\p()es|
+       \property Voice.crescendoText = #'(lines " " "cresc." " ")
+       \property Voice.crescendoSpanner = #'dashed-line
+       d1\<|
+       d1|
+       d2 d2|
+       d2 d2|
+       \!f1\ff  |
+       f1
+}
+
+two = \notes \relative c'' {
+       r4 c r2|
+       R1*6|
+       c1 ~|
+       c1
+}
+       
+\score {
+  \notes <
+    \context Staff = Viole <
+       \context Voice=one \partcombine Voice
+               \context Thread=one \one
+               \context Thread=two \two
+    > ~
+  >
+  \paper {
+    \translator {
+      \ThreadContext
+      \consists "Rest_engraver"
+    }
+    \translator {
+      \VoiceContext
+      \remove "Rest_engraver"
+      \consists Multi_measure_rest_engraver
+      \consists Bar_engraver
+    }
+    \translator {
+      \HaraKiriStaffContext
+      \remove Multi_measure_rest_engraver
+      \remove Bar_engraver
+    }
+    \translator {
+      \OrchestralScoreContext
+      RestCollision \override #'maximum-rest-count = #1
+    }
+  }
+}
\ No newline at end of file
diff --git a/input/regression/pc-switch-slur.ly b/input/regression/pc-switch-slur.ly
new file mode 100644 (file)
index 0000000..39e6ac4
--- /dev/null
@@ -0,0 +1,26 @@
+\version "1.3.148"
+\header{
+texidoc="The partcombiner should not combine two small slurs into a big one."
+}
+
+\score{
+       \context Staff <
+               \context Voice=one\skip 1
+               \context Voice=two\skip 1
+               \context Voice=one \partcombine Voice
+                       \context Thread=one \notes\relative c'' {
+                               c4( c b )a 
+                               a( b c )d
+                       }
+                       \context Thread=two \notes\relative c'' {
+                               a4( c b )a
+                               a( b c )a
+                               
+                       }
+       >
+       \paper{
+               linewidth=140.\mm
+       }
+}
+
+
diff --git a/input/regression/slur-dots.ly b/input/regression/slur-dots.ly
new file mode 100644 (file)
index 0000000..adc652e
--- /dev/null
@@ -0,0 +1,13 @@
+\version "1.3.148"
+\header{
+texidoc="Slurs should not get confused by augmentation dots.  We use a lot
+of dots here, to make problems more visible."
+}
+\score {
+  \notes\relative c'' {
+    c4.............()c
+  }
+  \paper {
+    linewidth = -1.
+  }
+} 
index 67c31e743f3525b0741a774ac1991e2fae8a5599..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,21 +0,0 @@
-
-\header {
-texidoc = "If possible clef changes and the like 
-should be folded under notes of the different staff
-"
-}
-\score { \notes \relative c'' < \context Staff = SA {
-c4 c16 c c c  cis4 cis4
-c4 c4 c4 c
-
-
- }
-   { \key d \major c2
-     \clef bass
-     c,2 c cis2  } >
-
-   \paper { linewidth = -1. } 
- }
-
-
diff --git a/input/regression/spacing-very-tight.ly b/input/regression/spacing-very-tight.ly
new file mode 100644 (file)
index 0000000..b6fdb49
--- /dev/null
@@ -0,0 +1,17 @@
+\version "1.3.148"
+\header {
+ When tightly spaced, hinterfleisch -> 0.
+ Stems may touch the bar lines, opposite stems may touch eachother.
+ We need a mininum of about a note-width/interline space in these
+ situations, so that in tightly spaced music all vertical lines
+ are about equally spaced.
+}
+\score {
+       \notes \relative c''{ 
+               r1 e4 f, e' f,
+       }
+       \paper { 
+               linewidth = 25.0 \mm
+               indent = 0.0\mm
+       }
+}
diff --git a/input/regression/text-spanner.ly b/input/regression/text-spanner.ly
new file mode 100644 (file)
index 0000000..e4b875e
--- /dev/null
@@ -0,0 +1,15 @@
+\version "1.3.148"
+
+% text spanners should not repeat start text when broken
+
+\score {
+  \notes \relative c'' {
+    \property Voice.crescendoText = #"cresc."
+    \property Voice.crescendoSpanner = #'dashed-line
+    c1\< c \break
+    c1 \!c \break
+    }
+  \paper {
+    linewidth = 40*\staffspace
+  }
+}
diff --git a/input/regression/tie-break-accidental.ly b/input/regression/tie-break-accidental.ly
new file mode 100644 (file)
index 0000000..b89660d
--- /dev/null
@@ -0,0 +1,19 @@
+\version "1.3.148"
+
+\header {
+texidoc = "First and second bes (tied across line break)
+should get an accidental, but others should not.
+Only first B should get natural sign."
+}
+
+\score {
+  \notes {
+    bes1 ~ | \break
+    bes2 ~ bes4 ~ bes4 ~ | bes1
+    \key  f\major
+    bes1 ~|bes2 b ~|b ~ b ~|b1
+  }
+  \paper {
+    linewidth = 40*\staffspace
+  }
+}
diff --git a/input/test/beam-stem-test.ly b/input/test/beam-stem-test.ly
new file mode 100644 (file)
index 0000000..639bc51
--- /dev/null
@@ -0,0 +1,16 @@
+\version "1.3.148"
+\header {
+  texidoc="Beam-stem attachment test.  Helper file for ps/dvips problems."
+}
+       
+\score {
+  \context RhythmicStaff \notes {
+    \stemUp [c8 c]
+    \stemDown [c8 c]
+    \stemUp [c8. c16]
+  }
+  \paper {
+    linewidth = -1.0
+    magnification = 64
+  }
+}
\ No newline at end of file
index 1634bdbcf0388f00a6a45dbfc21df9ee92019374..55162760aafbf91b374b52b41536e7905c0b5674 100644 (file)
@@ -30,6 +30,7 @@ LILYPOND = $(depth)/$(builddir)/lily/$(outconfbase)/lilypond
 LILYPOND_BOOK = $(script-dir)/lilypond-book.py
 LILYPOND_BOOK_INCLUDES = -I $(pwd) -I $(outdir) -I$(input-dir) -I $(input-dir)/tricks/ -I $(input-dir)/regression/ -I $(input-dir)/test/ -I $(input-dir)/tutorial/
 LY2DVI = $(script-dir)/ly2dvi.py
+LYS_TO_TELY = $(buildscript-dir)/lys-to-tely.py
 PS_TO_GIFS = $(buildscript-dir)/ps-to-gifs.sh
 PS_TO_PNGS = $(buildscript-dir)/ps-to-pngs.sh
 
@@ -43,6 +44,7 @@ LILYPOND = $(shell $(SHELL) -c 'type -p lilypond')
 LILYPOND_BOOK = $(shell $(SHELL) -c 'type -p lilypond-book')
 LILYPOND_BOOK_INCLUDES = -I. -I.. -I$(outdir)
 LY2DVI = $(shell $(SHELL) -c 'type -p ly2dvi')
+LYS_TO_TELY = $(shell $(SHELL) -c 'type -p lys-to-tely')
 PS_TO_GIFS = $(shell $(SHELL) -c 'type -p ps-to-gifs')
 PS_TO_PNGS = $(shell $(SHELL) -c 'type -p ps-to-pngs')
 
index 4c238e1fb6e75e0387676010adbed166cec9c49b..81cb51cb6d6edd4fa4a65941ec30aed92f301f47 100644 (file)
@@ -5,7 +5,6 @@
 
 $(outdir)/%.latex: %.doc
        rm -f $@
-#      LILYPONDPREFIX=$(LILYPONDPREFIX)/..  $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --dependencies --outdir=$(outdir) $<
        $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --dependencies --outdir=$(outdir) $<
        chmod -w $@
 
@@ -13,15 +12,19 @@ $(outdir)/%.latex: %.doc
 # it is not, for --srcdir builds
 $(outdir)/%.texi: %.tely
        rm -f $@
-#      LILYPONDPREFIX=$(LILYPONDPREFIX)/..  $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --dependencies --outdir=$(outdir) --format=texi $<
        $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --dependencies --outdir=$(outdir) --format=texi $<
        chmod -w $@
 
+$(outdir)/%.texi: $(outdir)/%.tely
+       rm -f $@
+       $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --dependencies --outdir=$(outdir) --format=texi $<
+       rm -f $<
+       chmod -w $@
+
 # nexi: no-lily texi
 # for plain info doco: don't run lily
 $(outdir)/%.nexi: %.tely
        rm -f $@
-#      LILYPONDPREFIX=$(LILYPONDPREFIX)/..  $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --dependencies --outdir=$(outdir) --format=texi --no-lily $<
        $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --dependencies --outdir=$(outdir) --format=texi --no-lily $<
        mv $(@D)/$(*F).texi $@
        chmod -w $@
diff --git a/make/lysdoc-rules.make b/make/lysdoc-rules.make
new file mode 100644 (file)
index 0000000..5c77bbd
--- /dev/null
@@ -0,0 +1,3 @@
+
+$(outdir)/$(NAME).tely: $(LY_FILES)
+       $(PYTHON) ../../buildscripts/lys-to-tely.py --name=$(outdir)/$(NAME) --title="$(TITLE)" $(LY_FILES)
\ No newline at end of file
diff --git a/make/lysdoc-targets.make b/make/lysdoc-targets.make
new file mode 100644 (file)
index 0000000..51d4aac
--- /dev/null
@@ -0,0 +1,2 @@
+
+local-WWW: $(outdir)/$(NAME).html
\ No newline at end of file
diff --git a/make/lysdoc-vars.make b/make/lysdoc-vars.make
new file mode 100644 (file)
index 0000000..b314383
--- /dev/null
@@ -0,0 +1,4 @@
+TITLE=LYs Doc
+LY_FILES = $(wildcard *.ly)
+NAME=$(notdir $(pwd))
+