]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/user/convert-ly.itexi
release: 1.3.122
[lilypond.git] / Documentation / user / convert-ly.itexi
1
2 @node convert-ly, , , Top
3 @chapter convert-ly
4 @code{convert-ly} sequentially applies different
5 lilypond-conversions to upgrade a Lilypond input file.  It uses
6 @code{\version} statements in the file to detect the old version
7 number.
8
9 @example
10         convert-ly [options] [files]
11 @end example
12
13 @section Options
14 @table @samp
15 @item --output
16     The output file to write.  
17 @item --edit
18     Do an inline edit of the input file. override @code{--output}
19 @item --show-rules
20     shows all known conversions, and exit
21 @item --from=@var{FROM_PATCHLEVEL}
22     Set the level to convert from. If this is not set, convert-ly will
23     guess this, on the basis of @code{\version} strings in the file
24 @item --to=@var{TO_PATCHLEVEL}
25     Set the goal version of the conversion. It defaults to the latest
26     available version.
27 @end table
28
29 Not all language changes are handled. Multiple output options won't
30 work.
31
32 convert-ly is written in python, so you have install
33 @uref{http://www.python.org,python}.  It was written by
34 @email{hanwen@@cs.uu.nl, Han-Wen Nienhuys}.
35
36
37