After installing the latest version of MacTeX-2008 and LilyPond the
LilypondLaTeX.engine produced a couple of error messages. I believe to
have solved the problem by modifying Nicola Vitacolonna's script (which
has - by the way - never worked with me as posted!). It reads now as
follows:

#!/bin/tcsh
set path = ($path
/Applications/LILYPONDPATH/LilyPond.app/Contents/Resources/bin/)
mkdir -p "$1:r"-out/
cp *.sty "$1:r"-out
if ({ lilypond-book --output="$1:r"-out --format=latex "$1:r" }) then
  cd "$1:r"-out
  if ({ latex "$1:r" }) then
    if ({ dvips -o -Ppdf -R0 -h "$1:r".psfonts "$1:r".dvi }) then
      if ({ ps2pdf "$1:r".ps }) then
        mv "$1:r".pdf ..
      endif
    endif
  endif
endif
endif

My pretty complex document runs now through without errors. Some
adjustments in the code might still be necessary - not tested yet.


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to