Re: convert-ly path for Frescobaldi in Windows?

2018-03-14 Thread Knute Snortum
In Case this is useful to others, here is the Windows batch file I use to
convert a large number of .ly files.  Change LY_HOME to your taste:

---Start
@echo off

set LY_HOME=C:\Program Files (x86)\LilyPond-latest\usr

for %%f in (%*) do (
echo Converting %%~nf...
if exist %%~nf.orig (
del %%~nf.orig
)
move %%f %%~nf.orig
"%LY_HOME%\bin\python.exe" "%LY_HOME%\bin\convert-ly.py" %%~nf.orig > %%f
)
---END

And if you need to restore all the .orig files:

---Start
@echo off

for %%f in (%*) do (
echo Restoring %%~nf...
del /Q %%~nf.ly
move %%f %%~nf.ly
)
---END


---
Knute Snortum
(via Gmail)

On Mon, Mar 12, 2018 at 4:59 AM, Torsten Hämmerle 
wrote:

> Hi Saul,
>
> I can confirm the strange behaviour of Frescobaldi 3 in Windows 10, too.
>
> The "OK" button is greyed out if there are no changes, or, more precisely,
> if Frescobaldi thinks there were no changes.
> The question is: why are there no changes?
> Has convert-ly been executed at all?
>
> As far as I can remember, there were some issues some years ago with
> convert-ly output or log that Frescobaldi couldn't grasp anymore, but this
> should have been solved in the meantime...
>
>
> Shevek wrote
> > What path should I be using for
> > convert-ly? My Lilypond installations are C:\Program
> > Files\LilyPond\2.xx.x\.
>
> In this case, the path to convert-ly is
> C:\Program Files\LilyPond\2.xx.x\usr\bin\
>
> In Edit -> Preferences ... -> LilyPond Preferences -> LilyPond versions to
> use you can specify "Tool Commands" via Edit
> But, with or without explicit path for convert-ly, this doesn't help,
> either...
>
> All the best,
> Torsten
>
>
>
>
> --
> Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
>
> ___
> 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: convert-ly path for Frescobaldi in Windows?

2018-03-12 Thread Torsten Hämmerle
Hi Saul,

I can confirm the strange behaviour of Frescobaldi 3 in Windows 10, too.

The "OK" button is greyed out if there are no changes, or, more precisely,
if Frescobaldi thinks there were no changes.
The question is: why are there no changes?
Has convert-ly been executed at all?

As far as I can remember, there were some issues some years ago with
convert-ly output or log that Frescobaldi couldn't grasp anymore, but this
should have been solved in the meantime...


Shevek wrote
> What path should I be using for
> convert-ly? My Lilypond installations are C:\Program
> Files\LilyPond\2.xx.x\.

In this case, the path to convert-ly is
C:\Program Files\LilyPond\2.xx.x\usr\bin\

In Edit -> Preferences ... -> LilyPond Preferences -> LilyPond versions to
use you can specify "Tool Commands" via Edit
But, with or without explicit path for convert-ly, this doesn't help,
either...

All the best,
Torsten




--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: convert-ly path for Frescobaldi in Windows?

2018-03-12 Thread Ben

Hi all,


I recently switched from Linux to Windows 10 and I'm trying to get 
convert-ly to work in Frescobaldi 3. The "OK" button is greyed out and 
"Run Again" seems not to do anything. What path should I be using for 
convert-ly? My Lilypond installations are C:\Program 
Files\LilyPond\2.xx.x\.


Thanks,

Saul



Hi Saul,

I remember having issues with Frescobaldi 3 + convert-ly on Windows 10 
as well. I don't quite know the "why" but I know the workaround:


Just run convert-ly from a terminal/cmd and it works fine on the files. 
There's just some little hiccup when trying to do the conversion via 
Frescobaldi.


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


convert-ly path for Frescobaldi in Windows?

2018-03-11 Thread Saul Tobin
Hi all,

I recently switched from Linux to Windows 10 and I'm trying to get
convert-ly to work in Frescobaldi 3. The "OK" button is greyed out and "Run
Again" seems not to do anything. What path should I be using for
convert-ly? My Lilypond installations are C:\Program Files\LilyPond\2.xx.x\.

Thanks,

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