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<-F,--headers=>
32 Name of additional LaTeX headers file. This is included in the
33 tex file at the end of the headers, last line before \begin{document}
37 Set paper heigth (points). Used together with width and LaTeX name of
38 papersize in case of papersize unknown to ly2dvi.
40 =item B<-F,--headers=>
42 Name of additional LaTeX headers file. This is included in the
43 tex file at the end of the headers, last line before \begin{document}
45 =item B<-K,--keeplilypond>
47 Keep LilyPond output after the run.
49 =item B<-L,--landscape>
51 Set landscape orientation - portrait is the default.
52 (C<-L> produces C<\usepackage[landscape]{article}>)
54 =item B<-N,--nonumber>
56 Switch off page numbering.
58 =item B<-O,--orientation=>
60 Set orientation landscape - obsolete, use C<-L> instead.
64 Set paper width (points). Used together with heigth and LaTeX name of
65 papersize in case of papersize unknown to ly2dvi.
67 =item B<-d,--dependencies>
69 Tell lilypond to make dependencies file.
75 =item B<-k,--keeply2dvi>
77 Keep the LaTeX file after the run.
79 =item B<-l,--language=>
81 Specify LaTeX language.
82 (C<-l norsk> produces C<\usepackage[norsk]{babel}>).
88 =item B<-p,--papersize=>
91 (C<-p a4> produces C<\usepackage[a4paper]{article}>)
93 =item B<-s,--separate>
95 Normally all output files are included into one LaTeX file.
96 With this switch all files are run separately, to produce one
103 ly2dvi responds to several parameters specified in the mudela
104 file. They are overridden by corresponding command line options.
108 =item B<language="";>
110 Specify LaTeX language
112 =item B<latexheaders="";>
114 Specify additional LaTeX headers file
116 =item B<orientation="";>
120 =item B<paperlinewidth="";>
122 Specify the width (pt, mm or cm) of the printed lines.
124 =item B<papersize="";>
126 Specify name of papersize.
136 Additional directories for input files.
140 Temporary directory name. Default is /tmp
146 F<titledefs.tex> is inspected for definitions used to extract
147 additional text definitions from the mudela file. In the current
148 version the following are defined:
154 The title of the music. Centered on top of the first page.
158 Subtitle, centered below the title.
162 Name of the composer, rightflushed below the subtitle.
166 Name of the arranger, rightflushed below the composer.
170 Name of the instrument, leftflushed at same level as the composer.
174 F</usr/local/share/lilyrc /etc/lilyrc $HOME/.lilyrc ./.lilyrc>
175 are files to set up default running conditions/variables, Bourne shell
176 syntax. All files are parsed, in the shown sequence. The variables are
177 overridden by variables in the mudela file, and by command line options.
178 In the current version the following are allowed:
184 Specify LaTeX language.
188 Specify additional LaTeX headers file
190 =item B<LILYINCLUDE=>
192 Additional directories for input files.
194 =item B<ORIENTATION=>
196 Set orientation - portrait is the default.
200 Set output directory.
204 Specify name of papersize.
208 Specify paperheight (points - an inch is 72.27, a cm is 28.453 points).
212 Temporary directory name.
216 Specify paperwidth (points - an inch is 72.27, a cm is 28.453 points).
222 lilypond(1), tex(1), latex(1)
226 Jan Arne Fagertun <Jan.A.Fagertun@energy.sintef.no>,
227 http://www.termo.unit.no/mtf/people/janaf/
231 If you have found a bug, you should send a bugreport.
236 Send a copy of the input which causes the error.
239 Send a description of the platform you use.
242 Send a description of the LilyPond and ly2dvi version you use.
245 Send a description of the bug itself.
248 Send it to bug-gnu-music@gnu.org (you don't have to subscribe
249 to this mailinglist).
255 Many papersizes are now supported. Information on other sizes
256 (LaTeX names, horizontal and vertical sizes) should be mailed to
257 the author or to the mailing list.
259 Supported papersizes are:
261 a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, archA, archB, archC, archD,
262 archE, b0, b1, b2, b3, b4, b5, flsa, flse, halfletter, ledger, legal,