lilypond-user
[Top][All Lists]
Advanced

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

Re: Error running Latex on an apparently correct file


From: Jan Nieuwenhuizen
Subject: Re: Error running Latex on an apparently correct file
Date: Sat, 15 Jun 2002 11:31:20 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu)

"Carlos Garcia Suarez" <address@hidden> writes:

> 1.  (*) text/plain ( ) text/html
>
> I can not find what is the source of the problem compiling this Jazz song 
> file. 
>
> Lilypond produces no error at all, it is when it starts the Latex part that 
> it crashes. I have no idea what can be wrong, because I have other files with 
> the same structure and all worked fine.
>
> I am using 1.4.12 on Windows 2000. I am providing the .ly file and the 
> spanish.ly file if some would like to try.
>
> The error msg says something like: "error: latex: command exited with value 
> 256 ....."
>
> I would appreciatte any hep for I have run out of ideas, I am afraid.

When you run ly2dvi -V (verbose), you get to see the error:

  ly2dvi -V beatiful_love
  ...
  (./beatiful_love.tex (/home/fred/usr/share/lilypond/tex/lilyponddefs.tex
  ! Misplaced alignment tab character &.
  \lilypondcomposer ->Music by V. Young, W. King &
                                                   W. Van Alstyne 
  l.19 ...pondtitle\undefined\else\makelilypondtitle
                                                    \fi

Which is caused by:
                                                  
>       composer =    "Music by V. Young, W. King & W. Van Alstyne "

This text is processed by LaTeX, and
.. you can't use stray '&' characters in [La]TeX.  (Hmm, maybe we should
check/warn for that?).

So, try:

        composer =    "Music by V. Young, W. King \& W. Van Alstyne "

Greetings,
Jan.

BTw, would you care to turn off html email?

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org




reply via email to

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