latest version breaks some functions

2014-07-05 Thread michael webster
Hey all - I upgraded from 2.14 to 2.18 and this function which had used to work 
fine now throws an error

metMod = #(define-music-function (parser location valueI valueII) (string? 
string?)
#{ 
\once \override Score.RehearsalMark #'outside-staff-priority = #1000
  \mark \markup {
 \concat {
\smaller \general-align #Y #DOWN \note #$valueI #1
 = 
\smaller \general-align #Y #DOWN \note #$valueII #1  
  } 
  }  
#}
  )

the error is somthing like  GUILE expects input type string instead of input 
type unassigned  at  #$valueI in line below

\smaller \general-align #Y #DOWN \note #$valueI #1

any idea what's broken??

thanks in advance - cheers Michael

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: latest version breaks some functions

2014-07-05 Thread Federico Bruni
2014-07-05 0:30 GMT+02:00 michael webster semiqua...@mac.com:

 Hey all - I upgraded from 2.14 to 2.18 and this function which had used to
 work fine now throws an error

 metMod = #(define-music-function (parser location valueI valueII) (string?
 string?)
 #{
 \once \override Score.RehearsalMark #'outside-staff-priority = #1000
   \mark \markup {
  \concat {
 \smaller \general-align #Y #DOWN \note #$valueI #1
  = 
 \smaller \general-align #Y #DOWN \note #$valueII #1
   }
   }
 #}
   )

 the error is somthing like  GUILE expects input type string instead of
 input type unassigned  at  #$valueI in line below

 \smaller \general-align #Y #DOWN \note #$valueI #1

 any idea what's broken??

 thanks in advance - cheers Michael


you should use \version 2.14.0 and run convert-ly on it
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: latest version breaks some functions

2014-07-05 Thread Pierre Perol-Schneider
Hi,

2014-07-05 0:30 GMT+02:00 michael webster semiqua...@mac.com:

I upgraded from 2.14 to 2.18 and this function which had used to work fine
 now throws an error


Try :

\version 2.18.2

metMod = #(define-music-function (parser location valueI valueII) (string?
string?)
  #{
\tweak outside-staff-priority #1000
% optional:
%\tweak self-alignment-X #LEFT
\mark \markup {
  \concat {
\smaller \general-align #Y #DOWN \note #valueI #1
 = 
\smaller \general-align #Y #DOWN \note #valueII #1
  }
}
  #})

{
  \metMod 16. 8
  c'1
}

Pierre
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user