[NTG-context] Lilypond

David Wooten david at farwestmillwork.com
Thu Jun 12 19:00:12 CEST 2014

On Jun 11, 2014, at 1:51 AM, Henning Hraban Ramm <texml at fiee.net> wrote:

> Am 2014-06-11 um 00:26 schrieb David Wooten <dw at trichotomic.net>:
>> Hi Hraban, thanks very much — yes I am able to get the first examples to work. Is there still a way to insert snippets/single lines of music between paragraphs?
> Between paragraphs should just work like that.

Both examples (1st page & multipage insertion) place the snippet on its own page, e.g. this gives me a 3 page document w/ snippet on page 2:


    directory=lilytemp/, % directory for LilyPond's files
    filtercommand={lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts -ddelete-intermediate-files -o"lilytemp/\externalfilterbasefile" "\externalfilterinputfile"}]

\input zapf
\inlinelilypond{c d e f g a b c}
\input zapf

(same result for \startlilypond … \stoplilypond)

OS X Mavericks

> If you’d like to avoid \startlilypond … \stoplilypond, try \inlinelilypond{…}
> If the one \include line is too much for your use case, you should look into how you can inject that automatically in the buffer file.
> If you don’t want to include your lilypond settings file every time, follow the advise in filter’s docs regarding LaTeX package „skak“ („Prepend and append text“):
> http://modules.contextgarden.net/dl/t-filter/doc/context/third/filter/filter.txt
> Please add your solution to the wiki!

I certainly will,


> Greetlings, Hraban
> ---
> http://www.fiee.net/texnique/
> http://wiki.contextgarden.net
> https://www.cacert.org (I'm an assurer)
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

More information about the ntg-context mailing list