Re: xpdf broken on ubuntu
Hi Mark, Am Sonntag, den 07. April 2013 um 16:48:14 Uhr (+0100) schrieb Mark Knoop: https://github.com/markk/textedit-ly Thanks that was really helpful (especially the apparmor part! Ubuntu seems to gradually digress into some bugridden version of Windows...). I adapted everything to work with emacs. As a note for emacs users: In order to mimic the server-mode of xpdf with evince, I wrote a small script which starts evince in the background and referred to this script in the LilyPond Pdf Command setting of the LilyPond group. Re-evaluation of a source file now doesn't kill evince and will automatically update the pdf display after rendering. It's even better than xpdf as it stays on the part of the score upon redisplay. Let me know if someone needs advice. -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: xpdf broken on ubuntu
At 20:36 on 07 Apr 2013, Orm Finnendahl wrote: Hi Mark, Am Sonntag, den 07. April 2013 um 16:48:14 Uhr (+0100) schrieb Mark Knoop: https://github.com/markk/textedit-ly Thanks that was really helpful (especially the apparmor part! Ubuntu seems to gradually digress into some bugridden version of Windows...). I adapted everything to work with emacs. As a note for emacs users: In order to mimic the server-mode of xpdf with evince, I wrote a small script which starts evince in the background and referred to this script in the LilyPond Pdf Command setting of the LilyPond group. Re-evaluation of a source file now doesn't kill evince and will automatically update the pdf display after rendering. It's even better than xpdf as it stays on the part of the score upon redisplay. Let me know if someone needs advice. If you can send me that script and documentation I'll include it in the git repo. Cheers, M -- Mark Knoop ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: xpdf broken on ubuntu
Am Montag, den 08. April 2013 um 08:47:45 Uhr (+0100) schrieb Mark Knoop: If you can send me that script and documentation I'll include it in the git repo. ok, here you go: Configuring evince as the default pdf viewer in emacs with lilypond-mode: 1. Put mimeapps.list and textedit.dektop into $HOME/.local/share/applications as described above. 2. Open textedit.desktop. Change the line Exec=textedit.py %u into Exec=lilypond-invoke-editor %u 3. Copy the file lilypond-view-pdf somewhere in your Path and make it executable. Example: $ cd /PATH/OF/YOUR/DOWNLOAD/DIRECTORY/ $ sudo mv lilypond-view-pdf /usr/local/bin/ $ sudo chmod a+x /usr/local/bin/lilypond-view-pdf 4. Open emacs. - Open a lilypond source file to automatically load lilypond-mode. - Issue the command M-x customize-group - On the prompt enter LilyPond and press return. - On the LilyPond customization group page scroll down to the entry Lilypond Pdf Command. - Enter lilypond-view-pdf in the edit field, click on the State button below Lilypond Pdf Command and select Set for Current Session and Save for Future Sessions. #!/bin/sh evince $1 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: xpdf broken on ubuntu
At 10:50 on 08 Apr 2013, Orm Finnendahl wrote: Am Montag, den 08. April 2013 um 08:47:45 Uhr (+0100) schrieb Mark Knoop: If you can send me that script and documentation I'll include it in the git repo. ok, here you go: Updated now at https://github.com/markk/textedit-ly -- Mark Knoop ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
xpdf broken on ubuntu
Hi, are there any recommendations for a stand-alone lilypond point-and-click capable pdf viewer for current ubuntu distros? xdf seems to be deprecated (see discussion: https://bugs.launchpad.net/ubuntu/+source/xpdf/+bug/943195). Are there any emacs-cooperative alternatives (without having to install older versions or recompile patched sources)? -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: xpdf broken on ubuntu
Orm Finnendahl o.finnend...@inm.mh-freiburg.de writes: Hi, are there any recommendations for a stand-alone lilypond point-and-click capable pdf viewer for current ubuntu distros? xdf seems to be deprecated (see discussion: https://bugs.launchpad.net/ubuntu/+source/xpdf/+bug/943195). Are there any emacs-cooperative alternatives (without having to install older versions or recompile patched sources)? Find, get and install xpdf 3.02-21. After checking that it works fine, set the hold flag on the package so that it will not get upgraded (also known as completely broken) any more. Something like echo xpdf hold|sudo dpkg --set-selections Yes, this is stupid. Stupid, stupid, stupid. I think I also saw some recipe for getting evince to work with pointclick when doing a web search, but it involved meddling with the gconf configuration of either evince or GNOME's URI handlers. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: xpdf broken on ubuntu
Am Sonntag, den 07. April 2013 um 09:43:30 Uhr (+0200) schrieb David Kastrup: I think I also saw some recipe for getting evince to work with pointclick when doing a web search, but it involved meddling with the gconf configuration of either evince or GNOME's URI handlers. That could be a way to go. My mail primarily intended to discuss alternatives before the xpdf route is completely dead. Can you send those links? Maybe I can help getting that to work and provide some documentation. -- Orm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: xpdf broken on ubuntu
Orm Finnendahl o.finnend...@inm.mh-freiburg.de writes: Am Sonntag, den 07. April 2013 um 09:43:30 Uhr (+0200) schrieb David Kastrup: I think I also saw some recipe for getting evince to work with pointclick when doing a web search, but it involved meddling with the gconf configuration of either evince or GNOME's URI handlers. That could be a way to go. My mail primarily intended to discuss alternatives before the xpdf route is completely dead. Can you send those links? Maybe I can help getting that to work and provide some documentation. Just search on Google for evince textedit and dig through the results. I think there are _some_ useful results, pretty much all of them in the context of LilyPond, some on our mailing lists, some on that of Evince itself. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: xpdf broken on ubuntu
I have used Okular for quite some time, at least 2 years now, as the necessary point click plugin for Frescobaldi with Lilypond. It works fine on Ubuntu 12.10 and has since the last long term version. regards, Shane On Sun, Apr 7, 2013 at 4:49 AM, David Kastrup d...@gnu.org wrote: Orm Finnendahl o.finnend...@inm.mh-freiburg.de writes: Am Sonntag, den 07. April 2013 um 09:43:30 Uhr (+0200) schrieb David Kastrup: I think I also saw some recipe for getting evince to work with pointclick when doing a web search, but it involved meddling with the gconf configuration of either evince or GNOME's URI handlers. That could be a way to go. My mail primarily intended to discuss alternatives before the xpdf route is completely dead. Can you send those links? Maybe I can help getting that to work and provide some documentation. Just search on Google for evince textedit and dig through the results. I think there are _some_ useful results, pretty much all of them in the context of LilyPond, some on our mailing lists, some on that of Evince itself. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: xpdf broken on ubuntu
At 10:40 on 07 Apr 2013, Orm Finnendahl wrote: Am Sonntag, den 07. April 2013 um 09:43:30 Uhr (+0200) schrieb David Kastrup: I think I also saw some recipe for getting evince to work with pointclick when doing a web search, but it involved meddling with the gconf configuration of either evince or GNOME's URI handlers. That could be a way to go. My mail primarily intended to discuss alternatives before the xpdf route is completely dead. Can you send those links? Maybe I can help getting that to work and provide some documentation. https://github.com/markk/textedit-ly Cheers, M -- Mark Knoop ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: xpdf broken on ubuntu
2013/4/7 Mark Knoop m...@opus11.net https://github.com/markk/textedit-ly nice! it works with gvim how can I set it for Gedit? I've tried removing --remote in the options, but it's not enough thanks Federico ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: xpdf broken on ubuntu
2013/4/7 Mark Knoop m...@opus11.net man gedit: SYNOPSIS gedit [OPTION...] [FILE...] [+LINE[:COLUMN]] which suggests you will need editor = gedit command = {file} +{line}:{start} but I've not tested this. yes, it works ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user