2014-09-30 0:49 GMT+02:00 Abraham Lee <tisimst.lilyp...@gmail.com>:

> 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
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to