Reading your question again, I realize that I was maybe too
patronizing in my answer. If you process the file with lilypond-bin
without any extra flags, you will get a file that can be processed
by LaTeX. However, I'm not sure why you would want such a file.
If you want to include it in another LaTeX document, you should
definitely take a look at the program lilypond-book, which lets
you include music scores within a LaTeX document, either with
inline LilyPond code or by refering to a separate file.

/Mats


Mats Bengtsson wrote:
LilyPond is one of these programs where you unfortunately cannot
expect to be able to do anything useful at all unless you read the
documentation, at least the Tutorial. Then, you will also soon learn
what you have done wrong.

/Mats

Ernesto Trajano de Lima wrote:

Hello,

I'm trying to generate LaTeX output from a .ly file. As far as I could understand I'm supposed to use lilypond-book. This is the output I get:

$ lilypond-book -f latex appassionata.ly

lilypond-book (GNU LilyPond) 2.1.30
Reading appassionata.ly...
Dissecting...
Traceback (most recent call last):
  File "/sw/bin/lilypond-book", line 941, in ?
    main ()
  File "/sw/bin/lilypond-book", line 938, in main
    do_file (files[0])
  File "/sw/bin/lilypond-book", line 833, in do_file
    textwidth = get_latex_textwidth (source)
  File "/sw/bin/lilypond-book", line 713, in get_latex_textwidth
    preamble = source[:m.start (0)]
AttributeError: 'NoneType' object has no attribute 'start'

I'm using Mac OS X 10.3.3 and lilypond 2.1.30. What am I doing wrong?

Cheers,
Ernesto.

--
Ernesto Trajano de Lima
<http://www.cin.ufpe.br/~etl>
======================
.:::. I think, therefore iMac .:::.



_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



-- ============================================= 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-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user

Reply via email to