ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* lilypond inclusion
@ 2005-09-15  9:49 Christopher Creutzig
  2005-09-15 10:35 ` Hans Hagen
                   ` (2 more replies)
  0 siblings, 3 replies; 34+ messages in thread
From: Christopher Creutzig @ 2005-09-15  9:49 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1889 bytes --]

Dear list,
especially Hraban, who had asked for sth like this,


 I had tried sending this yesterday, but with the pdf output included,
it was too big for the list.

 In any case, please find enclosed a tentative lilypond inclusion file
and a sample
file.  The whole thing basically works (though support for non-pdf
versions is currently absent, but should be relatively easy to
implement), but I'm sure I've taken a non-ConTeXt-way at more than one
place and I have a few problems, most of them lilypond-related.  The
first three are strictly ConTeXt-related, though:

- I can't include blank lines in \startlilypond...\stoplilypond,
  because in the buffer I will get a \par for that.  There is
  probably some easy way around this, but I haven't found the
  idiom yet.

- Currently, the whole generation only works with shell_escape=t.
  Is there a way to use the automp mechanism for other external
  programs, such as lilypond, as well?  It would also save quite
  some time to only typeset each piece of music only once.

- How can I detect whether a pdf file contains multiple pages?


- I have only tested the system on my Tiger installation.
  I'd like to know if it works for others, too.

- When typesetting a longer block, I'd like to tell lilypond
  how much space there is left on the first page, to have music
  break across pages smoothly with the text.

- When typesetting a fragment, I'd like to somehow get a proper
  baseline from lilypond.  I have neither found out how to ask
  if there is more than one line typeset, nor for the baseline
  (let's say the bottom line of the staff), which obviously depends
  on the music actually set.  The sample file uses an explicit
  \lower command with a trial-&-error value.  I assume that
  the lilypond TeX backend gives me something that could be
  useful here, but I haven't analyzed it in detail.


regards,
	Christopher

[-- Attachment #2: t-lilypond.tex --]
[-- Type: application/x-tex, Size: 3709 bytes --]

[-- Attachment #3: lily-test.tex --]
[-- Type: application/x-tex, Size: 1240 bytes --]

[-- Attachment #4: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2005-09-19  9:51 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-15  9:49 lilypond inclusion Christopher Creutzig
2005-09-15 10:35 ` Hans Hagen
2005-09-15 13:07   ` Christopher Creutzig
2005-09-15 13:53     ` Hans Hagen
2005-09-15 14:34 ` Henning Hraban Ramm
2005-09-15 21:00   ` andrea valle
2005-09-16  0:37     ` Henning Hraban Ramm
2005-09-16 14:13       ` lilypond inclusion + pdf crop andrea valle
2005-09-16 15:25         ` [OT] " luigi.scarso
2005-09-16 15:29         ` Hans Hagen
2005-09-16 17:18           ` Willi Egger
2005-09-16 21:08           ` andrea valle
2005-09-18 19:38             ` Hans Hagen
2005-09-19  9:51               ` Taco Hoekwater
2005-09-17 11:26           ` Christopher Creutzig
2005-09-17 13:23             ` andrea valle
2005-09-16 16:23         ` lilypond inclusion + pdf crop (getting off-topic) Adam Lindsay
2005-09-16 17:37           ` Hans Hagen
2005-09-17  9:28             ` Re[2]: " Giuseppe Bilotta
2005-09-18 18:23               ` Hans Hagen
2005-09-18 19:19                 ` Re[2]: " Giuseppe Bilotta
2005-09-16 15:40     ` lilypond inclusion Christopher Creutzig
2005-09-16 16:10       ` andrea valle
2005-09-16 15:42   ` Christopher Creutzig
2005-09-16 16:39     ` Patrick Gundlach
2005-09-16 16:56 ` Mojca Miklavec
2005-09-16 17:45   ` Hans Hagen
2005-09-16 18:51   ` Christopher Creutzig
2005-09-16 19:20     ` Mojca Miklavec
2005-09-16 19:45       ` Hans Hagen
2005-09-16 20:25         ` Mojca Miklavec
2005-09-18 18:07           ` Hans Hagen
2005-09-16 20:46       ` Christopher Creutzig
2005-09-18 18:09         ` Hans Hagen

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).