On Jun 11, 2014, at 1:51 AM, Henning Hraban Ramm
Am 2014-06-11 um 00:26 schrieb David Wooten
: 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: \def\readPDFfile#1{\externalfigure[#1]} \usemodule[filter] \defineexternalfilter[lilypond] [continue=yes, readcommand=\readPDFfile, directory=lilytemp/, % directory for LilyPond's files output={\externalfilterbasefile.pdf}, filtercommand={lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts -ddelete-intermediate-files -o"lilytemp/\externalfilterbasefile" "\externalfilterinputfile"}] \starttext \input zapf \inlinelilypond{c d e f g a b c} \input zapf \stoptext (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...
Please add your solution to the wiki!
I certainly will, Thanks David
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@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 ___________________________________________________________________________________