lilypond-user
[Top][All Lists]
Advanced

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

Re: A problem with the svg backend


From: Richard Shann
Subject: Re: A problem with the svg backend
Date: Mon, 07 Dec 2015 15:50:58 +0000

perfect - thanks!

Richard

On Mon, 2015-12-07 at 16:34 +0100, Simon Albrecht wrote:
> On 07.12.2015 16:15, Richard Shann wrote:
> > If I use markup and include a \with-url that contains embedded quotes
> > the svg generated is invalid. Here is a simple example.
> >
> >
> > \version "2.19.25"
> >
> > \score {
> >            <<
> >    {   c d  -\markup { \with-url  #'"\"some quotes\"" hello} e f
> >    }
> >            >>
> >         }
> >
> > this is a nonsensical example, the real use-case involves links that
> > pass scheme code back.
> >
> > For my purposes it would be good enough just to disable the whole
> > construct, I've tried defining with-url at the top of the file via
> >
> > with-url = {}
> >
> > with-url = \displayScheme
> >
> > with-url = \void
> >
> > but none of these prevent the trouble. Any suggestions?
> 
> #(define-markup-command (with-url layout props url arg)
>     (string? markup?)
>     (display url)
>     (interpret-markup layout props arg))
> 
> HTH, Simon





reply via email to

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