[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \mark positions after \break
From: |
Andras Cser |
Subject: |
Re: \mark positions after \break |
Date: |
Mon, 16 Oct 2000 12:49:19 -0700 (PDT) |
Han-Wen,
I am getting this error after applying the patch,
recompile, reinstall:
address@hidden lily]$ ly2dvi test2
ly2dvi (GNU LilyPond) 1.3.96
executing: lilypond test2 2>&1
GNU LilyPond 1.3.96.
Now processing: `test2.ly'
Parsing...
test2.ly:53:51: error: parse error, expecting `SCM_T' or
`SCM_IDENTIFIER':
\property Score.RehearsalMark \push
#'padding = 4
ly2dvi: LilyPond failed: lilypond test2 2>&1
address@hidden lily]$
--- Han-Wen Nienhuys <address@hidden> wrote:
> address@hidden writes:
> > Maybe a newbie question as welll.
> > Any ideas how to hack this to look OK? See comments in
> the
> > .ly file.
>
> Try this patch to put the mark above the chords. You can
> get testmark1
> right by doing
>
> \property Score.RehearsalMark \push #'padding =
> <some value>
>
>
> diff -urN ../lilypond-1.3.96/lily/mark-engraver.cc
> ./lily/mark-engraver.cc
> --- ../lilypond-1.3.96/lily/mark-engraver.cc Sun Oct
> 8 16:26:54 2000
> +++ ./lily/mark-engraver.cc Mon Oct 16 18:16:11 2000
> @@ -67,7 +67,8 @@
> Mark_engraver::acknowledge_element (Score_element_info
> inf)
> {
> Score_element * s = inf.elem_l_;
> - if (Staff_symbol::has_interface (s))
> + if (Staff_symbol::has_interface (s)
> + || to_boolean (s->get_elt_property
> ("invisible-staff")))
> {
> SCM sts = get_property ("staffsFound");
> SCM thisstaff = inf.elem_l_->self_scm ();
>
>
> diff -urN ../lilypond-1.3.96/ly/engraver.ly
> ./ly/engraver.ly
> --- ../lilypond-1.3.96/ly/engraver.ly Fri Oct 13
> 18:38:48 2000
> +++ ./ly/engraver.ly Mon Oct 16 18:27:17 2000
> @@ -280,9 +280,12 @@
> \name ChordNames;
>
> Generic_property_list =
> #generic-chord-staff-properties
> +
> \consists "Property_engraver";
> \consists "Output_property_engraver";
> \accepts "ChordNameVoice";
> +
> + VerticalAxisGroup \push #'invisible-staff = ##t
> \consistsend "Axis_group_engraver";
> }
>
>
> --
>
> Han-Wen Nienhuys | address@hidden |
> http://www.cs.uu.nl/~hanwen/
>
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/