bug-lilypond
[Top][All Lists]
Advanced

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

Spaces in filenames break point-and-click with Mac OS X Preview


From: Ed Baskerville
Subject: Spaces in filenames break point-and-click with Mac OS X Preview
Date: Wed, 24 Aug 2005 00:51:46 -0700

This may have already been reported, but I just noticed this while redoing some LilyPad code, and I couldn't find any previous mention of the problem, so here goes...

Seen on Mac OS X 10.4.2, LilyPond 2.6.0 through 2.7.7.

If there are any spaces in your filename, point-and-click does not work in Preview. The culprit is the URIs, which are not percent- escaped properly. If you open up the PDF in a text editor, you'll see lines like:

/URI(textedit:///Users/ebaskerv/Documents/Scores/Excerpts/Beethoven 5 - II - Preview.ly:9:4:11)>>

Changing them to, e.g.,

/URI(textedit:///Users/ebaskerv/Documents/Scores/Excerpts/Beethoven% 205%20-%20II%20-%20Preview.ly:9:4:11)>>

makes things work again.

(Side note: I'll have LilyPad fix output PDFs before loading them so that things work with old versions of LilyPond.)

Does this work properly on other systems? Should I file a bug asking Apple to support non-percent-escaped URIs, or are they following the standard?

--Ed




reply via email to

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