bug-lilypond
[Top][All Lists]
Advanced

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

Re: point and click references 0:0:0 with make-dynamic-script in definit


From: Richard Shann
Subject: Re: point and click references 0:0:0 with make-dynamic-script in definition
Date: Tue, 25 Dec 2012 09:05:25 +0000

On Tue, 2012-12-25 at 08:36 +0000, Colin Hall wrote:
> On Fri, Dec 21, 2012 at 10:14:16PM +0000, Richard Shann wrote:
> > This snippet (from the 2.16 manual
> > http://lilypond.org/doc/v2.16/Documentation/notation/expressive-marks-attached-to-notes#index-DynamicText
> >  )
> > 
> > moltoF = #(make-dynamic-script
> >             (markup #:normal-text "molto"
> >                     #:dynamic "f"))
> > \relative c' {
> >   <d e>16 <d e>
> >   <d e>2..\moltoF
> > }
> > 
> > gives a bad textedit:/// link in the pdf output to 0:0:0
> > 
> > I came across this via my own example and discovered that putting the
> > definition in line shows no bug, so I sent it to the user list thinking
> > my syntax was buggy, then I found the above snippet, so I guess this is
> > a bug.
> 
> David Kastrup and I have tried to reproduce your bug report and we
> don't see a problem.
I have just re-tried and cannot reproduce it either, (sorry), what David
Kastrup has pointed out (in the user ml) is that putting the #(....)
stuff "inline" as I described does not yield valid LilyPond syntax, that
is a definition like moltoF is in no way equivalent to a macro, you
cannot simply replace all \moltoF by the appropriate amount of the text
following the = sign in the definition.
He also pointed out that replacing the # by $ did allow this construct
to be inserted directly

\relative c' {
   <d e>16  <d e>
   <d e>2..$(make-dynamic-script (markup #:normal-text "molto" #:dynamic
"f")) 
 }

works fine. But I have been completely unable to track down a reference
to this $ notation in the docs :(

Thank you for looking at this and once again apologies for the mistaken
report.

Richard Shann





reply via email to

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