Re: Aw: Re: PDF Links in Windows

2015-10-05 Thread Blöchl Bernhard

Am 05.10.2015 08:27, schrieb msk...@ansuz.sooke.bc.ca:

On Mon, 5 Oct 2015, Blöchl Bernhard wrote:

> Does anyone know if it would be possible to make the links in the regular
> PDF reader go to Frescobaldi?

What is a regular PDF reader? Is it a working one? Which one is 
irregular?


Adobe Acrobat Reader.


OK, if you are convinced, then use Acrobat Reader. Where is the 
question?





> me.  LilyPad is O.K. most of the time too, but it can't handle Unicode! :O



Lilypond DOES unicode:


LilyPad.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Aw: Re: PDF Links in Windows

2015-10-05 Thread Simon Albrecht

On 05.10.2015 08:30, Blöchl Bernhard wrote:

Am 05.10.2015 08:27, schrieb msk...@ansuz.sooke.bc.ca:

On Mon, 5 Oct 2015, Blöchl Bernhard wrote:
> Does anyone know if it would be possible to make the links in the 
regular

> PDF reader go to Frescobaldi?

What is a regular PDF reader? Is it a working one? Which one is 
irregular?


Adobe Acrobat Reader.


OK, if you are convinced, then use Acrobat Reader. Where is the question?


Please, Bernhard, do read the mails (with context) before replying. The 
question is about the textedit:// links which LilyPond (with 
point-and-click enabled) inserts into the PDF output as pointers to the 
source code.


Yours, Simon

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Aw: Re: PDF Links in Windows

2015-10-05 Thread Robert Schmaus
I'm not sure if this what you're looking for, but here goes: I'm using 
frescobaldi on a Mac, and of course it does have a panel where you see the 
engraved score. Frescobaldi does not, however support printing the pdf itself - 
instead it asks if I'd like to open the pdf in the default pdf viewer and print 
it from there. So the print shortcut just opens the pdf in another program. 

I don't know if the windows version reacts the same way, but if you're looking 
for a way to send the pdf to acrobat, you could try the print shortcut and see 
if it opens up in acrobat.

Best, Robert 

__

Truth does not change according to our ability to stomach it.
-- Flannery O'Connor

> On 5 Oct 2015, at 03:57, Thomas WillNot <1137...@acadiau.ca> wrote:
> 
> Hello comrades,
> 
> Thanks for all of your replies!
> Does anyone know if it would be possible to make the links in the regular
> PDF reader go to Frescobaldi?
> I have discovered Frescobaldi (after years of hacking away at LilyPond the
> hard way!) and quite like it!  But I like to use Acrobat Reader for a
> maximized view of my score.
> If it can't be done with Frescobaldi, Notepad or MS-DOS Edit also work for
> me.  LilyPad is O.K. most of the time too, but it can't handle Unicode! :O
> I know how to register a protocol, and those links will help, but I wonder
> which method of scripting glue might work for this.  I fear that anything
> beyond simple batch scripting would be beyond my abilities to figure out!
> 
> Thanks again,
>   Thomas
> 
> 
> ___
> 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: Aw: Re: PDF Links in Windows

2015-10-05 Thread Blöchl Bernhard

Am 05.10.2015 03:57, schrieb Thomas WillNot:

Hello comrades,

Thanks for all of your replies!
Does anyone know if it would be possible to make the links in the 
regular

PDF reader go to Frescobaldi?


What is a regular PDF reader? Is it a working one? Which one is 
irregular?


I have discovered Frescobaldi (after years of hacking away at LilyPond 
the

hard way!) and quite like it!  But I like to use Acrobat Reader for a
maximized view of my score.
If it can't be done with Frescobaldi, Notepad or MS-DOS Edit also work 
for
me.  LilyPad is O.K. most of the time too, but it can't handle Unicode! 
:O
I know how to register a protocol, and those links will help, but I 
wonder
which method of scripting glue might work for this.  I fear that 
anything
beyond simple batch scripting would be beyond my abilities to figure 
out!


Thanks again,
   Thomas



I do not really understand what you want and what you (why) want to do?
Lilypond DOES unicode:
http://lilypond.org/doc/v2.18/Documentation/notation/special-characters



___
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: Aw: Re: PDF Links in Windows

2015-10-05 Thread mskala
On Mon, 5 Oct 2015, Blöchl Bernhard wrote:
> > Does anyone know if it would be possible to make the links in the regular
> > PDF reader go to Frescobaldi?
>
> What is a regular PDF reader? Is it a working one? Which one is irregular?

Adobe Acrobat Reader.

> > me.  LilyPad is O.K. most of the time too, but it can't handle Unicode! :O

> Lilypond DOES unicode:

LilyPad.

-- 
Matthew Skala
msk...@ansuz.sooke.bc.ca People before principles.
http://ansuz.sooke.bc.ca/___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PDF Links in Windows

2015-10-05 Thread Federico Bruni
Il giorno lun 5 ott 2015 alle 9:54, Urs Liska  ha 
scritto:

I think what he wants is the following:
- view the PDF in Acrobat Reader (for its better resolution or 
whatever reason,

  I think he knows how to do that (as it's where he's coming from)
- Click on the note in Acrobat Reader and have Frescobaldi open the 
input file

  at the correct location.

I don't know how to do it but it's a valid request IMHO, and I wanted 
to make it clear.


Once you figured that out could someone please consider writing a 
tutorial for Scores of Beauty?


I made a try but could not find any setting in Adobe Reader DC in my 
virtualized Windows guest. Adobe reader thinks that textedit URIs 
should be opened in a browser..


I found this question with a wrong answer:
https://forums.adobe.com/thread/305151

and this discussion:
http://forums.fofou.org/sumatrapdf/topic?id=934325

I have the feeling that trying to achieve this with a Free (as in 
freeedom) PDF reader for Windows, like Sumatra, would be a better idea.





___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PDF Links in Windows

2015-10-05 Thread Urs Liska


Am 05.10.2015 um 09:50 schrieb Robert Schmaus:
> I'm not sure if this what you're looking for, but here goes: I'm using
> frescobaldi on a Mac, and of course it does have a panel where you see
> the engraved score. Frescobaldi does not, however support printing the
> pdf itself - instead it asks if I'd like to open the pdf in the
> default pdf viewer and print it from there. So the print shortcut just
> opens the pdf in another program. 
>
> I don't know if the windows version reacts the same way, but if you're
> looking for a way to send the pdf to acrobat, you could try the print
> shortcut and see if it opens up in acrobat.
>
> Best, Robert 
>

I think what he wants is the following:
- view the PDF in Acrobat Reader (for its better resolution or whatever
reason,
  I think he knows how to do that (as it's where he's coming from)
- Click on the note in Acrobat Reader and have Frescobaldi open the
input file
  at the correct location.

I don't know how to do it but it's a valid request IMHO, and I wanted to
make it clear.

Once you figured that out could someone please consider writing a
tutorial for Scores of Beauty?

Urs
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PDF Links in Windows

2015-10-05 Thread Federico Bruni
Il giorno lun 5 ott 2015 alle 10:57, Federico Bruni 
 ha scritto:
Il giorno lun 5 ott 2015 alle 9:54, Urs Liska  ha 
scritto:

I think what he wants is the following:
- view the PDF in Acrobat Reader (for its better resolution or 
whatever reason,

  I think he knows how to do that (as it's where he's coming from)
- Click on the note in Acrobat Reader and have Frescobaldi open the 
input file

  at the correct location.

I don't know how to do it but it's a valid request IMHO, and I 
wanted to make it clear.


Once you figured that out could someone please consider writing a 
tutorial for Scores of Beauty?


I made a try but could not find any setting in Adobe Reader DC in my 
virtualized Windows guest. Adobe reader thinks that textedit URIs 
should be opened in a browser..


I found this question with a wrong answer:
https://forums.adobe.com/thread/305151

and this discussion:
http://forums.fofou.org/sumatrapdf/topic?id=934325

I have the feeling that trying to achieve this with a Free (as in 
freeedom) PDF reader for Windows, like Sumatra, would be a better 
idea.




"Custom protocol handlers aren't supported by Adobe Reader X and later 
for security reasons."

https://forums.adobe.com/message/5593888#5593888


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PDF Links in Windows

2015-10-05 Thread Urs Liska


Am 05.10.2015 um 11:18 schrieb Federico Bruni:
> Il giorno lun 5 ott 2015 alle 10:57, Federico Bruni
>  ha scritto:
>> Il giorno lun 5 ott 2015 alle 9:54, Urs Liska  ha
>> scritto:
>>> I think what he wants is the following:
>>> - view the PDF in Acrobat Reader (for its better resolution or
>>> whatever reason,
>>>   I think he knows how to do that (as it's where he's coming from)
>>> - Click on the note in Acrobat Reader and have Frescobaldi open the
>>> input file
>>>   at the correct location.
>>>
>>> I don't know how to do it but it's a valid request IMHO, and I
>>> wanted to make it clear.
>>>
>>> Once you figured that out could someone please consider writing a
>>> tutorial for Scores of Beauty?
>>
>> I made a try but could not find any setting in Adobe Reader DC in my
>> virtualized Windows guest. Adobe reader thinks that textedit URIs
>> should be opened in a browser..
>>
>> I found this question with a wrong answer:
>> https://forums.adobe.com/thread/305151
>>
>> and this discussion:
>> http://forums.fofou.org/sumatrapdf/topic?id=934325
>>
>> I have the feeling that trying to achieve this with a Free (as in
>> freeedom) PDF reader for Windows, like Sumatra, would be a better idea.
>>
>
> "Custom protocol handlers aren't supported by Adobe Reader X and later
> for security reasons."
> https://forums.adobe.com/message/5593888#5593888

Is this definitive?

Then this should be added to the documentation somewhere (CCing to
bug-lilypond).

Urs

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Aw: Re: PDF Links in Windows

2015-10-05 Thread BB
I am sorry, I was confusing this thread "PDF Links in Windows" with 
another one: "2.18.2 - Thoughts so far".


But to add to the first thread I reread: It is starting with a posting 
on 27th September 2015 of Thomas WillNot added a link to

http://lilypond.org/doc/v2.6/Documentation/user/lilypond/Point-and-click.html
Headline: Appendix D Point and click
Concerning to the copyright mark from
http://wikitex.org/doc/lilypond.pdf
that document is from
The LilyPond development team
Copyright c 1999–2005 by the authors
And is a documentation of LP version 2.6.6.
Do you like to discuss outdated versions of LP documentation? The go ahead.

Everybody is free to use Acrobat Reader, one starts it with a mouse click.

Sorry, I have to ask again: what's the problem?


On 05.10.2015 09:33, Simon Albrecht wrote:

On 05.10.2015 08:30, Blöchl Bernhard wrote:

Am 05.10.2015 08:27, schrieb msk...@ansuz.sooke.bc.ca:

On Mon, 5 Oct 2015, Blöchl Bernhard wrote:
> Does anyone know if it would be possible to make the links in the 
regular

> PDF reader go to Frescobaldi?

What is a regular PDF reader? Is it a working one? Which one is 
irregular?


Adobe Acrobat Reader.


OK, if you are convinced, then use Acrobat Reader. Where is the 
question?


Please, Bernhard, do read the mails (with context) before replying. 
The question is about the textedit:// links which LilyPond (with 
point-and-click enabled) inserts into the PDF output as pointers to 
the source code.


Yours, Simon



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Aw: Re: PDF Links in Windows

2015-10-05 Thread BB

I forgot to add the link of Harm/Thomas Morley
http://www.lilypond.org/doc/v2.19/Documentation/usage/point-and-click
Obviously does not describe a Windows solution either ...




On 05.10.2015 11:36, BB wrote:
I am sorry, I was confusing this thread "PDF Links in Windows" with 
another one: "2.18.2 - Thoughts so far".


But to add to the first thread I reread: It is starting with a posting 
on 27th September 2015 of Thomas WillNot added a link to
http://lilypond.org/doc/v2.6/Documentation/user/lilypond/Point-and-click.html 


Headline: Appendix D Point and click
Concerning to the copyright mark from
http://wikitex.org/doc/lilypond.pdf
that document is from
The LilyPond development team
Copyright c 1999–2005 by the authors
And is a documentation of LP version 2.6.6.
Do you like to discuss outdated versions of LP documentation? The go 
ahead.


Everybody is free to use Acrobat Reader, one starts it with a mouse 
click.


Sorry, I have to ask again: what's the problem?


On 05.10.2015 09:33, Simon Albrecht wrote:

On 05.10.2015 08:30, Blöchl Bernhard wrote:

Am 05.10.2015 08:27, schrieb msk...@ansuz.sooke.bc.ca:

On Mon, 5 Oct 2015, Blöchl Bernhard wrote:
> Does anyone know if it would be possible to make the links in 
the regular

> PDF reader go to Frescobaldi?

What is a regular PDF reader? Is it a working one? Which one is 
irregular?


Adobe Acrobat Reader.


OK, if you are convinced, then use Acrobat Reader. Where is the 
question?


Please, Bernhard, do read the mails (with context) before replying. 
The question is about the textedit:// links which LilyPond (with 
point-and-click enabled) inserts into the PDF output as pointers to 
the source code.


Yours, Simon



___
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: PDF Links in Windows

2015-10-05 Thread James
Hello,

On 05/10/15 10:23, Urs Liska wrote:
>
> Am 05.10.2015 um 11:18 schrieb Federico Bruni:
>> Il giorno lun 5 ott 2015 alle 10:57, Federico Bruni
>>  ha scritto:
>>> Il giorno lun 5 ott 2015 alle 9:54, Urs Liska  ha
>>> scritto:
 I think what he wants is the following:
 - view the PDF in Acrobat Reader (for its better resolution or
 whatever reason,
   I think he knows how to do that (as it's where he's coming from)
 - Click on the note in Acrobat Reader and have Frescobaldi open the
 input file
   at the correct location.

 I don't know how to do it but it's a valid request IMHO, and I
 wanted to make it clear.

 Once you figured that out could someone please consider writing a
 tutorial for Scores of Beauty?
>>> I made a try but could not find any setting in Adobe Reader DC in my
>>> virtualized Windows guest. Adobe reader thinks that textedit URIs
>>> should be opened in a browser..
>>>
>>> I found this question with a wrong answer:
>>> https://forums.adobe.com/thread/305151
>>>
>>> and this discussion:
>>> http://forums.fofou.org/sumatrapdf/topic?id=934325
>>>
>>> I have the feeling that trying to achieve this with a Free (as in
>>> freeedom) PDF reader for Windows, like Sumatra, would be a better idea.
>>>
>> "Custom protocol handlers aren't supported by Adobe Reader X and later
>> for security reasons."
>> https://forums.adobe.com/message/5593888#5593888
> Is this definitive?
>
> Then this should be added to the documentation somewhere (CCing to
> bug-lilypond).
>
> Urs

Do we have an example of a PDF that he is trying to use here?

I use a number of different readers at work and they all behave
differently and on different operating systems. The information "Custom
protocol handlers aren't supported by Adobe Reader X and later for
security reasons." isn't very explanatory in the context of LilyPond.

To help the bug squad could you articulate more clearly what is needed
here than just forwarding some thread from another list?

It puts people off trying to find out the information to create or
investigate the different behaviour. I've already spent 10 mins trying
to work out what the *specific* problem is, how it relates to LP and how
to even validate this isn't just something on someone's own environment
that might not be a problem elsewhere.

James



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PDF Links in Windows

2015-10-05 Thread Urs Liska


Am 05.10.2015 um 12:42 schrieb James:
> Hello,
>
> On 05/10/15 10:23, Urs Liska wrote:
>> Am 05.10.2015 um 11:18 schrieb Federico Bruni:
>>> Il giorno lun 5 ott 2015 alle 10:57, Federico Bruni
>>>  ha scritto:
 Il giorno lun 5 ott 2015 alle 9:54, Urs Liska  ha
 scritto:
> I think what he wants is the following:
> - view the PDF in Acrobat Reader (for its better resolution or
> whatever reason,
>   I think he knows how to do that (as it's where he's coming from)
> - Click on the note in Acrobat Reader and have Frescobaldi open the
> input file
>   at the correct location.
>
> I don't know how to do it but it's a valid request IMHO, and I
> wanted to make it clear.
>
> Once you figured that out could someone please consider writing a
> tutorial for Scores of Beauty?
 I made a try but could not find any setting in Adobe Reader DC in my
 virtualized Windows guest. Adobe reader thinks that textedit URIs
 should be opened in a browser..

 I found this question with a wrong answer:
 https://forums.adobe.com/thread/305151

 and this discussion:
 http://forums.fofou.org/sumatrapdf/topic?id=934325

 I have the feeling that trying to achieve this with a Free (as in
 freeedom) PDF reader for Windows, like Sumatra, would be a better idea.

>>> "Custom protocol handlers aren't supported by Adobe Reader X and later
>>> for security reasons."
>>> https://forums.adobe.com/message/5593888#5593888
>> Is this definitive?
>>
>> Then this should be added to the documentation somewhere (CCing to
>> bug-lilypond).
>>
>> Urs
> Do we have an example of a PDF that he is trying to use here?
>
> I use a number of different readers at work and they all behave
> differently and on different operating systems. The information "Custom
> protocol handlers aren't supported by Adobe Reader X and later for
> security reasons." isn't very explanatory in the context of LilyPond.
>
> To help the bug squad could you articulate more clearly what is needed
> here than just forwarding some thread from another list?

The context is the page
http://lilypond.org/doc/v2.19/Documentation/usage/configuring-the-system-for-point-and-click
and the issue of activating point-and-click on Windows in Acrobat Reader.

The message quoted by Federico is an official statement of an Adobe
staff member, and this tells us that from Adobe Reader X onwards it will
not be possible to enable LilyPond's point-and-click links.

My suggestion is to add a note to said LilyPond doc page saying e.g.
"please note that it is not possible to make point-and-click work with
Adobe Reader version X or above." Probably this should go after the
second paragraph.

I think Adobe Reader is important enough for new or potential LilyPond
users on Windows that this disclaimer should be there.

Urs

>
> It puts people off trying to find out the information to create or
> investigate the different behaviour. I've already spent 10 mins trying
> to work out what the *specific* problem is, how it relates to LP and how
> to even validate this isn't just something on someone's own environment
> that might not be a problem elsewhere.
>
> James
>
>


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PDF Links in Windows

2015-10-05 Thread Urs Liska


Am 05.10.2015 um 11:36 schrieb BB:
> I am sorry, I was confusing this thread "PDF Links in Windows" with
> another one: "2.18.2 - Thoughts so far".
>
> But to add to the first thread I reread: It is starting with a posting
> on 27th September 2015 of Thomas WillNot added a link to
> http://lilypond.org/doc/v2.6/Documentation/user/lilypond/Point-and-click.html
>
> Headline: Appendix D Point and click
> Concerning to the copyright mark from
> http://wikitex.org/doc/lilypond.pdf
> that document is from
> The LilyPond development team
> Copyright c 1999–2005 by the authors
> And is a documentation of LP version 2.6.6.
> Do you like to discuss outdated versions of LP documentation? The go
> ahead.
>
> Everybody is free to use Acrobat Reader, one starts it with a mouse
> click.
>
> Sorry, I have to ask again: what's the problem?

The problem is to make Acrobat Reader open the point-and-click links in
an external editor.
But as Federico has found this is impossible because Adobe has blocked
that option for security reasons.

Urs

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PDF Links in Windows

2015-10-05 Thread Henning Hraban Ramm
Am 2015-10-05 um 16:42 schrieb James :

>>> "Custom protocol handlers aren't supported by Adobe Reader X and later
>>> for security reasons."
>>> https://forums.adobe.com/message/5593888#5593888
>> Is this definitive?
>> 
>> Then this should be added to the documentation somewhere (CCing to
>> bug-lilypond).
>> 
>> Urs
> 
> Do we have an example of a PDF that he is trying to use here?
> 
> I use a number of different readers at work and they all behave
> differently and on different operating systems. The information "Custom
> protocol handlers aren't supported by Adobe Reader X and later for
> security reasons." isn't very explanatory in the context of LilyPond.
> 
> To help the bug squad could you articulate more clearly what is needed
> here than just forwarding some thread from another list?
> 
> It puts people off trying to find out the information to create or
> investigate the different behaviour. I've already spent 10 mins trying
> to work out what the *specific* problem is, how it relates to LP and how
> to even validate this isn't just something on someone's own environment
> that might not be a problem elsewhere.

On OSX, my old Acrobat Pro 9 as well as Adobe Reader 11 try to open LilyPond’s 
"textedit://" links with LilyPad, after asking if they may or should block such 
attempts. So the "security reasons" seem to apply only on Windows (I don’t 
believe that, there are enough security issues open on OSX).
I would like to know if and where I can change that protocol handler 
association.

Greetlings, Hraban
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PDF Links in Windows

2015-10-05 Thread Urs Liska


Am 05.10.2015 um 15:04 schrieb Henning Hraban Ramm:
> On OSX, my old Acrobat Pro 9 as well as Adobe Reader 11 try to open 
> LilyPond’s "textedit://" links with LilyPad, after asking if they may or 
> should block such attempts. So the "security reasons" seem to apply only on 
> Windows (I don’t believe that, there are enough security issues open on OSX).

No, it is clearly stated that "Custom protocol handlers aren't supported
by Adobe Reader X and later for security reasons."
In AR 9 it was possible to set up point-and-click.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PDF Links in Windows

2015-10-05 Thread Robin Bannister

On 05.10.2015 11:23, Urs Liska wrote:

Am 05.10.2015 um 11:18 schrieb Federico Bruni:

>> ...

"Custom protocol handlers aren't supported by Adobe Reader X and later
for security reasons."
https://forums.adobe.com/message/5593888#5593888


Is this definitive?



My last _abandoned_ attempt at getting point-and-click to work
was 4 years ago with Adobe Reader 8 on XP SP3.
It launched a textedit URL successfully, but did it in such a
clumsy manner, that you needed to tidy up afterwards each time.
That was what my ARnok.txt was referring to (earlier in thread).

I link the textedit URL through to jEdit.
This works reliably from SumatraPDF and another program,
on XP, and currently on Windows7.

I tested point-and-click just now with Adobe Reader XI:
 - the tooltip displays the textedit parameters
 - the first-time click brings up a security dialog, cf ARwarning.png
   - I chose 'Allow'
 - but nothing happens when I click (not even a browser activity)

So it would seem so.


Cheers,
Robin
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Aw: Re: PDF Links in Windows

2015-10-04 Thread Thomas WillNot
Hello comrades,

Thanks for all of your replies!
Does anyone know if it would be possible to make the links in the regular
PDF reader go to Frescobaldi?
I have discovered Frescobaldi (after years of hacking away at LilyPond the
hard way!) and quite like it!  But I like to use Acrobat Reader for a
maximized view of my score.
If it can't be done with Frescobaldi, Notepad or MS-DOS Edit also work for
me.  LilyPad is O.K. most of the time too, but it can't handle Unicode! :O
I know how to register a protocol, and those links will help, but I wonder
which method of scripting glue might work for this.  I fear that anything
beyond simple batch scripting would be beyond my abilities to figure out!

Thanks again,
   Thomas


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PDF Links in Windows

2015-09-28 Thread Robin Bannister

Keith OHara wrote:


C is done by converting the textedit fields to the command for your
editor.  Instead of LilyPond's Scheme, I use a DOS script:



Just a note to avoid confusing Thomas at this early stage:

Keith's 'C' is the scripting glue I mentioned.
So what the editor has to do would then be 'D'.


Cheers,
Robin

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Aw: Re: PDF Links in Windows

2015-09-28 Thread Helge Kruse
> The most direct point-and-click connection involves:

> A: the pdf program sending the textedit URL
> B: having a custom Windows 'URL Protocol' tell your editor
> C: your editor going to the right place
 


I think the last two steps are described here: https://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx

Unfortunately I don't have a Lilypond installation at the computer I am currently using to make a proposal for a solution.

 

Best Regards

Helge


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PDF Links in Windows

2015-09-28 Thread David Kastrup
Simon Albrecht  writes:

> On 28.09.2015 00:21, Thomas WillNot wrote:
>> There are lots of Windows users out there in the world! (Though I'd be
>> interested to know which percentage of LilyPonders are!)
>
> A small one, I’d estimate below 20%.

Frankly, I don't.  I think most of the heavy hitters in our quality
assurance and release building department use Ubuntu VMs on Windows
machines and privately mostly work with LilyPond using Windows.

In a similar vein, several power users/developers appear to have started
using the LilyDev VM or others mainly in order to be able to better
participate in LilyPond development and testing.

> As for myself, my LilyPond experience actually formed a major part of
> the motivation to switch to Ubuntu (along with Windows XP running out
> of support, and a virus already going berserk).

LilyPond definitely appears to be a gatekeeper drug, exactly _because_
we provide up to date Windows versions without having to rely on someone
natively keeping them in shape.

If you take a look at how much of an upstream battle it is for other
applications (like Git) which are rooted in the POSIX toolchain to
provide somewhat current Windows installations, and how much of an
impact that has made for the overall viability of Git (basically, it
took second place to Mercurial and Bazaar for a long time when
cross-platform deployment was wanted, until somebody who does not even
want to work with Windows took a whole lot of work and continues doing
so for keeping Git working under Windows), one really has to wonder how
much better GNU/Linux might be doing and how much developer time would
be freed if more applications rooted in the POSIX toolchain could sport
"Windows packages just fall out of a tree" setups.

For our ongoing work, providing Windows executables definitely seems to
be a net win in developers without having to dilute them across multiple
platforms.

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


PDF Links in Windows

2015-09-27 Thread Thomas WillNot
Hello,

I am a Windows user, and since every single note in my PDF files gets 
a "textedit" protocol link, it would be handy to be able to use it!
Seemingly last manual I see with any help on this for Windows users is 
here: http://lilypond.org/doc/v2.6/Documentation/user/lilypond/Point-and-
click.html
It gives instructions for users of Mozilla browsers (which I luckily happen 
to be!)
I followed them and the same thing still happens. Although K-Meleon is my 
default browser, it tries to open in Internet Explorer.  I get a message if 
I want to allow the program to open the link (it says the program 
is "guile"), and when I click "allow", the screen goes black for a fraction 
of a second and nothing happens.  I looked for settings in Acrobat Reader 
and found none.

Please let me know if this functionality is possible in Microsoft Windows.

Thanks,
Thomas


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PDF Links in Windows

2015-09-27 Thread Urs Liska


Am 28.09.2015 um 00:21 schrieb Thomas WillNot:
> Thomas Morley  gmail.com> writes:
>
>> 2015-09-27 23:30 GMT+02:00 Thomas WillNot <113781w  acadiau.ca>:
>>> Hello,
>>>
>>> I am a Windows user, and since every single note in my PDF files gets
>>> a "textedit" protocol link, it would be handy to be able to use it!
>>> Seemingly last manual I see with any help on this for Windows users is
>>> here: http://lilypond.org/doc/v2.6/Documentation/user/lilypond/Point-
> and-
>>> click.html
>>> It gives instructions for users of Mozilla browsers (which I luckily 
> happen
>>> to be!)
>>> I followed them and the same thing still happens. Although K-Meleon is 
> my
>>> default browser, it tries to open in Internet Explorer.  I get a 
> message if
>>> I want to allow the program to open the link (it says the program
>>> is "guile"), and when I click "allow", the screen goes black for a 
> fraction
>>> of a second and nothing happens.  I looked for settings in Acrobat 
> Reader
>>> and found none.
>>>
>>> Please let me know if this functionality is possible in Microsoft 
> Windows.
>>> Thanks,
>>> Thomas
>> No clue about windows, but the current doc-link:
>> http://www.lilypond.org/doc/v2.19/Documentation/usage/point-and-click
>> ff
>>
>> Cheers,
>>   Harm
>>
> As I said, the current documentation only includes setup instructions for
> Using Xpdf
> Using GNOME 2 
> Using GNOME 3

Having had a look at that page right now I think this would absolutely
deserve some care. Not only is the selection of described
programs/environments very limited, but also the style of explanation is
probably not very helpful for non-programmers.

Urs

> There are lots of Windows users out there in the world! (Though I'd be 
> interested to know which percentage of LilyPonders are!)
>
> Thanks,
>Thomas
>
>
> ___
> 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: PDF Links in Windows

2015-09-27 Thread Thomas WillNot
Thomas Morley  gmail.com> writes:

> 
> 2015-09-27 23:30 GMT+02:00 Thomas WillNot <113781w  acadiau.ca>:
> > Hello,
> >
> > I am a Windows user, and since every single note in my PDF files gets
> > a "textedit" protocol link, it would be handy to be able to use it!
> > Seemingly last manual I see with any help on this for Windows users is
> > here: http://lilypond.org/doc/v2.6/Documentation/user/lilypond/Point-
and-
> > click.html
> > It gives instructions for users of Mozilla browsers (which I luckily 
happen
> > to be!)
> > I followed them and the same thing still happens. Although K-Meleon is 
my
> > default browser, it tries to open in Internet Explorer.  I get a 
message if
> > I want to allow the program to open the link (it says the program
> > is "guile"), and when I click "allow", the screen goes black for a 
fraction
> > of a second and nothing happens.  I looked for settings in Acrobat 
Reader
> > and found none.
> >
> > Please let me know if this functionality is possible in Microsoft 
Windows.
> >
> > Thanks,
> > Thomas
> 
> No clue about windows, but the current doc-link:
> http://www.lilypond.org/doc/v2.19/Documentation/usage/point-and-click
> ff
> 
> Cheers,
>   Harm
> 

As I said, the current documentation only includes setup instructions for
Using Xpdf  
Using GNOME 2   
Using GNOME 3

There are lots of Windows users out there in the world! (Though I'd be 
interested to know which percentage of LilyPonders are!)

Thanks,
   Thomas


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PDF Links in Windows

2015-09-27 Thread David Kastrup
Urs Liska  writes:

> Am 28.09.2015 um 00:21 schrieb Thomas WillNot:
>> Thomas Morley  gmail.com> writes:

>>> http://www.lilypond.org/doc/v2.19/Documentation/usage/point-and-click
>>> ff
>>>
>> As I said, the current documentation only includes setup instructions for
>> Using Xpdf   
>> Using GNOME 2
>> Using GNOME 3

It sounds to me like you were almost there but need to configure EDITOR
in a manner where some editor is started that you want to use and that
supports jumping to a certain line from the command line.

> Having had a look at that page right now I think this would absolutely
> deserve some care. Not only is the selection of described
> programs/environments very limited, but also the style of explanation
> is probably not very helpful for non-programmers.

Well, getting the GNOME information together took days of
experimentation and exasperated communication with the GNOME mailing
list.  It felt like a miracle to finally get all the pieces in place.
Having achieved a miracle, it probably did not even occur to me to turn
this into a friendly fool-proof miracle.  Sort of like "Moses, that's
great but I can't quite reach that codfish over there.  Can you part the
sea just a bit wider?"  So it's probably a good idea when someone else
who is not in absolute awe of what is already there gives this a bit of
a workover.

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PDF Links in Windows

2015-09-27 Thread Thomas Morley
2015-09-27 23:30 GMT+02:00 Thomas WillNot <1137...@acadiau.ca>:
> Hello,
>
> I am a Windows user, and since every single note in my PDF files gets
> a "textedit" protocol link, it would be handy to be able to use it!
> Seemingly last manual I see with any help on this for Windows users is
> here: http://lilypond.org/doc/v2.6/Documentation/user/lilypond/Point-and-
> click.html
> It gives instructions for users of Mozilla browsers (which I luckily happen
> to be!)
> I followed them and the same thing still happens. Although K-Meleon is my
> default browser, it tries to open in Internet Explorer.  I get a message if
> I want to allow the program to open the link (it says the program
> is "guile"), and when I click "allow", the screen goes black for a fraction
> of a second and nothing happens.  I looked for settings in Acrobat Reader
> and found none.
>
> Please let me know if this functionality is possible in Microsoft Windows.
>
> Thanks,
> Thomas



No clue about windows, but the current doc-link:
http://www.lilypond.org/doc/v2.19/Documentation/usage/point-and-click
ff

Cheers,
  Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PDF Links in Windows

2015-09-27 Thread Simon Albrecht

On 28.09.2015 00:21, Thomas WillNot wrote:

There are lots of Windows users out there in the world! (Though I'd be
interested to know which percentage of LilyPonders are!)


A small one, I’d estimate below 20%.
As for myself, my LilyPond experience actually formed a major part of 
the motivation to switch to Ubuntu (along with Windows XP running out of 
support, and a virus already going berserk).


Yours, Simon

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PDF Links in Windows

2015-09-27 Thread Robin Bannister

Thomas WillNot wrote:

 I looked for settings in Acrobat Reader and found none.

Please let me know if this functionality is possible in Microsoft Windows.



It is possible (without resorting to Frescobaldi).
But there doesn't seem to be a standard way to set it up.


The most direct point-and-click connection involves:

A: the pdf program sending the textedit URL
B: having a custom Windows 'URL Protocol' tell your editor
C: your editor going to the right place

This does not involve a browser.
You may need some scripting glue between B and C.


The first thing you need to do is stop trying with Adobe Reader.
It expects all URLs to be http. See my notes on this [ARnok.txt]

Try out Sumatra instead, and modify it as Arnold Theresius did:
http://lists.gnu.org/archive/html/bug-lilypond/2013-04/msg00033.html


Cheers,
Robin
a theory why adobe reader is clunky with textedit

[1] says (undated?)
> When an attempt to load the URL is made, 
> Adobe AIR uses Dynamic Data Exchange (DDE) to connect to 
> an open instance of the browser registered for URL requests. 
> If that fails, Adobe AIR falls back on Shell Execution.

So if no browser is running a browser window gets opened. 
If a browser is already running its window gets reused.
This happens unconditionally (before URL been examined).  


[2] says 
> kodelite,May 12, 2012 4:08 PM ...
> Regular http hyperlinks seem to work fine, great job! 
> However, custom url schemes still don't seem to work, 
> ...
> ...
> Pat Wibbeler, May 14, 2012 9:14 AM   in reply to kodelite
> Enhanced linking is not something we have on our immediate roadmap, 
> however, we can add your request for this feature. 

So browser is sent textedit URL and doesn't understand it.
Then AR does Shell Execution, which gets through.


[1] http://helpx.adobe.com/x-productkb/multi/html-links-dont-open-default.html
[2] https://forums.adobe.com/message/4401951#4401951___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: PDF Links in Windows

2015-09-27 Thread Keith OHara
Robin Bannister  dataway.ch> writes:

> Thomas WillNot wrote:
> >  I looked for settings in Acrobat Reader and found none.
> >
> > Please let me know if this functionality is possible in 
> > Microsoft Windows.
> 
> It is possible (without resorting to Frescobaldi).
> But there doesn't seem to be a standard way to set it up.
 
Frescobaldi is quite good, so it would be my first recommendation
unless a new user already has a favorite test editor.

Connecting point-and-click to your favorite text editor is not fun.

> The most direct point-and-click connection involves:
> 
> A: the pdf program sending the textedit URL
> B: having a custom Windows 'URL Protocol' tell your editor
> C: your editor going to the right place
 
A is done automatically by Acrobat Reader; SumatraPDF does if you add
'textedit' to the LinkProtocols in a .ini file described in the docs

B is stored in the Windows registry.  The LilyPond installer installs
a Scheme script, but I could never get it to work so I wrote my own
(and have to re-install it after every upgrade of LilyPond)

C is done by converting the textedit fields to the command for your
editor.  Instead of LilyPond's Scheme, I use a DOS script:

@echo off
rem This is file D:\bin\textedit.cmd 
rem Registry entry HLKM\Software\classes\textedit\shell\open\command
rem contains   "D:\bin\textedit.cmd"  "%1"
FOR /F "tokens=1,2* delims=:/" %%a IN (%1) DO set address=%%c& \
 set drive=%%b
FOR /F "tokens=1,2,3,4 delims=:" %%a IN ("%address%") DO \
"%ProgramFiles(x86)%\Vim\vim74\gvim" --remote-silent +%%b %drive%:/%%a \
& "%ProgramFiles(x86)%\Vim\vim74\gvim" --remote-send "%%d|"



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user