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: Line numbers in editor window

2015-09-27 Thread Thomas Wilmot
ClausRogge  aon.at> writes:

> 
> AFAIK, the Mac version is the only one that comes with it's own editor and I
> used that for nearly ten years, gravely missing the line numbering. Finally
> discovered Frescobaldi which is a fantastic editor! It helps you to keep an
> eye on all these brackets as well
> 
> --
> View this message in context:
http://lilypond.1069038.n5.nabble.com/Line-numbers-in-editor-window-tp181221p181245.html
> Sent from the User mailing list archive at Nabble.com.
> 


I'm very happy to have discovered Frescobaldi as well!  I had been using
jEdit and LilyPondTool, which has its good points, but is so slow and buggy
being Java!

Windows LilyPond comes with its own editor too - LilyPad - which while it
looks just like Windows Notepad, it hasn't been updated since 2010 and only
understands ASCII!  You want German lyrics?  Too bad!


___
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: Biographies

2015-09-27 Thread David Kastrup
David Bellows  writes:

> Hey David, I saw this about work you've done on the emacs Lilypond
> mode. Is the new code base available anywhere and is it usable?

It's usable with quite recently compiled Emacs versions (it's about a
month ago that Eli Zaretskii fixed a problem with macro recording which
would lose events).  It's not yet committed anywhere.

The interface is clunky: basically you do macro recording C-x ( record
midi C-x ) with only 1 channel active and get output for one Voice.
Then you make a different channel active and do C-x e in order to output
the stuff for the next Voice.  Of course, that kind of all-channel
recording with single-channel replay makes sense only if you have more
than 1 channel, like with an accordion or an organ.  For piano, the best
you can likely do is a keyboard split or just record every Voice in a
separate take.

See whether you can make this do something useful for you.  midi-kbd.el
contains the stuff creating input events.  lily-midi.el is the stuff
generating LilyPond input from those events.



lily-midi.el
Description: application/emacs-lisp


midi-kbd.el
Description: application/emacs-lisp


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


Re: Biographies (was: OT: Beauty of programming languages)

2015-09-27 Thread David Bellows
Hey David, I saw this about work you've done on the emacs Lilypond
mode. Is the new code base available anywhere and is it usable?

On Fri, Sep 18, 2015 at 7:37 AM, David Kastrup  wrote:
>
> Nam Sibyllam quidem Cumis ego ipse
> oculis meis vidi in ampulle pendere, et cum
> illi pueri dicerent: Σίβυλλα τί θέλεις;
> respondebat illa: άποθανεΐν θέλω.
>
> [I saw myself with my own eyes the Cumaean Sibyl hanging in a bottle,
> and when the boys said to her "Sibyl, what's your desire?" she answered
> them "to die is my desire", a quote from the Satyricon most well-known
> from the starting lines of T.S.Eliot's poem "The Waste Land"]
>
> When granted a wish by Apollon, the Sibyl of Cumis, one of his
> priestesses and seers, asked for eternal life.  Not having asked for
> eternal youth or health as well, she eventually withered and shrank
> until she would fit in a bottle, never able to die.
>
> Age: 50
>
> Blessed with great analytical talents but without the matching stamina
> to engage them with anything that does not interest me, I haven't been
> able to do any serious mental work that isn't fun.  An early attempt to
> escape the problems from depending on unreliable gifts by doing an
> apprenticeship in a bakery was shortlived since my body engaged in its
> own version of obsessive compulsiveness by turning allergic against most
> of anything to be found in a bakery within half a year, a fate that the
> physicians predicted to be rather likely for most work of my hands.  So
> I took up Electrical Engineering and managed to finish a diploma with
> the help of coeds (which consisted in dragging me to practice sessions
> where I "helped" them figure out the stuff from lectures that flummoxed
> them, and with organizing call services so that I would not miss
> deadlines and exams).  A later PhD never saw the completion of the
> thesis, actually sort of a pity as the work was pretty novel.
>
> The ability to pull through and complete stuff tends to be rather
> important in programming jobs, so my career ended up very spotty.  The
> last few years, I have spent living off the donations of various
> LilyPond users and programmers, a somewhat embarrassing endeavor as I
> often get locked up in less productive phases and don't communicate well
> (it turns out that medication making me more productive at the same time
> makes me completely unbearable and the other way round, and the vitally
> necessary blood pressure medication makes stuff more difficult, so I
> just stay off the psychopharmaceutics as there is no direction in which
> they would be unilaterally helpful).  Since I haven't properly
> maintained "customer relations" for the last few years (another
> "tedious" task), at the current point of time my "income" does not cover
> the costs of living in spite of several high-profile LilyPond figures
> supporting me with sums that do not reflect our relative merits.
>
> Living in a small town in Germany on the premises of my girl friend's
> riding school (another venture that's not particularly good at matching
> the bills), I spend most of my time at the computer, most of the time
> working on something LilyPond related.
>
> With a computing background starting with punched cards, a computer with
> various self-built extensions and programs (I could only start using
> CP/M after I've written my own boot loader and BIOS), I am pretty good
> at understanding low-level programming problems.
>
> At the same time, it offends my sense of design when implementation
> details leak into a system such as LilyPond, so much of my work is
> invested in making programming models work out cleanly and transparently
> and making "naive expectations" match the actual behavior by changing
> the behavior rather than the expectations where it makes sense.
>
> I've been playing violin from young age, added guitar to the mix, have
> sung in various choirs (a natural bass-baritone, I've sung either alto
> or high tenor in the last years as my falsetto is the best developed
> part of my voice and I prefer staying mostly above the break) and have
> taken up accordion a few years ago (as finger-style guitar was a
> mismatch in carrying power for chansonette performances).
>
> I've recently made Emacs understand Midi input but found that I just
> don't have the time and focus to work on bringing LilyPond's Emacs mode
> into the 21st century.  Which is a real pity as the current code base
> (not yet generally available) is quite nice for entering material but
> then breaks down in usability for doing line-wrapping, quick entering of
> durations and other editing stuff.
>
> So the number of unfinished projects and loose ends is constantly
> growing for me in spite of doing LilyPond full time already, and
> consequently my bad conscience on not getting stuff done is also a
> pretty constant fixture, making every moment equally bad for asking for
> support of my work.
>
> I probably share the problem of a lot of 

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