[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs lilypond-mode
From: |
Thomas |
Subject: |
emacs lilypond-mode |
Date: |
Thu, 28 May 2009 20:12:49 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
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:
-----------------------
(autoload 'LilyPond-mode "lilypond-mode")
(add-to-list 'load-path "c:/Programme/ GNU Emacs 22.3/site-lisp/tex-site.el")
(add-to-list 'auto-mode-alist '("\\.ly$" . LilyPond-mode))
(setq auto-mode-alist
(cons '("\\.ly$" . LilyPond-mode) auto-mode-alist))
(add-to-list 'auto-mode-alist '("\\.lytex$" . LilyPond-mode))
(setq auto-mode-alist
(cons '("\\.lytex$" . LilyPond-mode) auto-mode-alist))
(add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock)))
----------------------
So what am I supposed to do to successfully compile and view the example file
from the lilypond/lilypond-book tutorial with emacs lilypond-mode?
Although I already recieved some help on this list (thanks for that) I'm still
stuck.
I would be gratefull for any help
Thomas
PS
Another not so smart question: how can I reply to a posting on this list?? my
outlook-express-newsreader doesn't recognize the list, and the web-interface
only allows to answer directly to an email ... not to the list (??)
- emacs lilypond-mode, Thomas, 2009/05/22
- emacs lilypond-mode,
Thomas <=
- Re: emacs lilypond-mode, James E. Bailey, 2009/05/28
- Re: emacs lilypond-mode, Thomas, 2009/05/29
- Message not available
- Re: emacs lilypond-mode, James E. Bailey, 2009/05/29
- Re: emacs lilypond-mode, Graham Percival, 2009/05/29
- Re: emacs lilypond-mode, James E. Bailey, 2009/05/29
- Re: emacs lilypond-mode, Graham Percival, 2009/05/29
- Re: emacs lilypond-mode, Henning Plumeyer, 2009/05/29
- Re: emacs lilypond-mode, Thomas, 2009/05/31
- Re: emacs lilypond-mode, Thomas, 2009/05/31
Re: emacs lilypond-mode, Francisco Vila, 2009/05/29