3 ly2dvi - convert mudela to DVI
7 ly2dvi [options] inputfile[.ly] [....]
11 ly2dvi is a shell script which creates input file for LaTeX,
12 based on information from the output files from lilypond.
13 The script handles multiple files. If a mudela file name is
14 specified lilypond is run to make an output (TeX) file.
16 One or more LaTeX files are created, based on information found
17 in the output (TeX) files, and latex is finally run to create
18 one or more DVI files.
26 Set debug mode. There are two levels - in level one some debug
27 info is written, in level two the command C<set -x> is run, which
28 echoes every command in the ly2dvi script.
30 =item B<-O,--orientation=>
32 Set orientation - portrait is the default.
33 (C<-O> landscape produces C<\usepackage[landscape]{article}>)
45 Keep the LaTeX file after the run.
49 Keep LilyPond output after the run.
51 =item B<-l,--language>
53 Specify LaTeX language.
54 (C<-l norsk> produces C<\usepackage[norsk]{babel}>).
56 =item B<-p,--papersize=>
59 (C<-p a4paper> produces C<\usepackage[a4paper]{article}>)
61 =item B<-s,--separate>
63 Normally all output files are included into one LaTeX file.
64 With this switch all files are run separately, to produce one
71 ly2dvi responds to several parameters specified in the mudela
72 file. They are overridden by corresponding command line options.
86 Specify LaTeX language
88 =item B<paperlinewidth>
90 Specify the width (pt, mm or cm) of the printed lines.
100 Additional directories for input files.
104 Temporary directory name. Default is /tmp
110 F<titledefs.tex> is inspected for definitions used to extract
111 additional text definitions from the mudela file. In the current
112 version the following are defined:
118 The title of the music. Centered on top of the first page.
122 Subtitle, centered below the title.
126 Name of the composer, rightflushed below the subtitle.
130 Name of the arranger, rightflushed below the composer.
134 Name of the instrument, leftflushed at same level as the composer.
138 F</usr/local/share/lilyrc /etc/lilyrc $HOME/.lilyrc ./.lilyrc>
139 are files to set up default running conditions/variables, Bourne shell
140 syntax. All files are parsed, in the shown sequence. The variables are
141 overridden by variables in the mudela file, and by command line options.
142 In the current version the following are allowed:
148 Set orientation - portrait is the default.
152 Specify LaTeX language.
156 Set output directory.
164 Additional directories for input files.
168 Temporary directory name.
174 lilypond(1), tex(1), latex(1)
178 Jan Arne Fagertun <Jan.A.Fagertun@energy.sintef.no>,
179 http://www.termo.unit.no/mtf/people/janaf/
183 If you have found a bug, you should send a bugreport.
188 Send a copy of the input which causes the error.
191 Send a description of the platform you use.
194 Send a description of the LilyPond and ly2dvi version you use.
197 Send a description of the bug itself.
200 Send it to bug-gnu-music@gnu.org (you don't have to subscribe
201 to this mailinglist).
207 Only one papersize is supported, A4. Information on other sizes
208 (LaTeX names, horizontal and vertical sizes) should be mailed to
209 the author or to the mailing list.