From: David Wooten <david@farwestmillwork.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Lilypond
Date: Thu, 12 Jun 2014 10:00:12 -0700 [thread overview]
Message-ID: <C5A7FF68-FBD0-4919-BDE6-BE12CE961E6E@farwestmillwork.com> (raw)
In-Reply-To: <648709A9-7137-41AF-AC3A-9F26D011AAC6@fiee.net>
On Jun 11, 2014, at 1:51 AM, Henning Hraban Ramm <texml@fiee.net> wrote:
>
> Am 2014-06-11 um 00:26 schrieb David Wooten <dw@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:
\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.txt
>
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2014-06-12 17:00 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-08 22:31 Lilypond David Wooten
2014-06-10 9:53 ` Lilypond Henning Hraban Ramm
2014-06-10 18:26 ` Lilypond David Wooten
2014-06-11 8:51 ` Lilypond Henning Hraban Ramm
2014-06-12 17:00 ` David Wooten [this message]
2014-06-12 17:37 ` Lilypond Henning Hraban Ramm
2014-06-12 20:21 ` Lilypond David Wooten
-- strict thread matches above, loose matches on Subject: below --
2011-08-18 22:32 buffer names in MKII Mojca Miklavec
2011-08-18 21:29 ` Aditya Mahajan
2011-08-19 7:53 ` Henning Hraban Ramm
2011-08-19 15:08 ` Lilypond (Re: buffer names in MKII) Aditya Mahajan
2011-08-19 20:18 ` Lilypond Henning Hraban Ramm
2011-08-20 8:19 ` Lilypond Aditya Mahajan
2011-08-21 1:22 ` Lilypond David Wooten
2011-08-21 12:07 ` Lilypond Henning Hraban Ramm
2011-08-21 18:25 ` Lilypond Henning Hraban Ramm
2011-08-21 22:14 ` Lilypond Aditya Mahajan
2011-08-21 22:24 ` Lilypond Hans Hagen
2011-08-21 22:32 ` Lilypond Aditya Mahajan
2011-08-22 1:53 ` Lilypond Aditya Mahajan
2011-08-22 13:59 ` Lilypond Henning Hraban Ramm
2011-08-22 15:18 ` Lilypond Aditya Mahajan
2007-08-26 22:35 lilypond Hans Hagen
2007-07-03 15:59 lilypond Wolfgang Werners-Lucchini
2007-07-06 20:25 ` lilypond Henning Hraban Ramm
2007-08-27 14:28 ` lilypond Mojca Miklavec
2007-08-27 10:28 ` lilypond Steffen Wolfrum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C5A7FF68-FBD0-4919-BDE6-BE12CE961E6E@farwestmillwork.com \
--to=david@farwestmillwork.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).