[NTG-context] LilyPond module for LilyPond 2.9.x
Henning Hraban Ramm
hraban at fiee.net
Tue Sep 26 22:12:55 CEST 2006
Am 2006-09-26 um 20:34 schrieb Henning Hraban Ramm:
> Yeah, I finally got it working with recent versions of LilyPond!
No, it doesn't. :-(
And it's strange: the external command for lilypond gets called, but
not that for epstopdf:
% I tried different methods to convert the LilyPond EPS to PDF:
\def\LP{/usr/local/bin/lilypond -b eps -f eps -dno-gs-load-fonts -
dinclude-eps-fonts }
%\def\TU{/usr/local/teTeX/bin/powerpc-apple-darwin-current/texutil }
\def\TU{perl /usr/local/teTeX/share/texmf.local/scripts/context/perl/
texutil.pl }
%\def\PDF{/usr/local/teTeX/bin/powerpc-apple-darwin-current/epstopdf }
\def\PDF{\TU --figures --epstopdf } % --figures not yet in Ruby
version
\ifeof18
\installprogram{\LP \bufferprefix lilypond-\the\lily!figures.tmp}%
\doif\jobsuffix{pdf}{%
\installprogram{\PDF \bufferprefix lilypond-\the\lily!
figures.eps}%
}%
\else
\executesystemcommand{\LP \bufferprefix lilypond-\the\lily!
figures.tmp}%
\doif\jobsuffix{pdf}{%
\executesystemcommand{\PDF \bufferprefix lilypond-\the\lily!
figures.eps}%
}%
\fi
I thought it would work, because I already had a PDF of my score EPS
from a previous test.
If I call one of the above epstopdf commands manually, it works, i.e.
the notes appear in my PDF after the next texexec run.
Somewhere in the output it says "system commands are disabled" - but
the LilyPond call works, and write18 is enabled in my texexec.ini
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)
More information about the ntg-context
mailing list