[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Alternative to Frescobaldi
From: |
J Martin Rushton |
Subject: |
Re: Alternative to Frescobaldi |
Date: |
Sat, 03 Sep 2022 08:49:11 +0100 |
On Fri, 2022-09-02 at 19:53 -0500, David Wright wrote:
> On Fri 02 Sep 2022 at 22:46:01 (+0100), J Martin Rushton wrote:
> > On Fri, 2022-09-02 at 16:17 -0500, David Wright wrote:
> > > On Fri 02 Sep 2022 at 21:43:25 (+0100), J Martin Rushton wrote:
> > > > I've just spent another couple of hours clearing out previous
> > > > attempts
> > > > to get Frescobaldi running and attempting to sort out its
> > > > dependency
> > > > hell.
> > > >
> > > > Is there any alternative to Frescobaldi?
> > >
> > > An editor (emacs) + LilyPond + PDF viewer (xpdf).
> > > (My choices in parentheses.)
> > >
> > > > I'm running AlmaLinux 8.6 if that helps.
> > >
> > > Not a great deal; does it mean that F~ isn't part of the
> > > distribution?
> > >
> > My preference is for vi, but yes, that's what I've been using for
> > the
> > last couple of years since F~ stopped working. What I miss though
> > is
> > the back link from the score to the source, and the MIDI playback.
>
> 0. Which PDF viewer, and which version of LP?
Evince
$ lilypond -v
GNU LilyPond 2.22.1
...
>
> 1. Does the PDF have the textedit URLs?
> $ grep -a textedit foo.pdf
> /URI(textedit:///tmp/restpos.ly:4:16:17)>>
> … … …
Yes
> 2. Does the PDF viewer see them? Look for cursor to change as you
> move over a notehead.
Yes
> 3. Run the PDF viewer from the commandline. Click on an active
> notehead. What appears on the console? Anything like:
> lilypond-invoke-editor (GNU LilyPond) 2.22.0
"textedit://<path...>/BlowAwayTheMorningDew.ly:35:16:17"
> 4. Is lilypond-invoke-editor defined?
> $ which lilypond-invoke-editor
> /usr/bin/lilypond-invoke-editor
$ command -v lilypond
/opt/bin/lilypond
$ ls -l /opt/bin/lilypond
-rwxr-xr-x 1 root root 112 Feb 13 2022 /opt/bin/lilypond
$ ls -l /opt/bin/lilypond-invoke-editor
lrwxrwxrwx 1 root root 31 Feb 13 2022 /opt/bin/lilypond-invoke-editor
-> /opt/bin/lilypond-wrapper.guile
> 5. Can lilypond-invoke-editor open a file in an editor,
> preferably the one you want?
> $ lilypond-invoke-editor textedit:///tmp/foo.txt:2:4:6
> /tmp/foo.txt is the full path to any old text file with
> more than a couple of lines in it. The cursor should land
> on the second line, four chars along.
$ lilypond-invoke-editor
textedit:///<path...>/BlowAwayTheMorningDew.ly:2:4:6
lilypond-invoke-editor (GNU LilyPond) 2.22.1
sh: emacsclient: command not found
sh: emacs: command not found
> How many of those steps work?
>
> And at the other end of the process, are you starting vi as
> a server, with something like:
>
> $ gvim
> $ vim --servername GVIM
> $ vi --servername gvim
>
> (letter-case unimportant), else you might see:
> E247: no registered server named "GVIM": Send failed.
$ vi BlowAwayTheMorningDew.ly
FYI
$ command -v vi
/usr/bin/vi
bash-4.4$ ls -l /usr/bin/vi
-rwxr-xr-x 1 root root 1180368 Aug 2 17:57 /usr/bin/vi
> Cheers,
> David.
--
J Martin Rushton MBCS
Re: Alternative to Frescobaldi, Andrew Bernard, 2022/09/02
Re: Alternative to Frescobaldi, Davide Liessi, 2022/09/03
Re: Alternative to Frescobaldi, Jean Abou Samra, 2022/09/03
Re: Alternative to Frescobaldi, Andrew Bernard, 2022/09/03