Re: LilyPond in/not in Windows PATH (Re: Point-and-click on Frescobaldi?)

2012-03-19 Thread Wilbert Berendsen
Op Sat, 17 Mar 2012 11:05:59 -
Phil Holmes m...@philholmes.net schreef:

 - Original Message - 
 From: Wilbert Berendsen wbs...@xs4all.nl
  But in upcoming Frescobaldi 2.0.5 I have added some additional
  logic to look for LilyPond in other locations, even if they are not
  in the PATH. Currently C:\Program Files\LilyPond\usr\bin is
  searched, and I can add more (need to test current git on Windows
  with newer LilyPond versions yet).
 
  -- 
  Wilbert Berendsen
  (http://www.wilbertberendsen.nl)
 
 
 Clearly for windows only, but an alternative is to look in the
 program files directory for the shortcut.  c# code that does this is:
 
 string ProgMenu = 
 Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles);
 string [] LilyDirs = Directory.GetDirectories(ProgMenu, *lily*);

Thanks for the hint!

I now look in the ProgramFiles environment variable and search that
path for 'LilyPond*\\usr\\bin' subfolders. This should find normally
installed LilyPonds in Windows.


-- 
Wilbert Berendsen
(http://www.wilbertberendsen.nl)


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


Re: LilyPond in/not in Windows PATH (Re: Point-and-click on Frescobaldi?)

2012-03-18 Thread Helge Kruse
- Original Message - 
From: Wilbert Berendsen wbs...@xs4all.nl

To: lilypond-user@gnu.org
Sent: Friday, March 16, 2012 9:40 PM
Subject: LilyPond in/not in Windows PATH (Re: Point-and-click on 
Frescobaldi?)




Currently C:\Program Files\LilyPond\usr\bin is searched, and I can
add more (need to test current git on Windows with newer LilyPond
versions yet).


Can you add C:\Program Files (x86)\LilyPond\usr\bin ?

Helge


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


Re: LilyPond in/not in Windows PATH (Re: Point-and-click on Frescobaldi?)

2012-03-17 Thread Phil Holmes
- Original Message - 
From: Wilbert Berendsen wbs...@xs4all.nl

To: lilypond-user@gnu.org
Sent: Friday, March 16, 2012 8:40 PM
Subject: LilyPond in/not in Windows PATH (Re: Point-and-click on 
Frescobaldi?)




Op Thu, 15 Mar 2012 07:36:33 -0400
Father Gordon Gilbert fatherg...@gmail.com schreef:


For whatever reason, Fresco was not showing the full path to LilyPond.
 Never had this problem before, but when I put it in there, all
worked!


Frescobaldi just tries if 'lilypond.exe' (or 'lilypond-windows.exe',
which does not open a console window) can be found in the operating
system's PATH.

If not, you should open the preferences, select the 'lilypond' entry in
the list and click 'Edit'. There, specify the full path to the
lilypond-windows.exe program.

But in upcoming Frescobaldi 2.0.5 I have added some additional logic to
look for LilyPond in other locations, even if they are not in the PATH.
Currently C:\Program Files\LilyPond\usr\bin is searched, and I can
add more (need to test current git on Windows with newer LilyPond
versions yet).

--
Wilbert Berendsen
(http://www.wilbertberendsen.nl)



Clearly for windows only, but an alternative is to look in the program files 
directory for the shortcut.  c# code that does this is:


string ProgMenu = 
Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles);

string [] LilyDirs = Directory.GetDirectories(ProgMenu, *lily*);


--
Phil Holmes



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


LilyPond in/not in Windows PATH (Re: Point-and-click on Frescobaldi?)

2012-03-16 Thread Wilbert Berendsen
Op Thu, 15 Mar 2012 07:36:33 -0400
Father Gordon Gilbert fatherg...@gmail.com schreef:

 For whatever reason, Fresco was not showing the full path to LilyPond.
  Never had this problem before, but when I put it in there, all
 worked!

Frescobaldi just tries if 'lilypond.exe' (or 'lilypond-windows.exe',
which does not open a console window) can be found in the operating
system's PATH.

If not, you should open the preferences, select the 'lilypond' entry in
the list and click 'Edit'. There, specify the full path to the
lilypond-windows.exe program.

But in upcoming Frescobaldi 2.0.5 I have added some additional logic to
look for LilyPond in other locations, even if they are not in the PATH.
Currently C:\Program Files\LilyPond\usr\bin is searched, and I can
add more (need to test current git on Windows with newer LilyPond
versions yet).

-- 
Wilbert Berendsen
(http://www.wilbertberendsen.nl)


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


Re: Point-and-click on Frescobaldi?

2012-03-15 Thread James
Hello,

On 14 March 2012 23:35, Father Gordon Gilbert fatherg...@gmail.com wrote:
 Thanks, Wilbert,

 I had figured it was something like that, but I am too far from geeky
 to be able to implement something that complicated.  I certainly do
 make use of it, though!

 I have another problem now, however.

 When I upgraded Lily to the latest (2.15.33) and began to use Fresco
 again to work on a new file, the whole thing seems broken!  Not sure
 what I did, but in the compliation panel, all I get is the following:

 Starting lilypond-windows.exe. [file.ly]...
 Could not start lilypond-windows.exe.
 Please check path and permissions.

 I didn't *actively* do anything to the path or permissions, and I even
 tried uninstalling and reinstalling both Frescobaldi and LilyPond,
 with no improvement.

 Where to I look to find the problem, and how can I fix it?  Holy Week
 is coming up, and I have some things I need to do!  Help!

It almost certainly won't be Frescobaldi it'll be where/how windows
has installed your later version of LilyPond.

Install LilyPond as normal and then open a 'cmd' prompt (if you don't
know what that is then click on the start menu in the task bar and
either look for the 'run' menu option and type cmd or you can search
for 'cmd.exe' and open it.

Then from that command prompt type

path

This will list all the 'paths' to the applications you have installed.
It'll be a long list, and you should (hopefully) see something like

C;/Program Files/LilyPond/usr/bin; in there (I may have got that
slightly inaccurate - I am doing this from memory) but you will see
'LilyPond' somewhere.

If you don't see it then this is the problem and you will need to add
it manually.

I am about to leave for work, but if you still have problems or no one
else answers I'll be around in an hour or so.





-- 
--

James

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


Re: Point-and-click on Frescobaldi?

2012-03-15 Thread Francisco Vila
2012/3/15 Father Gordon Gilbert fatherg...@gmail.com:
 Starting lilypond-windows.exe. [file.ly]...
 Could not start lilypond-windows.exe.
 Please check path and permissions.

Sounds like Frescobaldi does not find your new lilypond install in the
directory where it used to be, maybe it has been installed in another
directory.

Go to Preferences - LilyPond preferences. Highlight the first entry at
the right, push Edit and then push the file browser dialog button at
tthe right of 'lilypond command' box.

Once there, find c:\Program Files\whatever\whatever\lilypond.exe

where 'whatever' is something like \usr\bin\ , I'm sorry but I do not
remember exactly (I am not a windows user)

Once found, click 'Open', OK, OK. Test your whole set by compiling
some music. Good luck!

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

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


Re: Point-and-click on Frescobaldi?

2012-03-15 Thread James
Father Gilbert

On 14 March 2012 23:35, Father Gordon Gilbert fatherg...@gmail.com wrote:
 Thanks, Wilbert,

 I had figured it was something like that, but I am too far from geeky
 to be able to implement something that complicated.  I certainly do
 make use of it, though!

 I have another problem now, however.

 When I upgraded Lily to the latest (2.15.33) and began to use Fresco
 again to work on a new file, the whole thing seems broken!  Not sure
 what I did, but in the compliation panel, all I get is the following:

 Starting lilypond-windows.exe. [file.ly]...
 Could not start lilypond-windows.exe.
 Please check path and permissions.

 I didn't *actively* do anything to the path or permissions, and I even
 tried uninstalling and reinstalling both Frescobaldi and LilyPond,
 with no improvement.

 Where to I look to find the problem, and how can I fix it?  Holy Week
 is coming up, and I have some things I need to do!  Help!

 Thanks for a fantastic program.


I have realised that *if* you do not have LilyPond in your 'path' (see
my last email to you) and you need to add it, the instructions will be
slightly different depending if you are running Windows XP or Windows
7 - as things like file names and where settings are have changed.

What I would do because I forgot we had added this to our instructions
on teh website is to look here

http://lilypond.org/windows.html

See 'Running on the command line' section. This tells you how to check
and configure.

I do not know your technical ability (so sorry if I am patronizing you
- many of us on these lists take it for granted users know how to
configure these settings in Windows) to understand how to set a PATH
etc. and as I know you have a very limited internet connection so are
not permanently online, can you let me know if my last response is
helpful and if not which version of Windows you are using and I can
give you more detailed instructions in 'one go'


-- 
--

James

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


Re: Point-and-click on Frescobaldi?

2012-03-15 Thread Father Gordon Gilbert
Hi guys,

For whatever reason, Fresco was not showing the full path to LilyPond.
 Never had this problem before, but when I put it in there, all
worked!

Thanks!

Gordon+

On 15/03/2012, James pkx1...@gmail.com wrote:
 Father Gilbert

 On 14 March 2012 23:35, Father Gordon Gilbert fatherg...@gmail.com wrote:
 Thanks, Wilbert,

 I had figured it was something like that, but I am too far from geeky
 to be able to implement something that complicated.  I certainly do
 make use of it, though!

 I have another problem now, however.

 When I upgraded Lily to the latest (2.15.33) and began to use Fresco
 again to work on a new file, the whole thing seems broken!  Not sure
 what I did, but in the compliation panel, all I get is the following:

 Starting lilypond-windows.exe. [file.ly]...
 Could not start lilypond-windows.exe.
 Please check path and permissions.

 I didn't *actively* do anything to the path or permissions, and I even
 tried uninstalling and reinstalling both Frescobaldi and LilyPond,
 with no improvement.

 Where to I look to find the problem, and how can I fix it?  Holy Week
 is coming up, and I have some things I need to do!  Help!

 Thanks for a fantastic program.


 I have realised that *if* you do not have LilyPond in your 'path' (see
 my last email to you) and you need to add it, the instructions will be
 slightly different depending if you are running Windows XP or Windows
 7 - as things like file names and where settings are have changed.

 What I would do because I forgot we had added this to our instructions
 on teh website is to look here

 http://lilypond.org/windows.html

 See 'Running on the command line' section. This tells you how to check
 and configure.

 I do not know your technical ability (so sorry if I am patronizing you
 - many of us on these lists take it for granted users know how to
 configure these settings in Windows) to understand how to set a PATH
 etc. and as I know you have a very limited internet connection so are
 not permanently online, can you let me know if my last response is
 helpful and if not which version of Windows you are using and I can
 give you more detailed instructions in 'one go'


 --
 --

 James



-- 
Fr. Gordon Gilbert
Penetanguishene, ON

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


Re: Point-and-click on Frescobaldi?

2012-03-15 Thread Carl Sorensen


On 3/15/12 5:36 AM, Father Gordon Gilbert fatherg...@gmail.com wrote:

Hi guys,

For whatever reason, Fresco was not showing the full path to LilyPond.
 Never had this problem before, but when I put it in there, all
worked!

I think this is a reflection of a solution to issue 1948.

The windows installer no longer adds a path entry (by design), so the user
will need to add their own path in the future.  Perhaps this should be
part of the Frescobaldi documentation.

Thanks,

Carl


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


Re: Point-and-click on Frescobaldi?

2012-03-15 Thread Father Gordon Gilbert
Yes it should.  Especially for us non-geeks who understand a bit of
this kind of thing.  We need to know where to click and exactly what
to type.

Blessings,

Gordon+

On 15/03/2012, Carl Sorensen c_soren...@byu.edu wrote:


 On 3/15/12 5:36 AM, Father Gordon Gilbert fatherg...@gmail.com wrote:

Hi guys,

For whatever reason, Fresco was not showing the full path to LilyPond.
 Never had this problem before, but when I put it in there, all
worked!

 I think this is a reflection of a solution to issue 1948.

 The windows installer no longer adds a path entry (by design), so the user
 will need to add their own path in the future.  Perhaps this should be
 part of the Frescobaldi documentation.

 Thanks,

 Carl




-- 
Fr. Gordon Gilbert
Penetanguishene, ON

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


Re: Point-and-click on Frescobaldi?

2012-03-14 Thread Wilbert Berendsen
Op Sat, 10 Mar 2012 13:13:05 -0500
Father Gordon Gilbert fatherg...@gmail.com schreef:

 Yes, changing a note and recompiling did the trick, thanks!  I had
 done a convert-ly and recompiled, and I suppose that's why it pointed
 down to where the changes were listed.

Indeed changes a convert-ly run the whole document (if you click OK in
the convert-ly dialog). When that happens, the point and click
locations are lost.

This is because the editor (a component in Qt4) looses the positions of
all text cursors when the whole document text is replaced. Text cursors
remember their position in a document while it is being edited, that's
why I use them for point and click (which was in Frescobaldi 1 called
smart point and click).

But when a region of text is deleted, all cursors that were in it, now
point to the place the deleted region started. When then new text is
inserted, all cursors move to the end of the inserted position. This is
Qt4 behaviour, even when you delete a region and then undo it, the
point and click positions are lost.

But simply recompiling (even without changing a note) updates the PDF
and that triggers a re-load of the point and click positions.


-- 
Wilbert Berendsen
(http://www.wilbertberendsen.nl)


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


Re: Point-and-click on Frescobaldi?

2012-03-14 Thread Father Gordon Gilbert
Thanks, Wilbert,

I had figured it was something like that, but I am too far from geeky
to be able to implement something that complicated.  I certainly do
make use of it, though!

I have another problem now, however.

When I upgraded Lily to the latest (2.15.33) and began to use Fresco
again to work on a new file, the whole thing seems broken!  Not sure
what I did, but in the compliation panel, all I get is the following:

Starting lilypond-windows.exe. [file.ly]...
Could not start lilypond-windows.exe.
Please check path and permissions.

I didn't *actively* do anything to the path or permissions, and I even
tried uninstalling and reinstalling both Frescobaldi and LilyPond,
with no improvement.

Where to I look to find the problem, and how can I fix it?  Holy Week
is coming up, and I have some things I need to do!  Help!

Thanks for a fantastic program.

Blessings,

Gordon+


On 14/03/2012, Wilbert Berendsen wbs...@xs4all.nl wrote:
 Op Sat, 10 Mar 2012 13:13:05 -0500
 Father Gordon Gilbert fatherg...@gmail.com schreef:

 Yes, changing a note and recompiling did the trick, thanks!  I had
 done a convert-ly and recompiled, and I suppose that's why it pointed
 down to where the changes were listed.

 Indeed changes a convert-ly run the whole document (if you click OK in
 the convert-ly dialog). When that happens, the point and click
 locations are lost.

 This is because the editor (a component in Qt4) looses the positions of
 all text cursors when the whole document text is replaced. Text cursors
 remember their position in a document while it is being edited, that's
 why I use them for point and click (which was in Frescobaldi 1 called
 smart point and click).

 But when a region of text is deleted, all cursors that were in it, now
 point to the place the deleted region started. When then new text is
 inserted, all cursors move to the end of the inserted position. This is
 Qt4 behaviour, even when you delete a region and then undo it, the
 point and click positions are lost.

 But simply recompiling (even without changing a note) updates the PDF
 and that triggers a re-load of the point and click positions.


 --
 Wilbert Berendsen
 (http://www.wilbertberendsen.nl)




-- 
Fr. Gordon Gilbert
Penetanguishene, ON

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


Point-and-click on Frescobaldi?

2012-03-10 Thread Father Gordon Gilbert
Hi all,

I recently installed the most recent Frescobaldi 2.0.4 on my Windoze box
(XP Pro), and last night got the latest Lily 2.15.33.

Now when I try to work on a file, the point-and-click seems to be broken.
When I mouse over a note in the pdf, it puts the cursor in the editor on a
spot right at the end of the file, not on the right place.

Any ideas?  Bug in Lily?  Bug in Fresco?

Blessings,

Gordon+

-- 
Fr. Gordon Gilbert
Penetanguishene, ON
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Point-and-click on Frescobaldi?

2012-03-10 Thread Francisco Vila
2012/3/10 Father Gordon Gilbert fatherg...@gmail.com:
 Hi all,

 I recently installed the most recent Frescobaldi 2.0.4 on my Windoze box (XP
 Pro), and last night got the latest Lily 2.15.33.

 Now when I try to work on a file, the point-and-click seems to be broken.
 When I mouse over a note in the pdf, it puts the cursor in the editor on a
 spot right at the end of the file, not on the right place.

 Any ideas?  Bug in Lily?  Bug in Fresco?

Possibly the PDF preview does not match exactly (or is compiled from)
your code at its present status. Modify one or two notes, press Ctrl+M
to recompile, check that the PDF matches your code and try again.

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

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


Re: Point-and-click on Frescobaldi?

2012-03-10 Thread Shane Brandes
Also you may want to check under the program options to make sure the
pdf reader is properly pointing to the correct pdf reader version.
Under settings program configure or something like that.

Shane

On Sat, Mar 10, 2012 at 11:12 AM, Francisco Vila paconet@gmail.com wrote:
 2012/3/10 Father Gordon Gilbert fatherg...@gmail.com:
 Hi all,

 I recently installed the most recent Frescobaldi 2.0.4 on my Windoze box (XP
 Pro), and last night got the latest Lily 2.15.33.

 Now when I try to work on a file, the point-and-click seems to be broken.
 When I mouse over a note in the pdf, it puts the cursor in the editor on a
 spot right at the end of the file, not on the right place.

 Any ideas?  Bug in Lily?  Bug in Fresco?

 Possibly the PDF preview does not match exactly (or is compiled from)
 your code at its present status. Modify one or two notes, press Ctrl+M
 to recompile, check that the PDF matches your code and try again.

 --
 Francisco Vila. Badajoz (Spain)
 www.paconet.org , www.csmbadajoz.com

 ___
 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: Point-and-click on Frescobaldi?

2012-03-10 Thread Francisco Vila
2012/3/10 Father Gordon Gilbert fatherg...@gmail.com:
 Hi guys,

 Yes, changing a note and recompiling did the trick, thanks!  I had done a
 convert-ly and recompiled, and I suppose that's why it pointed down to where
 the changes were listed.

It is not really necessary to change a note but that makes you
visually sure that the PDF matches your code.
Also take into account that unless you save (CTRL+S) and immediately
compile (CTRL+M), the PDF will not be where it's supposed to be, but
rather in a temporary folder of unpronounceable name.

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

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