]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/user/lilypond-book.itely
89a7af3af0efb93b3bc72ee3eee764a9f9e06f37
[lilypond.git] / Documentation / user / lilypond-book.itely
1 c -*- coding: utf-8; mode: texinfo; -*-
2
3
4 @ignore
5
6 TODO: cleanup
7
8 ** AARGH.  We also have tutorial.itely: Integrating text and music.
9
10    Could also do with a cleanup.  Lost inspiration to fix this manual
11    where to describe what?
12
13 @end ignore
14
15
16 @c Note: keep this node named so that `info lilypond-book' brings you here.
17 @node LilyPond-book
18 @chapter @command{lilypond-book}: Integrating text and music
19
20 If you want to add pictures of music to a document, you can simply do it
21 the way you would do with other types of pictures.  The pictures are
22 created separately, yielding PostScript output or PNG images, and those
23 are included into a La@TeX{} or HTML document.
24
25 @command{lilypond-book} provides a way to automate this process: This
26 program extracts snippets of music from your document, runs
27 @command{lilypond} on them, and outputs the document with pictures
28 substituted for the music.  The line width and font size definitions for
29 the music are adjusted to match the layout of your document.
30
31 This procedure may be applied to La@TeX{}, HTML or Texinfo documents.
32
33 @menu
34 * An example of a musicological document::  
35 * Integrating LaTeX and music::  
36 * Integrating Texinfo and music::  
37 * Integrating HTML and music::  
38 * Music fragment options::      
39 * Invoking lilypond-book::      
40 * Filename extensions::         
41 * Inserting LilyPond output into other programs::  
42 @end menu
43
44
45 @node An example of a musicological document
46 @section An example of a musicological document
47
48 @cindex musicology
49 @cindex La@TeX{}, music in
50 @cindex HTML, music in
51 @cindex Texinfo, music in
52 Some texts contain music examples.  These texts are musicological
53 treatises, songbooks, or manuals like this.  Such texts can be made by
54 hand, simply by importing a PostScript figure into the word processor.
55 However, there is an automated procedure to reduce the amount of work
56 involved in HTML, La@TeX{}, and Texinfo documents.
57
58 A script called @code{lilypond-book} will extract the music fragments,
59 format them, and put back the resulting notation.  Here we show a small
60 example for use with La@TeX{}.  The example also contains explanatory
61 text, so we will not comment on it further.
62
63 @quotation
64 @verbatim
65 \documentclass[a4paper]{article}
66
67 \begin{document}
68
69 Documents for @command{lilypond-book} may freely mix music and text.
70 For example,
71
72 \begin{lilypond}
73 \relative c' {
74   c2 g'2 \times 2/3 { f8 e d } c'2 g4
75 }
76 \end{lilypond}
77
78 Options are put in brackets.
79
80 \begin[fragment,quote,staffsize=26,verbatim]{lilypond}
81   c'4 f16
82 \end{lilypond}
83
84 Larger examples can be put into a separate file, and introduced with
85 \verb+\lilypondfile+.
86
87 \lilypondfile[quote,noindent]{screech-boink.ly}
88
89 \end{document}
90 @end verbatim
91 @end quotation
92
93 Under Unix, you can view the results as follows
94
95 @example
96 cd input/tutorial
97 mkdir -p out/
98 lilypond-book --output=out --psfonts lilybook.tex
99 @emph{lilypond-book (GNU LilyPond) 2.6.0}
100 @emph{Reading lilybook.tex...}
101 @emph{..lots of stuff deleted..}
102 @emph{Compiling out/lilybook.tex...}
103 cd out
104 latex lilybook
105 @emph{lots of stuff deleted}
106 xdvi lilybook
107 @end example
108
109 To convert the file into a PDF document, run the following commands
110
111 @example
112 dvips -o -Ppdf -h lilybook.psfonts lilybook
113 ps2pdf lilybook.ps
114 @end example
115
116 Running @command{lilypond-book} and @command{latex} creates a lot of
117 temporary files, which would clutter up the working directory.  To
118 remedy this, use the @code{--output=@var{dir}} option.  It will create
119 the files in a separate subdirectory @file{dir}.
120
121 Running dvips will produce many warnings about fonts.  They are not
122 harmful; please ignore them.
123
124 Finally the result of the La@TeX{} example shown above.@footnote{This
125 tutorial is processed with Texinfo, so the example gives slightly
126 different results in layout.}  This finishes the tutorial section.
127
128 @page
129
130 Documents for @command{lilypond-book} may freely mix music and text.
131 For example,
132
133 @lilypond
134 \relative c' {
135   c2 g'2 \times 2/3 { f8 e d } c'2 g4
136 }
137 @end lilypond
138
139 Options are put in brackets.
140
141 @lilypond[fragment,quote,staffsize=26,verbatim]
142 c'4 f16
143 @end lilypond
144
145 Larger examples can be put into a separate file, and introduced with
146 @code{\lilypondfile}.
147
148 @lilypondfile[quote,noindent]{screech-boink.ly}
149
150 @page
151
152 @cindex texinfo
153 @cindex latex
154 @cindex texinfo
155 @funindex texi
156 @cindex html
157 @cindex documents, adding music to
158
159
160 @node Integrating LaTeX and music
161 @section Integrating La@TeX{} and music
162
163 La@TeX{} is the de-facto standard for publishing layouts in the exact
164 sciences.  It is built on top of the @TeX{} typesetting engine,
165 providing the best typography available anywhere.
166
167 See
168 @uref{http://@/www@/.ctan@/.org/@/tex@/-archive/@/info/@/lshort/@/english/,
169 @emph{The Not So Short Introduction to La@TeX{}}} for an overview on how
170 to use La@TeX{}.
171
172 Music is entered using
173
174 @example
175 \begin[options,go,here]@{lilypond@}
176   YOUR LILYPOND CODE
177 \end@{lilypond@}
178 @end example
179
180 @noindent
181 or
182
183 @example
184 \lilypondfile[options,go,here]@{@var{filename}@}
185 @end example
186
187 @noindent
188 or
189
190 @example
191 \lilypond@{ YOUR LILYPOND CODE @}
192 @end example
193
194 Running @command{lilypond-book} yields a file that can be further
195 processed with La@TeX{}.
196
197 We show some examples here.  The lilypond environment
198
199 @example
200 \begin[quote,fragment,staffsize=26]@{lilypond@}
201   c' d' e' f' g'2 g'2
202 \end@{lilypond@}
203 @end example
204
205 @noindent
206 produces
207
208 @lilypond[quote,fragment,staffsize=26]
209 c' d' e' f' g'2 g'2
210 @end lilypond
211
212 The short version
213
214 @example
215 \lilypond[quote,fragment,staffsize=11]@{<c' e' g'>@}
216 @end example
217
218 @noindent
219 produces
220
221 @lilypond[quote,fragment,staffsize=11]{<c' e' g'>}
222
223 @noindent
224 Currently, you cannot include @code{@{} or @code{@}} within
225 @code{\lilypond@{@}}, so this command is only useful with the
226 @code{fragment} option.
227
228 The default line width of the music will be adjusted by examining the
229 commands in the document preamble, the part of the document before
230 @code{\begin@{document@}}.  The @command{lilypond-book} command sends
231 these to La@TeX{} to find out how wide the text is.  The line width for
232 the music fragments is then adjusted to the text width.  Note that this
233 heuristic algorithm can fail easily; in such cases it is necessary to
234 use the @code{line-width} music fragment option.
235
236 @cindex titling and lilypond-book
237 @funindex \header in La@TeX{} documents
238
239 Each snippet will call the following macros if they have been defined by
240 the user:
241
242 @code{\preLilyPondExample} called before the music
243
244 @code{\postLilyPondExample} called after the music
245
246 @code{\betweenLilyPondSystem[1]} is called between systems if
247 @code{lilypond-book} has split the snippet into several postscript
248 files.  It must be defined as taking one parameter and will be
249 passed the number of files already included in this snippet.
250 The default is to simply insert a @code{\linebreak}.
251
252 @ignore
253 Broken stuff.  :(
254
255 @cindex Latex, feta symbols
256 @cindex fetachar
257
258 To include feta symbols (such as flat, segno, etc) in a LaTeX
259 document, use @code{\input@{titledefs@}}
260
261 @example
262 \documentclass[a4paper]@{article@}
263
264 \input@{titledefs@}
265
266 \begin@{document@}
267
268 \fetachar\fetasharp
269
270 \end@{document@}
271 @end example
272
273 The font symbol names are defined in the file feta20.tex; to find
274 the location of this file, use the command
275
276 @example
277 kpsewhich feta20.tex
278 @end example
279
280 @end ignore
281
282 @cindex outline fonts
283 @cindex type1 fonts
284 @cindex dvips
285 @cindex invoking dvips
286
287 For printing the La@TeX{} document you need a DVI to PostScript
288 translator like @command{dvips}.  To use @command{dvips} to produce
289 a PostScript file, add the following options to the @command{dvips}
290 command line:
291
292 @example
293 -o -Ppdf -h @var{file}.psfonts
294 @end example
295
296 @noindent
297 where the @var{file}@command{psfonts} file is obtained from
298 @command{lilypond-book}, @xref{Invoking lilypond-book}, for details. PDF
299 can then be produced with a PostScript to PDF translator like
300 @code{ps2pdf} (which is part of GhostScript).  Running @command{dvips}
301 will produce some warnings about fonts; these are harmless and may
302 be ignored.
303
304 @cindex international characters
305 @cindex latin1
306
307 Sometimes it is useful to display music elements (such as ties and slurs)
308 as if they continued after the end of the fragment.  This can be done by
309 breaking the staff and suppressing inclusion of the rest of the lilypond
310 output.
311
312 In La@TeX{}, define @code{\betweenLilyPondSystem} in such a way that
313 inclusion of other systems is terminated once the required number of
314 systems are included.  Since @code{\betweenLilypondSystem} is first
315 called @b{after} the first system, including only the first system
316 is trivial.
317
318 @example
319 \def\betweenLilyPondSystem#1@{\endinput@}
320
321 \begin[fragment]@{lilypond@}
322   c'1\( e'( c'~ \break c' d) e f\)
323 \end@{lilypond@}
324 @end example
325
326 If a greater number of systems is requested, a TeX conditional must be
327 used before the @code{\endinput}.  In this example, replace "2" by
328 the numer of systems you want in the output,
329
330 @example
331 \def\betweenLilyPondSystem#1@{
332     \ifnum##1<2\else\endinput\fi
333 @}
334 @end example
335
336 Remember that the definition of @code{\betweenLilyPondSystem} is
337 effective until @TeX{} quits the current group (such as the La@TeX{}
338 environment) or is overridden by another definition (which is, in
339 most cases, for the rest of the document).  To reset your
340 definition, write
341
342 @example
343 \let\betweenLilyPondSystem\undefined
344 @end example
345
346 @noindent
347 in your LaTeX source.
348
349 This may be simplified by defining a @TeX{} macro
350
351 @example
352 \def\onlyFirstNSystems#1@{
353     \def\betweenLilyPondSystem##1@{\ifnum##1<#1\else\endinput\fi@}
354 @}
355 @end example
356
357 @noindent
358 and then saying only how many systems you want before each fragment,
359
360 @example
361 \onlyFirstNSystems@{3@}
362 \begin@{lilypond@}...\end@{lilypond@}
363 \onlyFirstNSystems@{1@}
364 \begin@{lilypond@}...\end@{lilypond@}
365 @end example
366
367
368 @node Integrating Texinfo and music
369 @section Integrating Texinfo and music
370
371 Texinfo is the standard format for documentation of the GNU project.  An
372 example of a Texinfo document is this manual.  The HTML, PDF, and Info
373 versions of the manual are made from the Texinfo document.
374
375 In the input file, music is specified with
376
377 @example
378 @@lilypond[options,go,here]
379   YOUR LILYPOND CODE
380 @@end lilypond
381 @end example
382
383 @noindent
384 or
385
386 @example
387 @@lilypond[options,go,here]@{ YOUR LILYPOND CODE @}
388 @end example
389
390 @noindent
391 or
392
393 @example
394 @@lilypondfile[options,go,here]@{@var{filename}@}
395 @end example
396
397 When @command{lilypond-book} is run on it, this results in a Texinfo
398 file (with extension @file{.texi}) containing @code{@@image} tags for
399 HTML and info output.  For the printed edition, the raw @TeX{} output of
400 LilyPond is included in the main document.
401
402 We show two simple examples here.  A @code{lilypond} environment
403
404 @example
405 @@lilypond[fragment]
406 c' d' e' f' g'2 g'
407 @@end lilypond
408 @end example
409
410 @noindent
411 produces
412
413 @lilypond[fragment]
414 c' d' e' f' g'2 g'
415 @end lilypond
416
417 The short version
418
419 @example
420 @@lilypond[fragment,staffsize=11]@{<c' e' g'>@}
421 @end example
422
423 @noindent
424 produces
425
426 @lilypond[fragment,staffsize=11]{<c' e' g'>}
427
428 Contrary to La@TeX{}, @code{@@lilypond@{...@}} does not generate an
429 in-line image.  It always gets a paragraph of its own.
430
431 When using the Texinfo output format, @command{lilypond-book} also
432 generates bitmaps of the music (in PNG format), so you can make an HTML
433 document with embedded music.
434
435
436 @node Integrating HTML and music
437 @section Integrating HTML and music
438
439 Music is entered using
440
441 @example
442 <lilypond fragment relative=2>
443 \key c \minor c4 es g2
444 </lilypond>
445 @end example
446
447 @noindent
448 @command{lilypond-book} then produces an HTML file with appropriate image
449 tags for the music fragments:
450
451 @lilypond[fragment,relative=2]
452 \key c \minor c4 es g2
453 @end lilypond
454
455 For inline pictures, use @code{<lilypond ... />}, where the options
456 are separated by a colon from the music, for example
457
458 @example
459 Some music in <lilypond relative=2: a b c/> a line of text.
460 @end example
461
462 To include separate files, say
463
464 @example
465 <lilypondfile @var{option1} @var{option2} ...>@var{filename}</lilypondfile>
466 @end example
467
468 @cindex titling in HTML
469 @cindex preview image
470 @cindex thumbnail
471
472
473 @node Music fragment options
474 @section Music fragment options
475
476 In the following, a ``LilyPond command'' refers to any command described
477 in the previous sections which is handled by @command{lilypond-book} to
478 produce a music snippet.  For simplicity, LilyPond commands are only
479 shown in La@TeX{} syntax.
480
481 Note that the option string is parsed from left to right; if an option
482 occurs multiple times, the last one is taken.
483
484 The following options are available for LilyPond commands:
485
486 @table @code
487 @item staffsize=@var{ht}
488 Set staff size to @var{ht}, which is measured in points.
489
490 @item ragged-right
491 Produce ragged-right lines with natural spacing (i.e., @code{ragged-right
492 = ##t} is added to the LilyPond snippet).  This is the default for the
493 @code{\lilypond@{@}} command if no @code{line-width} option is present.
494 It is also the default for the @code{lilypond} environment if the
495 @code{fragment} option is set, and no line width is explicitly
496 specified.
497
498 @item packed
499 Produce lines with packed spacing (i.e., @code{packed = ##t} is added
500 to the LilyPond snippet).
501
502 @item line-width
503 @itemx line-width=@var{size}\@var{unit}
504 Set line width to @var{size}, using @var{unit} as units.  @var{unit} is
505 one of the following strings: @code{cm}, @code{mm}, @code{in}, or
506 @code{pt}.  This option affects LilyPond output (this is, the staff
507 length of the music snippet), not the text layout.
508
509 If used without an argument, set line width to a default value (as
510 computed with a heuristic algorithm).
511
512 If no @code{line-width} option is given, @command{lilypond-book} tries to
513 guess a default for @code{lilypond} environments which don't use the
514 @code{ragged-right} option.
515
516 @item notime
517 Do not print the time signature, and turns off the timing (key signature,
518 bar lines) in the score.
519
520 @item fragment
521 Make @command{lilypond-book} add some boilerplate code so that you can
522 simply enter, say,
523
524 @example
525 c'4
526 @end example
527
528 @noindent
529 without @code{\layout}, @code{\score}, etc.
530
531 @item nofragment
532 Don't add additional code to complete LilyPond code in music snippets.
533 Since this is the default, @code{nofragment} is redundant normally.
534
535 @item indent=@var{size}\@var{unit}
536 Set indentation of the first music system to @var{size}, using
537 @var{unit} as units. @var{unit} is one of the following strings:
538 @code{cm}, @code{mm}, @code{in}, or @code{pt}.  This option affects
539 LilyPond, not the text layout.
540
541 @item noindent
542 Set indentation of the first music system to zero.  This option affects
543 LilyPond, not the text layout.  Since no indentation is the default,
544 @code{noindent} is redundant normally.
545
546 @item quote
547 Reduce line length of a music snippet by @math{2*0.4}@dmn{in} and put
548 the output into a quotation block.  The value `0.4@dmn{in}' can be
549 controlled with the @code{exampleindent} option.
550
551 @item exampleindent
552 Set the amount by which the @code{quote} option indents a music snippet.
553
554 @item relative
555 @itemx relative=@var{n}
556 Use relative octave mode.  By default, notes are specified relative to
557 middle@tie{}C.  The optional integer argument specifies the octave of
558 the starting note, where the default @code{1} is middle C.
559 @end table
560
561 LilyPond also uses @command{lilypond-book} to produce its own
562 documentation.  To do that, some more obscure music fragment options are
563 available.
564
565 @table @code
566 @item verbatim
567 The argument of a LilyPond command is copied to the output file and
568 enclosed in a verbatim block, followed by any text given with the
569 @code{intertext} option (not implemented yet); then the actual music is
570 displayed.  This option does not work well with @code{\lilypond@{@}} if
571 it is part of a paragraph.
572
573 @item texidoc
574 (Only for Texinfo output.)  If @command{lilypond} is called with the
575 @option{--header=@/texidoc} option, and the file to be processed is
576 called @file{foo@/.ly}, it creates a file @file{foo@/.texidoc} if there
577 is a @code{texidoc} field in the @code{\header}.  The @code{texidoc}
578 option makes @command{lilypond-book} include such files, adding its
579 contents as a documentation block right before the music snippet.
580
581 Assuming the file @file{foo@/.ly} contains
582
583 @example
584 \header @{
585   texidoc = "This file demonstrates a single note."
586 @}
587 @{ c'4 @}
588 @end example
589
590 @noindent
591 and we have this in our Texinfo document @file{test.texinfo}
592
593 @example
594 @@lilypondfile[texidoc]@{foo.ly@}
595 @end example
596
597 @noindent
598 the following command line gives the expected result
599
600 @example
601 lilypond-book --process="lilypond --format=tex --tex \
602               --header=texidoc test.texinfo
603 @end example
604
605 Most LilyPond test documents (in the @file{input} directory of the
606 distribution) are small @file{.ly} files which look exactly like this.
607
608 @item printfilename
609 If a LilyPond input file is included with @code{\lilypondfile}, print
610 the file name right before the music snippet.  For HTML output, this is
611 a link.
612
613 @item fontload
614 This option includes fonts in all of the generated EPS-files for this
615 snippet. This should be used if the snippet uses any font that LaTeX
616 cannot find on its own.
617
618 @end table
619
620
621 @node Invoking lilypond-book
622 @section Invoking @command{lilypond-book}
623
624 @command{lilypond-book} produces a file with one of the following
625 extensions: @file{.tex}, @file{.texi}, or @file{.html}, depending on the
626 output format.  Both @file{.tex} and @file{.texi} files need further
627 processing.
628
629 @command{lilypond-book} can also create a PSFONTS file, which is required
630 by @command{dvips} to produce Postscript and PDF files.
631
632 To produce PDF output from the lilypond-book file (here called
633 @code{yourfile.lytex}) via LaTeX, you should do
634
635 @example
636 lilypond-book --psfonts yourfile.lytex
637 latex yourfile.tex
638 dvips -o -h yourfile.psfonts -Ppdf yourfile.dvi
639 ps2pdf yourfile.ps
640 @end example
641
642 The @file{.dvi} file created by this process will not contain
643 noteheads.  This is normal; if you follow the instructions, they
644 will be included in the @file{.ps} and @file{.pdf} files.
645
646 To produce a PDF file through PDF(La)TeX, use
647  
648 @example
649 lilypond-book --pdf yourfile.pdftex
650 pdflatex yourfile.tex
651 @end example
652  
653
654 To produce a Texinfo document (in any output format), follow the normal
655 procedures for Texinfo (this is, either call @command{texi2dvi} or
656 @command{makeinfo}, depending on the output format you want to
657 create).
658 @ifinfo
659 @xref{Format with texi2dvi, , , texinfo, GNU Texinfo}, and @ref{Creating
660 an Info File, , , texinfo, GNU Texinfo}.
661 @end ifinfo
662 @ifnotinfo
663 See the documentation of Texinfo for further details.
664 @end ifnotinfo
665
666
667 @command{lilypond-book} accepts the following command line options:
668
669 @table @code
670 @item -f @var{format}
671 @itemx --format=@var{format}
672 Specify the document type to process: @code{html}, @code{latex}, or
673 @code{texi} (the default).  If this option is missing,
674 @command{lilypond-book} tries to detect the format automatically.
675
676 The @code{texi} document type produces a Texinfo file with music
677 fragments in the DVI output only.  For getting images in the HTML
678 version, the format @code{texi-html} must be used instead.
679
680 [Note: Currently, @code{texi} is the same as @code{texi-html}.]
681
682 @item -F @var{filter}
683 @itemx --filter=@var{filter}
684 Pipe snippets through @var{filter}.  @code{lilypond-book} will
685 not --filter and --process at the same time.
686
687 Example:
688 @example
689 lilypond-book --filter='convert-ly --from=2.0.0 -' my-book.tely
690 @end example
691
692 @item -h
693 @itemx --help
694 Print a short help message.
695
696 @item -I @var{dir}
697 @itemx --include=@var{dir}
698 Add @var{dir} to the include path.
699
700 @item -o @var{dir}
701 @itemx --output=@var{dir}
702 Place generated files in directory @var{dir}.  Running
703 @command{lilypond-book} generates lots of small files that LilyPond will
704 process.  To avoid all that garbage in the source directory use the
705 @option{--output} command line option, and change to that directory
706 before running @command{latex} or @command{makeinfo}:
707
708 @example
709 lilypond-book --output=out yourfile.lytex
710 cd out
711 ...
712 @end example
713
714 @item -P @var{process}
715 @itemx --process=@var{command}
716 Process LilyPond snippets using @var{command}.  The default command is
717 @code{lilypond}.  @code{lilypond-book} will not --filter and --process
718 at the same time.
719
720 @itemx --psfonts
721 extract all PostScript fonts into @file{@var{file}.psfonts} for dvips.
722 This is necessary for @command{dvips -h @var{file}.psfonts}.
723
724 @item -V
725 @itemx --verbose
726 Be verbose.
727
728 @item -v
729 @itemx --version
730 Print version information.
731 @end table
732
733 @refbugs
734
735 The Texinfo command @code{@@pagesizes} is not interpreted.  Similarly,
736 La@TeX{} commands that change margins and line widths after the preamble
737 are ignored.
738
739 Only the first @code{\score} of a LilyPond block is processed.
740
741
742 @node Filename extensions
743 @section Filename extensions
744
745 You can use any filename extension for the input file, but if you do not
746 use the recommended extension for a particular format you may need to
747 manually specify the output format.  @xref{Invoking lilypond-book}, for
748 details.  Otherwise, @command{lilypond-book} automatically selects the
749 output format based on the input filename's extension.
750
751 @quotation
752 @multitable @columnfractions .2 .5
753 @item @strong{extension} @tab @strong{output format}
754 @item
755 @item @file{.html} @tab HTML
756 @item @file{.itely} @tab Texinfo
757 @item @file{.latex} @tab La@TeX{}
758 @item @file{.lytex} @tab La@TeX{}
759 @item @file{.tely} @tab Texinfo
760 @item @file{.tex} @tab La@TeX{}
761 @item @file{.texi} @tab Texinfo
762 @item @file{.texinfo} @tab Texinfo
763 @item @file{.xml} @tab HTML
764 @end multitable
765 @end quotation
766
767
768 @node Inserting LilyPond output into other programs
769 @section Inserting LilyPond output into other programs
770
771 To insert LilyPond output in other programs, use @code{lilypond}
772 instead of @code{lilypond-book}.  Each example must be created
773 individually and added to the document; consult the
774 documentation for that program.  Most programs will be able
775 to insert lilypond output in @file{PNG}, @file{EPS}, or @file{PDF}
776 formats.
777
778 To reduce the white space around your lilypond score, use
779 the following options
780
781 @example
782 \paper@{
783   indent=0\mm
784   line-width=120\mm
785   oddFooterMarkup=##f
786   oddHeaderMarkup=##f
787   bookTitleMarkup = ##f
788   scoreTitleMarkup = ##f
789 @}
790
791 @{ c1 @}
792 @end example
793
794 To produce a useful @file{eps} file, use
795
796 @example
797 lilypond -b eps -dno-gs-load-fonts -dinclude-eps-fonts   myfile.ly
798 @end example
799