lilypond-user
[Top][All Lists]
Advanced

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

LilyPond 2.12.1 and TeXShop 2.18 - problems with LilypondLaTeX.engine so


From: techek
Subject: LilyPond 2.12.1 and TeXShop 2.18 - problems with LilypondLaTeX.engine solved (OS X 10.4 Tiger)
Date: Mon, 12 Jan 2009 16:38:54 +0100
User-agent: Thunderbird 2.0.0.17 (Macintosh/20080914)

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.




reply via email to

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