Henning Hraban Ramm <[email protected]> writes:

> Am 2013-01-20 um 10:40 schrieb Stefan Thomas:
>
>> Dear community,
>> when I want to use lilypond within context (the latex alternative
>> system), do I have to install the lilypond-module separately?
>> Can give someone  a short example of code of a document with lilypond code?
>> Does context cooperate with the latest stable version of lilypond?
>
> Hi Stefan,
> you don’t need the (deprecated) LilyPond module any more at all.
>
> Use the filter module, as mentioned in http://wiki.contextgarden.net/LilyPond
> (Anything below the section "Deprecation Warning" is invalid/unnecessary.)
>
> You can save the following snippet as "t-lilyfilter.tex" and 
> \usemodule[lilyfilter]
>
> --- >8 ---
>
> \startmodule[lilyfilter]
>
> \def\readPDFfile#1{\externalfigure[#1]}
>
> \usemodule[filter]
> \defineexternalfilter[lilypond]
>       [continue=yes,
>       readcommand=\readPDFfile,
>       directory=lilytemp/,
>       output={\externalfilterbasefile.pdf},
>       filtercommand={lilypond -dbackend=eps -dinclude-eps-fonts 
> -dno-gs-load-fonts -o"lilytemp/\externalfilterbasefile" 
> "\externalfilterinputfile"}]
>
> \stopmodule

What are the performance characteristics?  One point of LilyPond-book is
that it compiles a large number of fragments with a single run of
LilyPond.  That makes, for example, compilation times of our manuals
less unbearable.

-- 
David Kastrup


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to