bug-lilypond
[Top][All Lists]
Advanced

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

Re: Invalid SVG generation for filenames that have quotes embedded.


From: Richard Shann
Subject: Re: Invalid SVG generation for filenames that have quotes embedded.
Date: Sun, 14 Feb 2016 15:05:20 +0000

On Sun, 2016-02-14 at 14:37 +0100, Simon Albrecht wrote:
> Hello Richard,
> 
> On 13.02.2016 17:15, Richard Shann wrote:
> > I've been able to test it but, unfortunately only from a fairly
> > complicated bit of code
> 
> That means you can’t give a minimal example?

That is what I meant, but I was wrong. By a convoluted twist of fate, it
turns out that the only reason I was getting the svg output ok before
was that Matthieu's other script was discarding the links. So the newly
released Denemo 2.0.2 has a playback view showing LilyPond's SVG output,
but only because the \with-url clauses have been dropped before output
was generated.

So the bug is actually visible in 2.18.2 with the simplest use of
\with-url where the url includes quotes:

\version "2.18.2"

\header {
     title = \markup \with-url #'"scheme:using \"quotes\" inside"  {title}
        }

\layout {
}

\score { 
    c''
}

where the SVG is generated via:

/usr/bin/lilypond -dbackend=svg -dno-point-and-click MinimalWithUrlSVGbug.ly

I've tested this on 2.18.2 and on 2.19.25 and then with the patch
applied. The SVG is broken without the patch, inkscape doesn't complain
but loads incorrectly, Frescobaldi and Denemo can't parse the xml and
give up.

Thank you for pushing me that bit further!

Richard





reply via email to

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