]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/man/mudela-book.yo
release: 1.1.43
[lilypond.git] / Documentation / man / mudela-book.yo
1
2 mailto(janneke@gnu.org)
3 COMMENT(
4         (PIPETHROUGH(echo -n `date '+%d/%b/%y'|tr '[a-z]' '[A-Z]'`)())
5 )
6 manpage(LilyPond)
7         (1)
8         (1998)
9         (The LilyPond package)
10         (mudela-book)
11
12 metalC(Automatically generated by yodl(1) from mudela-book.yo.)
13
14 manpagename(mudela-book)(integrate LaTeX and mudela)
15
16 manpagesynopsis() bf(mudela-book) [options] inputfile
17
18 manpagedescription() file(mudela-book) is a script that helps
19 integrating mudela and LaTeX.  mudela-book runs LilyPond on
20 fragments of mudela in your source file, and includes the results into
21 document that can be processed with LaTeX.  The result is a text
22 document with formatted music integrated.
23
24 Lilypond will by default create all output files in directory file(out).
25 The file to give to latex has ext file(.latex).
26
27 bf(About the input)
28
29 If the file contains the ``block''
30
31 verb(
32         \begin{mudela}
33         CONTENTS
34         \end{mudela}
35 )
36
37 then LilyPond is run on CONTENTS.  mudela-book puts the result back,
38 surrounded by code(\preMudelaExample) and code(\postMudelaExample)
39 commands. code(\preMudelaExample) and code(posMudelaExample) is
40 defined to nothing by default, and the user can redefine them
41 to whatever he wants.
42
43 code(\begin) takes the following options:
44
45 description(
46 dit(eps)
47     the music is created as eps graphics that can be inserted in 
48     the middle of a text line, not only as a separate paragraph
49 dit(verbatim)
50     CONTENTS is copied into the TeX source enclosed in a verbatim block.
51 dit(11pt, 13pt, 16pt, 20pt, 26pt)
52     set the fontsize to use for the music
53 dit(singleline)
54   linewidth = -1.
55 dit(multiline)
56   linewidth = textwidth
57 dit(fragment)
58 dit(nonfragment)
59     Override mudela-book autodetection of what type of code is in the
60     mudela block, voice contents or complete code.
61 )
62
63
64 manpageoptions()
65
66 startdit()
67
68 dit(--default-mudela-fontsize=??pt)
69     Set the fontsize to use for mudela if no fontsize is given
70     as option.
71 dit(--force-mudela-fontsize=??pt)
72     Force all mudela to use this fontsize, overriding options
73     given to \begin{mudela}
74 dit(--outname=FILE)
75     The name of LaTeX() file to output. If this option  is not given,
76 the output name derived from the input name.
77 dit(--outdir=DIRECTORY)
78     The directory to output lilypond output and input to.
79 dit(--help)
80         Print a short help message
81 dit(--dependencies)
82         Write dependencies to outdir/filename.dep
83 dit(--force-verbatim)
84         Make all mudela verbatim.
85 dit(--initfile=FILE)
86         read command definitions from file(FILE)
87 enddit()
88
89 manpagefiles()
90   See file(Documentation/tex/out/mudela-book-doc.dvi) for more info.
91   You have to install LaTeX.
92   file(mudela-book) is written in  python 1.5, so you have to install 
93   url(python)(http://www.python.org).
94
95 manpagebugs()
96   
97 The LaTeX \includeonly{...} command is ignored.
98
99 You get trouble if you use the --force-verbatim option and have some
100 music in \footnote{...} or \marginpar{...}.
101
102 Ignores almost all LaTeX commands that changes margins and linewidths.
103
104 manpageauthor()
105
106 nemail(Han-Wen Nienhuys)(hanwen@cs.uu.nl), lurl(http://www.cs.uu.nl/people/hanwen)
107
108 nemail(Tom Cato Amundsen)(tomato@xoommail.com)