lilypond-user
[Top][All Lists]
Advanced

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

pb invoking lilypond file in latex


From: Jean-marc LEGRAND
Subject: pb invoking lilypond file in latex
Date: Thu, 24 Feb 2005 16:42:29 +0100




Hi list !
Still working on XP :o(  with Lily 2.4.2.

I'm trying Latex and lilypond book : it seems quite great, but I have a slight 
pb :

I want to insert in a text some noteheads without any staff. This is my lily 
file, which goes OK
(thanks lily doc !) :

\paper {
    linewidth = 30\mm
  indent = 0\mm
}
\score {
      \lyrics {
            \time 7/8
  \markup { \raise #0.75 \vcenter \musicglyph #"noteheads--2neomensural" } 4
  \markup { \raise #0.75 \vcenter \musicglyph #"noteheads--1neomensural" } 4
  \markup { \raise #0.75 \vcenter \musicglyph #"noteheads-0neomensural" } 4
            }

      }

I've called it figure1.ly.

Then I try to insert it in my text like this :


(...)
dont la
dur\'{e}e d\'{e}pendait de la quantit\'{e} de mots ou de syllabes qui leur 
\'{e}tait associ\'{e}e
(notamment parce que les signes 
\lilypondfile[quote,fragment,staffsize=16]{figure1.ly}
n'existaient pas encore).
(...)

It seems that it is the way to do it (cf lily doc 9.2 Integrating LaTeX and 
music).
But when I run lilypond-book, its says :


address@hidden /cygdrive/c/cygwin/tetex/ofcounterpoint
$ lilypond-book --output=out contrepoint.tex
/usr/bin/lilypond-book (GNU LilyPond) 2.4.2
Reading contrepoint.tex...
Dissecting...
Writing snippets...
Processing...
Running lilypond...GNU LilyPond 2.4.2
Processing `lily-593403792.ly'
Parsing...
Renaming input to: `figure1.ly'

figure1.ly:26:5: error: syntax error, unexpected PAPER:
\pape
     r {

figure1.ly:28:19: error: unknown escaped string: `\mm':
  linewidth = 30\mm

figure1.ly:29:15: error: unknown escaped string: `\mm':
  indent = 0\mm

figure1.ly:54:0: error: Error found in this music expression. Ignoring it:

}
error: failed files: lily-593403792.ly

/usr/bin/lilypond-book: error: Process /usr/bin/lilypond -f tex -I /cygdrive/c/c
ygwin/tetex/ofcounterpoint exited unsuccessfully.
Removing `out/contrepoint.tex'

I think that I forgot to say something to "him" because he doesn't want to 
recognize some typical
lily features.

Any help ?

Bye





reply via email to

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