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

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to