I am using the following in a shell script to start lilypond

export LYEDITOR='bbedit +%(line)s %(file)s'
echo $LYEDITOR
cd '/Users/Shared/MainMusicFolder/lilypond files' 
/Applications/LilyPond.app/Contents/Resources/bin/lilypond --verbose -fpdf
 '/Users/Shared/MainMusicFolder/lilypond files/jinglebells.ly'

In the resulting pdf point and click works incorrectly.
When I click a note it brings up the
GUI in lilypond 
(which we all know does not work on 10.5 intel).
It appears that LYEDITOR is being ignored.

When I examine the link on a test note in the pdf it is:

textedit:///Users/Shared/MainMusicFolder/lilypond%20files/jinglebells.ly:43:8:15

The documentation for 2.12.2 states:

The environment variable LYEDITOR is used to override this.
It contains the command line to start the
editor, where %(file)s, %(column)s, %(line)s is replaced
with the file, column and line respectively.

This does not seem to be happening.  I am happy to troubleshoot
further if someone can provide some
guidance.  I tested this with the fink version 2.12.1 and
a fresh download of 2.12.2 (intel) from the
websites (after verifying the removal of the fink version.)

I also tried changing the url mapping scheme
so that .ly files are always opened by bbedit and it did not
help.



_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to