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" <[email protected]> schrieb im Newsbeitrag 
news:[email protected]...


  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
  [email protected]
  http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to