Try to add a \notes directive, to get correct LilyPond input
code in your example.

   /Mats

Graham Percival wrote:
lilypond-book doesn't work with a simple test file:

spark-daemonology-net:~/tmp gperciva$ more foo.lytex
\documentclass[article]
\begin{document}
Test normal LaTeX text.
\begin{lilypond}
\score{ \relative c' { c2 c }}
\end{lilypond}
\end{document}

spark-daemonology-net:~/tmp gperciva$ lilypond-book foo.lytex
lilypond-book (GNU LilyPond) 2.3.9
Reading foo.lytex...
Dissecting...
Writing snippets...
Processing...Running lilypond...lilypond-book: error: `lilypond' failed (status 2)
lilypond-book: error: The error log is as follows:


Now processing `lily-1788560422.ly'
Parsing...
Interpreting music... [2]
Preprocessing graphical objects...
Calculating line breaks... [2]
programming error: Improbable offset for translation: setting to zero
Continuing; crossing fingers
Backtrace:
In unknown file:
?: 0* [lilypond-main ("lily-1788560422")]
In /sw/share/lilypond/2.3.9/scm/lily.scm:
579: 1* (let* ((failed #) (handler #)) (for-each (lambda # #) files) ...)
581: 2* [for-each #<procedure #f (f)> ("lily-1788560422")]
In /sw/share/guile/1.6/srfi/srfi-1.scm:
652: 3 (if (null? rest) (letrec ((lp #)) (lp list1)) ...)
...
656: 4 (begin (f (car l)) (lp (cdr l)))
657: 5* [#<procedure #f (f)> "lily-1788560422"]
In /sw/share/lilypond/2.3.9/scm/lily.scm:
582: 6 [catch ly-file-failed #<procedure #f ()> #<procedure #f (key arg)>]
In unknown file:
?: 7* [#<procedure #f ()>]
In /sw/share/lilypond/2.3.9/scm/lily.scm:
582: 8* [ly:parse-file "lily-1788560422"]
In unknown file:
?: 9* [ly:parser-print-score #<my_lily_parser > #<Score>]


/sw/share/lilypond/2.3.9/scm/lily.scm:582:52: In procedure module-lookup in expression (ly:parse-file f):
/sw/share/lilypond/2.3.9/scm/lily.scm:582:52: unbound variable: output-classic-framework
spark-daemonology-net:~/tmp gperciva$




HTH,
- Graham



_______________________________________________
lilypond-devel mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================


_______________________________________________ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to