Hi all,
great! thank you
In your copy of Lilypond-LaTeX.engine, try replacing
___________________________________
# Create directory to put all temporary stuff
mkdir -p "$1:r"-out/
# Copy local style files, if any, where latex will be able to find them
cp *.sty "$1:r"-out
if ({ lilypond-book --output="$1:r"-out --psfonts "$1" }) then
cd "$1:r"-out
if ({ latex "$1" }) 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
___________________________________
with
___________________________________
# Delete existing output (PDF) file
rm "$1".pdf
# Create directory to put all temporary stuff
mkdir -p "$1:r"-out/
# Invoke L-B
lilypond-book --output="$1:r"-out --pdf "$1"
cd "$1:r"-out
pdflatex "$1"
# Copy output (PDF) file to parent directory
mv "$1:r".pdf ..
# Delete temporary stuff
rm -rf *
cd ..
# Delete (empty) temp directory
rmdir "$1:r"-out
# Display output (PDF) file
open "$1:r".pdf
___________________________________
It's not "safe" (i.e., it doesn't have 'if' checks, etc.), but it
works for me. =)
Hope this helps!
Kieren.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user