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: Simon Albrecht
Subject: Re: A problem with the svg backend
Date: Mon, 7 Dec 2015 16:34:02 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

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]