Set the goal version of the conversion. It defaults to the latest
available version.
@item -h, --help
- Print usage help
+ Print usage help.
@end table
@table @code
@item -a, --absolute-pitches
- Print absolute pitches
+ Print absolute pitches.
@item -d, --duration-quant=@var{DUR}
- Quantise note durations on @var{DUR}
+ Quantise note durations on @var{DUR}.
@item -e, --explicit-durations
- Print explicit durations
+ Print explicit durations.
@item -h,--help
- Show summary of usage
+ Show summary of usage.
@item -k, --key=@var{acc}[:@var{minor}]
Set default key. @var{acc} > 0 sets number of sharps; @var{acc} < 0
- sets number of flats. A minor key is indicated by ":1"
+ sets number of flats. A minor key is indicated by ":1".
@item -o, --output=@var{file}
- Write output to @var{file}
+ Write output to @var{file}.
@item -s, --start-quant=@var{DUR}
- Quantise note starts on DUR
+ Quantise note starts on DUR.
@item -t, --allow-tuplet=@var{DUR}*@var{NUM}/@var{DEN}
- Allow tuplet durations @var{DUR}*@var{NUM}/@var{DEN}
+ Allow tuplet durations @var{DUR}*@var{NUM}/@var{DEN}.
@item -V, --verbose
- Be verbose
+ Be verbose.
@item -v, --version
- Print version number
+ Print version number.
@item -w, --warranty
- Show warranty and copyright
+ Show warranty and copyright.
@item -x, --text-lyrics
- Treat every text as a lyric
+ Treat every text as a lyric.
@end table
etf2ly [@var{option}]@dots{} @var{etf-file}
@end example
-The following options are supported by etf2ly.
+The following options are supported by etf2ly:
@table @code
@item -h,--help
this help
ABC is a fairly simple ASCII based format. It is described at the abc site:
@quotation
-@uref{http://www.gre.ac.uk/~c.walshaw/abc2mtex/abc.txt}
+@uref{http://www.gre.ac.uk/~c.walshaw/abc2mtex/abc.txt}.
@end quotation
abc2ly translates from ABC to LilyPond. It is invoked as follows:
This will cause the text following the keyword ``voices'' to be inserted
into the current voice of the LilyPond output file.
-Similarly:
+Similarly,
@example
%%LY slyrics more words
@end example
@noindent
-produces this music:
+produces
@lilypond
c' d' e' f' g'2 g'
@end example
@noindent
-and its music:
+produces
@lilypond[11pt]{ <<c' e' g'>> }
@section Integrating LaTeX and music
-For La@TeX{}, music is entered like this:
+For La@TeX{}, music is entered using
@example
\begin[options, go, here]@{lilypond@}
@end example
Running lilypond-book yields a file that can be processed with
-La@TeX{}. We show some examples here.
+La@TeX{}. We show some examples here:
@example
\begin[26pt]@{lilypond@}
@end example
@noindent
-produces this music:
+produces
@lilypond[26pt]
c' d' e' f' g'2 g'2
@end example
@noindent
-and its music:
+produces
@lilypond[11pt]{<<c' e' g'>>}
@node Integrating HTML and music
@section Integrating HTML and music
-Music is entered like this:
+Music is entered using
@example
<lilypond relative1 verbatim>
@end example
@noindent
-lilypond-book will produce a HTML with appropriate image tags for the
-music fragments.
+of which lilypond-book will produce a HTML with appropriate image tags for the
+music fragments:
@example
<lilypond relative1 verbatim>
@end example
A special feature not (yet) available in other output formats, is the
-@code{<ly2dvifile>} tag, for example
+@code{<ly2dvifile>} tag, for example,
@example
<ly2dvifile>trip.ly</ly2dvifile>
@end example
-This runs @file{trip.ly} through ly2dvi (See also @ref{Invoking
+This runs @file{trip.ly} through ly2dvi (see also @ref{Invoking
ly2dvi}), and substitutes a preview image in the output. The image
links to a separate HTML file, so clicking it will take the viewer to
a menu, with links to images, midi and printouts.
@code{ @@lilypond@{ CONTENTS @} } and @code{ \lilypond@{ CONTENTS @} }
@item smallverbatim
-Like @code{verbatim}, but in a smaller font.
+works like @code{verbatim}, but in a smaller font.
@item intertext="@var{text}"
-Used in conjunction with @code{verbatim} option: This puts
+is used in conjunction with @code{verbatim} option: This puts
@var{text} between the code and the music (without indentation).
@item filename="@var{filename}"
-Save the LilyPond code to @var{filename}. By default, a hash value
+saves the LilyPond code to @var{filename}. By default, a hash value
of the code is used.
@item 11pt
@end lilypond
@item raggedright
-Produce naturally spaced lines (i.e., @code{raggedright = ##t}); this
+produces naturally spaced lines (i.e., @code{raggedright = ##t}); this
works well for small music fragments.
@item multiline
-The opposite of @code{singleline}: Justify and break lines.
+is the opposite of @code{singleline}: it justifies and breaks lines.
@item linewidth=@var{size}@var{unit}
-Set linewidth to @var{size}, where @var{unit} = cm, mm, in, or pt.
+sets linewidth to @var{size}, where @var{unit} = cm, mm, in, or pt.
This option affects LilyPond output, not the text layout.
@item notime
-Do not print time signature.
+prevents printing time signature.
@item fragment
@itemx nofragment
-Override @command{lilypond-book} auto detection of what type of code is
+overrides @command{lilypond-book} auto detection of what type of code is
in the LilyPond block, voice contents or complete code.
@item indent=@var{size}@var{unit}
-Set indentation of the first music system to @var{size},
+sets indentation of the first music system to @var{size},
where @var{unit} = cm, mm, in, or pt. This option affects LilyPond,
not the text layout. For single-line fragments the default is to
use no indentation.
@item noindent
-Set indentation of the first music system to zero. This option
+sets indentation of the first music system to zero. This option
affects LilyPond, not the text layout.
@item notexidoc
-Do not include @code{texidoc}. This is only for Texinfo output.
+prevents including @code{texidoc}. This is only for Texinfo output.
In Texinfo, the music fragment is normally preceded by the
@code{texidoc} field from the @code{\header}. The LilyPond test
-documents are composed from small @file{.ly} files in this way,
+documents are composed from small @file{.ly} files in this way:
@example
\header @{
@end example
@item quote
-Instruct @command{lilypond-book} to put La@TeX{} and Texinfo output
+instructs @command{lilypond-book} to put La@TeX{} and Texinfo output
into a quotation block.
@item printfilename
-Prints the file name before the music example. Useful in conjunction
+prints the file name before the music example. Useful in conjunction
with @code{\lilypondfile}.
@item relative, relative @var{N}
-Use relative octave mode. By default, notes are specified relative
+uses relative octave mode. By default, notes are specified relative
central C. The optional integer argument specifies the octave of the
starting note, where the default @code{1} is central C.
@end table
Running @command{lilypond-book} generates lots of small files that
LilyPond will process. To avoid all that garbage in the source
-directory, it is advisable to change to a temporary directory first,
+directory, it is advisable to change to a temporary directory first:
@example
cd out && lilypond-book ../yourfile.tex
@end example
@command{lilypond-book} processes all music fragments in one big run.
The state of the GUILE interpreter is not reset between fragments;
-this means that changes made to global GUILE definitions, e.g., done
+this means that changes made to global GUILE definitions, e.g. done
with @code{set!} or @code{set-cdr!}, can leak from one fragment into
the next fragment.