lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: convert-ly path for Frescobaldi in Windows?


From: Knute Snortum
Subject: Re: convert-ly path for Frescobaldi in Windows?
Date: Wed, 14 Mar 2018 06:54:07 -0700

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 <address@hidden> 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
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

[Prev in Thread] Current Thread [Next in Thread]