Is there somebody out there working with emacs lilypond-mode??
I use the example file from the tutorial:
--------------------------
\documentclass[a4paper]{article}
\begin{document}
Documents for @command{lilypond-book} may freely mix music and text.
For example,
\begin{lilypond}
\relative c' {
c2 g'2 \times 2/3 { f8 e d } c'2 g4
}
\end{lilypond}
Options are put in brackets.
\begin[fragment,quote,staffsize=26,verbatim]{lilypond}
c'4 f16
\end{lilypond}
Larger examples can be put into a separate file, and introduced with
\verb+\lilypondfile+.
\lilypondfile[quote,noindent]{screech-boink.ly}
\end{document}
-----------------------------
I save it with .lytex extension and open it im emacs ... lilypond-mode is
active.
Then as far as I understand I have to press 'Command--Book' to process the file
with lilypond-book, and then open a newly produced .tex file and run 'Command-
Latex'.....but the 'Book' comand gives me the following errormessage:
-------------------------------
-*- mode: compilation; default-directory: "~/latex projekte/jazzguitar/" -*-
Compilation started at Thu May 28 21:26:46
lilypond-book "c:/Dokumente und Einstellungen/work/latex
projekte/jazzguitar/lbooktest1".tely
Usage: lilypond-book [OPTION]... FILE
Process LilyPond snippets in hybrid HTML, LaTeX, texinfo or DocBook document.
Examples:
...
Compilation exited abnormally with code 2 at Thu May 28 21:26:46
---------------------------------
the lilypond part of my .emacs file looks like that: