Il giorno dom 8 lug 2018 alle 0:47, Federico Bruni <f...@inventati.org>
ha scritto:
Il giorno sab 7 lug 2018 alle 19:10, Kieren MacMillan
<kieren_macmil...@sympatico.ca> ha scritto:
Hi Federico,
So you are not using point-and-click from Skim to Frescobaldi,
right? (it's the original subject of this discussion)
Ah! No… I use Skim for previewing, zooming in/out, pagination
checks, etc. — it’s so much better than Frescobaldi’s
previewer — and then use Frescobaldi’s previewer for
point-and-click navigation. That combo works great for me, though I
suppose I'd be even happier if either Skim linked back to the
Frescobaldi code, or Frescobaldi’s PDF viewer were better.
I've investigated a bit.
It does not depend on Skim:
https://sourceforge.net/p/skim-app/mailman/message/32211547/
This app:
http://www.rubicode.com/Software/RCDefaultApp/
allows to associate a command to textedit URLs.
I may assign lilypond-invoke-editor, but it doesn't work in Mac. A
GUB issue¹, so I'm not optimist about a possible solution.
¹ Problems with lilypond-invoke-editor in Mac:
1. Wrong shebang:
$ head
/Applications/LilyPond.app/Contents/Resources/bin//lilypond-invoke-editor
#!/home/gub/NewGub/gub/target/tools/root/usr/bin/guile -s
!#
;;;; lilypond-invoke-editor.scm -- Invoke an editor in
file:line:column mode
The shebang should be replaced with the full path to the real Mac
installation, that is:
#!/Applications/LilyPond.App/Contents/Resources/bin/guile -s
!#
After that (and fixing the paths, see below), I can run
lilypond-invoke-editor in the terminal, but only without the textedit
URI.
2. GUILE_LOAD_PATH must be manually set in ~/.profile
3. libguile error (I haven't solved this)
$ lilypond-invoke-editor
ERROR: In procedure dynamic-link:
ERROR: file: "libguile-srfi-srfi-1-v-3", message: "file not found"
I solved this issue by working on some variables:
$ cat .profile
export
PATH="$PATH:/Applications/LilyPond.app/Contents/Resources/bin:/Applications/Atom.app/Contents/MacOS"
export
GUILE_LOAD_PATH="/Applications/LilyPond.app/Contents/Resources/share/guile/1.8:/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/scm"
export
LD_LIBRARY_PATH="/Applications/LilyPond.app/Contents/Resources/lib:$LD_LIBRARY_PATH"
export LYEDITOR="atom %(file)s:%(line)s:%(column)s"
Now I'm stuck on the same error I get also on Windows:
ERROR: no code for module (scm editor)
editor.scm is in the directory added to the GUILE_LOAD_PATH environment
variable.
Why it cannot find it?
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user