Re: [NTG-context] LilyPond module for LilyPond 2.9.x

2006-10-03 Thread Henning Hraban Ramm
Hello again, I'm still stuck with the counter problem, unfortunately I got no response... ConTeXts writes out all the LilyPond pieces as myfile-lilypond- #.tmp, sequential numbered. Then it should run LilyPond and epstopdf on the snippets, but runs them always only on no.1 I.e. the counter

Re: [NTG-context] LilyPond module for LilyPond 2.9.x

2006-10-03 Thread Mojca Miklavec
On 10/3/06, Henning Hraban Ramm wrote: Hello again, I'm still stuck with the counter problem, unfortunately I got no response... ConTeXts writes out all the LilyPond pieces as myfile-lilypond- #.tmp, sequential numbered. Then it should run LilyPond and epstopdf on the snippets, but runs

Re: [NTG-context] LilyPond module for LilyPond 2.9.x

2006-10-03 Thread Henning Hraban Ramm
Am 2006-10-03 um 23:59 schrieb Mojca Miklavec: I cannot test since lilypond is not working properly on my computer, but I get the proper numbers. Here's an excerpt from the log file (I changed lilypond to echo): systems : begin file test1 at line 2 test1-lilypond-1.tmp system(echo

Re: [NTG-context] LilyPond module for LilyPond 2.9.x

2006-09-27 Thread Hans Hagen
Henning Hraban Ramm wrote: Am 2006-09-26 um 22:23 schrieb Hans Hagen: use texmfstart! texmfstart whateverscript whateverargs will free you from adding the path lilypond -b eps -f eps -dno-gs-load-fonts -dinclude-eps-fonts or texmfstart bin:lilypond conversion to pdf: texmfstart

Re: [NTG-context] LilyPond module for LilyPond 2.9.x

2006-09-27 Thread Henning Hraban Ramm
Am 2006-09-27 um 09:55 schrieb Hans Hagen: If I add --ifchanged to the lilypond call, it never does anything; without it's called twice (like before, I couldn't find out why). --ifchanged=filename Ah, great! Here's the new version again (Willi, please try this, no need for patching any

Re: [NTG-context] LilyPond module for LilyPond 2.9.x

2006-09-27 Thread Henning Hraban Ramm
Aaargh! It still doesn't work right; I should have tested with more than one LilyPond snippet. \lily!figures is the image counter; if I use it in the definition of the command, it stays 1. If I use it like below, I get ! Use of \LP doesn't match its definition. --- code ---

[NTG-context] LilyPond module for LilyPond 2.9.x

2006-09-26 Thread Henning Hraban Ramm
Yeah, I finally got it working with recent versions of LilyPond! (The most important change was from linewidth to line-width, and I overlooked that far too long...) The module still has lots of issues (e.g. paths for external command like lilypond are hardcoded), but it does what I want it

Re: [NTG-context] LilyPond module for LilyPond 2.9.x

2006-09-26 Thread Henning Hraban Ramm
Am 2006-09-26 um 20:34 schrieb Henning Hraban Ramm: Yeah, I finally got it working with recent versions of LilyPond! No, it doesn't. :-( And it's strange: the external command for lilypond gets called, but not that for epstopdf: % I tried different methods to convert the LilyPond EPS to PDF:

Re: [NTG-context] LilyPond module for LilyPond 2.9.x

2006-09-26 Thread Hans Hagen
Henning Hraban Ramm wrote: % I tried different methods to convert the LilyPond EPS to PDF: \def\LP{/usr/local/bin/lilypond -b eps -f eps -dno-gs-load-fonts - dinclude-eps-fonts } %\def\TU{/usr/local/teTeX/bin/powerpc-apple-darwin-current/texutil } \def\TU{perl

Re: [NTG-context] LilyPond module for LilyPond 2.9.x

2006-09-26 Thread Henning Hraban Ramm
Am 2006-09-26 um 22:23 schrieb Hans Hagen: use texmfstart! texmfstart whateverscript whateverargs will free you from adding the path lilypond -b eps -f eps -dno-gs-load-fonts -dinclude-eps-fonts or texmfstart bin:lilypond conversion to pdf: texmfstart pdftops somefile.eps if may be

Re: [NTG-context] LilyPond module for LilyPond 2.9.x

2006-09-26 Thread Willi Egger
Hi Hraban! This is great! Recently I was trying Lilypond again and thought, that this music-typesetting environment should be used within ConTeXt. - Your module worked, after adapting the three path-defs under Windows! Thanks Hraban and Chritopher! Willi Henning Hraban Ramm wrote: Yeah, I