Sorry, I forgot to add "()" after "(parser location)". So, it should be like
this:
improvisationOn = #(define-scheme-function (parser locations) ()
#{
(Insert overrides)
#}
)
However, it looks like you are doing the right thing even without this, since
you are following the same syntax as the original code. I'm not sure if this
will buy you anything new, but who knows. Good luck!
Regards,
Abraham
Sent from my iPhone
> On Sep 29, 2014, at 5:18 PM, Peter Crighton <[email protected]> wrote:
>
> 2014-09-30 0:49 GMT+02:00 Abraham Lee <[email protected]>:
>> If it's something you need to be able to call on-demand, then put it in a
>> scheme function (you might need another one to turn it off):
>>
>> improvisationOn = #(define-scheme-function (parser location)
>> #{
>> (insert overrides here)
>> #})
>
>
> Thanks, but I’m only getting the error
> GUILE signaled an error for the expression beginning here
> improvisationOn = #
> (define-scheme-function (parser location)
> Missing expression in (lambda (parser location)).
> when using:
>
> improvisationOn = #(define-scheme-function (parser location)
> #{
> \set squashedPosition = #0
> \override NoteHead.style = #'slash
> \override Accidental.stencil = ##f
> \override AccidentalCautionary.stencil = ##f
> \override TabStaff.Stem.stencil = ##f
> \override TabStaff.Flag.stencil = ##f
> \override TabStaff.Beam.stencil = ##f
> \override TabStaff.Dots.stencil = ##f
> #})
>
> Did I miss anything? Sorry, I have no real experience with Scheme.
>
> --
> Peter Crighton | Musician & Music Engraver based in Mainz, Germany
> http://www.petercrighton.de
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user