lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs lilypond-mode


From: Thomas
Subject: Re: emacs lilypond-mode
Date: Fri, 29 May 2009 22:52:14 +0200

Dear James E. Bailey,
thank you for your answer. 
 
Now I've deleted the "screech-boink.ly" part of the example file and it looks like this:
--------------------------
 \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}
  
     \end{document} 
-----------------------------

I still get the same error message when I use the BOOK command in emacs lilypond-mode:

------------------------------
-*- mode: compilation; default-directory: "~/latex projekte/jazzguitar/" -*-
Compilation started at Fri May 29 21:45:57

lilypond-book "c:/Dokumente und Einstellungen/work/latex projekte/jazzguitar/lbooktest1".tely
...
Compilation exited abnormally with code 2 at Fri May 29 21:45:58
-------------------------------

what about that file ending .tely?? the file I try to compile is named booktest1.lytex. 

what does "code 2" mean in the context of lilypond-book? 
it seems that compilations starts ... would be nice to get a little info from the 
programm why its exiting abnormally.....
 
cheers 
thomas
"James E. Bailey" <address@hidden> schrieb im Newsbeitrag news:address@hidden...

Am 28.05.2009 um 22:12 schrieb Thomas:

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:

Have you copied the file screech-boink.ly to an appropriate directory?
James E. Bailey




_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

reply via email to

[Prev in Thread] Current Thread [Next in Thread]