From 4fa72ffd9d061316baef7d011e5bdb7fde84b3a2 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Fri, 5 Jul 2002 12:22:04 +0000 Subject: [PATCH] (RhythmicStaffContext): stems up by default. --- ChangeLog | 2 ++ Documentation/regression-test.tely | 4 +++- input/bugs/mark-number.ly | 5 +++++ input/regression/generic-property-override.ly | 18 ------------------ input/regression/rhythmic-staff.ly | 11 +++++++++++ ly/engraver-init.ly | 2 +- 6 files changed, 22 insertions(+), 20 deletions(-) create mode 100644 input/bugs/mark-number.ly delete mode 100644 input/regression/generic-property-override.ly create mode 100644 input/regression/rhythmic-staff.ly diff --git a/ChangeLog b/ChangeLog index 518fdcf08e..d2b1dbad2f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2002-07-05 Han-Wen + * ly/engraver-init.ly (RhythmicStaffContext): stems up by default. + * lily-guile.hh: remove guile 1.3 compatibility, add 1.4 compatibility functions. diff --git a/Documentation/regression-test.tely b/Documentation/regression-test.tely index 694fca3513..4b54732768 100644 --- a/Documentation/regression-test.tely +++ b/Documentation/regression-test.tely @@ -228,11 +228,13 @@ Grace note do weird things with timing. Fragile. @lilypondfile[printfilename]{tuplet-nest.ly} -@section Property details +@section Miscellaneous @lilypondfile[printfilename]{generic-property-override.ly} +@lilypondfile[printfilename]{rhythmic-staff.ly} + @section Repeats diff --git a/input/bugs/mark-number.ly b/input/bugs/mark-number.ly new file mode 100644 index 0000000000..b34c3d831b --- /dev/null +++ b/input/bugs/mark-number.ly @@ -0,0 +1,5 @@ +% \mark NUMBER should work. +\score { + \notes { c1 \mark 12 c1 } + \paper { linewidth = -1. } + } diff --git a/input/regression/generic-property-override.ly b/input/regression/generic-property-override.ly deleted file mode 100644 index 60e533cd0b..0000000000 --- a/input/regression/generic-property-override.ly +++ /dev/null @@ -1,18 +0,0 @@ -\version "1.3.146" -\header{ -texidoc=" -More specific settings take precendence over less specific settings. The -second slur has slurDirection set to down, overriding the stemup setting. -" -} - - -\score { - \notes \relative c'' \context Voice { - \stemUp - c'4 () c4 - \slurDown - c4 ( )c4 - } - \paper { linewidth = -1.0 } -} diff --git a/input/regression/rhythmic-staff.ly b/input/regression/rhythmic-staff.ly new file mode 100644 index 0000000000..9b9b6e1162 --- /dev/null +++ b/input/regression/rhythmic-staff.ly @@ -0,0 +1,11 @@ +\header +{ + + texidoc = "In rhythmic staffs, stems should go up, and bar lines have the size for a 5 line staff" +} + +\score { \notes \context RhythmicStaff + { + r4 c4. c8 r8 c8 | c2 r2 + } +} diff --git a/ly/engraver-init.ly b/ly/engraver-init.ly index e12938e430..44828b48f5 100644 --- a/ly/engraver-init.ly +++ b/ly/engraver-init.ly @@ -106,7 +106,7 @@ RhythmicStaffContext=\translator{ VoltaBracket \override #'minimum-space = #15 % urg, in \pt VoltaBracket \override #'padding = #5 % urg, in \pt StaffSymbol \override #'line-count = #1 - + Stem \override #'neutral-direction = #1 % \consists "Repeat_engraver" \consists "Dot_column_engraver" \consists "Volta_engraver" -- 2.39.5