lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unexpected TabStaff creation


From: Abraham Lee
Subject: Re: Unexpected TabStaff creation
Date: Mon, 29 Sep 2014 20:55:27 -0600

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 <address@hidden> wrote:

2014-09-30 0:49 GMT+02:00 Abraham Lee <address@hidden>:
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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]