|
From: | Martin Tarenskeen |
Subject: | Re: Lilypond source code indenter and formatter |
Date: | Thu, 7 Jun 2012 08:56:23 +0200 (CEST) |
User-agent: | Alpine 2.02 (LFD 1266 2009-07-14) |
On Thu, 7 Jun 2012, Graham Percival wrote:
Is anyone on the list aware of a tool that takes a valid Lilypond score as input and produces as output the same .ly file but with the formatting and layout standardized?
Frescobaldi has a script to do it (see the issue), but it's not clear if it can be run independently or not.
In older versions of Frescobaldi the indent.py script could run as a standalone script. I have used it like that in the past. I also wrote something similar, but the script from frescobaldi worked better. (For example my own script made a mess of scheme code.)
The current version depends on several internal modules from frescobaldi. It should be possible to modify it for standalone usage. Wilbert Berendsen is reading this list, maybe he can comment on this?
-- MT
[Prev in Thread] | Current Thread | [Next in Thread] |