.TH "LilyPond" "1" "1998" "The LilyPond package" "mudela-book" .PP .PP .SH "NAME" mudela-book \- integrate LaTeX and mudela .PP .SH "SYNOPSIS" \fBmudela-book\fP [options] inputfile .PP .SH "DESCRIPTION" \fBmudela-book\fP is a script that helps integrating mudela and LaTeX\&. mudela-book runs LilyPond on fragments of mudela in your source file, and includes the results into document that can be processed with LaTeX\&. The result is a text document with formatted music integrated\&. .PP Lilypond will by default create all output files in directory \fBout\fP\&. The file to give to latex has ext \fB\&.latex\fP\&. .PP \fBAbout the input\fP .PP If the file contains the ``block\'\' .PP .DS \ebegin{mudela} CONTENTS \eend{mudela} .DE .PP then LilyPond is run on CONTENTS\&. mudela-book puts the result back, surrounded by \f(CW\epreMudelaExample\fP and \f(CW\epostMudelaExample\fP commands\&. \f(CW\epreMudelaExample\fP and \f(CWposMudelaExample\fP is defined to nothing by default, and the user can redefine them to whatever he wants\&. .PP \f(CW\ebegin\fP takes the following options: .PP .IP "eps" the music is created as eps graphics that can be inserted in the middle of a text line, not only as a separate paragraph .IP "verbatim" CONTENTS is copied into the TeX source enclosed in a verbatim block\&. .IP "11pt, 13pt, 16pt, 20pt, 26pt" set the fontsize to use for the music .IP "singleline" linewidth = -1\&. .IP "multiline" linewidth = textwidth .IP "fragment" .IP "nonfragment" Override mudela-book autodetection of what type of code is in the mudela block, voice contents or complete code\&. .PP .SH "OPTIONS" .PP .IP .IP "--default-mudela-fontsize=??pt" Set the fontsize to use for mudela if no fontsize is given as option\&. .IP "--force-mudela-fontsize=??pt" Force all mudela to use this fontsize, overriding options given to \ebegin{mudela} .IP "--outname=FILE" The name of file to output\&. If this option is not given, the output name derived from the input name\&. .IP "--outdir=DIRECTORY" The directory to output lilypond output and input to\&. .IP "--help" Print a short help message .IP "--dependencies" Write dependencies to outdir/filename\&.dep .IP "--force-verbatim" Make all mudela verbatim\&. .IP "--initfile=FILE" read command definitions from \fBFILE\fP .PP .SH "FILES" See \fBDocumentation/tex/out/mudela-book-doc\&.dvi\fP for more info\&. You have to install LaTeX\&. \fBmudela-book\fP is written in python 1\&.5, so you have to install python\&. .PP .SH "BUGS" .PP The LaTeX \eincludeonly{\&.\&.\&.} command is ignored\&. .PP You get trouble if you use the --force-verbatim option and have some music in \efootnote{\&.\&.\&.} or \emarginpar{\&.\&.\&.}\&. .PP Ignores almost all LaTeX commands that changes margins and linewidths\&. .PP .SH "AUTHOR" .PP Han-Wen Nienhuys , http://www\&.cs\&.uu\&.nl/people/hanwen .PP Tom Cato Amundsen