[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: point and click implementation
From: |
Eluze |
Subject: |
Re: point and click implementation |
Date: |
Thu, 11 Apr 2013 02:45:56 -0700 (PDT) |
ArnoldTheresius wrote
> I cheked it last night, and finally I
*
> located a bug
*
> !
>
> For the file explorer operation you'll find in the registry
> HKEY_CLASS_ROOT\
*
> .ly
*
> having the value
*
> LilyPond
*
> Then you find in
> HKEY_CLASS_ROOT\
*
> LilyPond
*
> \shell\
*
> edit
*
> \command something like
*
> "C:\...lilypad.exe" "%1"
*
> Close to this you'll also find the command for
*
> open
*
> and
*
> generate
*
> .
>
> Moreover, in the registry at
> HKEY_CLASS_ROOT\
*
> textedit
*
> \shell\open\command
> the call to be initiated by clicking at the link in the PDF reader is
> registered. This is, what I replace wth a call to my notepad-launcher
> after I installed a new version of Lilypond. But I remember, the original
> value is something like:
*
> "C:\...\usr\bin\guile.exe" "...\usr\bin\lilypond-invoke-editor" "%1"
*
>
> So, I tried that command (with textedit://... argument) in the command
> line and got this error message:
/
> ERROR: no code for module (scm editor)
/
> Checking this guile script I found in line 162 the %load-path is extended
> by the value of LILYPOND_DATADIR, adding an output on the screen did show
> a value
/
> .../usr/share/lilypond/2.17.14
/
> - a directory which does not exist on the windows installation!
> Next I replaced in line 48 »TOPLEVEL-VERSION« with »"current"« and the
> command line call did launch lilypad.
>
>
> Please check, if you replace
> (if (eq? prefix (dirname DATADIR)) COMPILE-TIME-PREFIX
> (format #f "~a/share/lilypond/~a"
> prefix TOPLEVEL-VERSION))))
> with
> (if (eq? prefix (dirname DATADIR)) COMPILE-TIME-PREFIX
> (format #f "~a/share/lilypond/~a"
> prefix
>
*
> (if (eq? PLATFORM 'windows)
*
>
*
> "current"
*
> TOPLEVEL-VERSION
*
> )
*
> ))))
> wether this solves the problem or not. Perhaps the definition of PLATFORM
> has to be moved in this file, too.
hi Arnold
I tried it and finally got it to work (I hat to move the PLATFORM definition
/before/ these lines)
however:
- it opens twice
- the cursor sometimes is not positioned correctly (at the start of the line
instead of the column number)
- each time I click in the pdf a new tab is opened in my browser!
> I'll not be able to check it before Monday night, unfortunately.
no problem - we'll wait!
Eluze
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/point-and-click-implementation-tp144248p144308.html
Sent from the Bugs mailing list archive at Nabble.com.
- point and click implementation, Eluze, 2013/04/09
- Re: point and click implementation, ArnoldTheresius, 2013/04/10
- Re: point and click implementation, Eluze, 2013/04/10
- Re: point and click implementation, ArnoldTheresius, 2013/04/11
- Re: point and click implementation,
Eluze <=
- Re: point and click implementation, Phil Holmes, 2013/04/11
- Re: point and click implementation, Eluze, 2013/04/11
- Re: point and click implementation, ArnoldTheresius, 2013/04/11
- Re: point and click implementation, Phil Holmes, 2013/04/12
- Re: point and click implementation, Phil Holmes, 2013/04/14
- Re: point and click implementation, David Kastrup, 2013/04/14
- Re: point and click implementation, Phil Holmes, 2013/04/14
- Re: point and click implementation, Janek Warchoł, 2013/04/14
- Re: point and click implementation, Phil Holmes, 2013/04/14
- Re: point and click implementation, David Kastrup, 2013/04/14