Re: [NTG-context] lilypond inclusion + pdf crop

2005-09-19 Thread Taco Hoekwater
Hi Andrea, - write an article on it (taco can tell you more about hwo to publish in the maps; once it's maps ready, publishing in tugboat should be doable as well - ther is context style now); my impression (also from visiting user group meetings) is that there are quite some texies

Re: [NTG-context] lilypond inclusion

2005-09-18 Thread Hans Hagen
Mojca Miklavec wrote: Hans Hagen wrote: newpstopdf --method=crop yourfile.ps (raw crop bounded) just try it -) --method=crop --method=bounded --method=raw How can I crop a PDF document with it? I can do pdf2ps first ... but then? it also supports svg to pdf conversion,

Re: [NTG-context] lilypond inclusion

2005-09-18 Thread Hans Hagen
Christopher Creutzig wrote: ther. So, would this way save or gain anything? (Besides, I still have the hope that I could somehow ask lilypond to tell me some sort of baseline, for inline material. I don't expect that to work well with its pdf output.) why not ask the author of lilipond?

Re: [NTG-context] lilypond inclusion + pdf crop (getting off-topic)

2005-09-18 Thread Hans Hagen
Giuseppe Bilotta wrote: Perl, Ruby, Lua ... what next? megapost (by Giuseppe Bilotta) lualeph (by Giuseppe Bilotta) i'm told that he will start with that when he finished his thesis -) (btw, could you do your thesis work without megapost? i thought that it was a prerequisite) Hans

Re: [NTG-context] lilypond inclusion + pdf crop (getting off-topic)

2005-09-18 Thread Hans Hagen
Taco Hoekwater wrote: You guys are missing the point. Hans and I are going to learn Lua so you won't have to :-) Right, we both need a little challenge every now and then -) Hans -

Re[2]: [NTG-context] lilypond inclusion + pdf crop (getting off-topic)

2005-09-18 Thread Giuseppe Bilotta
Sunday, September 18, 2005 Hans Hagen wrote: Giuseppe Bilotta wrote: Perl, Ruby, Lua ... what next? megapost (by Giuseppe Bilotta) lualeph (by Giuseppe Bilotta) i'm told that he will start with that when he finished his thesis -) Who's this nutcase? ;) Seriously, as long as it

Re: [NTG-context] lilypond inclusion + pdf crop

2005-09-18 Thread Hans Hagen
andrea valle wrote: (thanks to all) I'm very happy and proud of this comments, having started using context two months ago exactly because of this project, and I was not very satisfied with coercing metafun's elegance to work like a no-brain plotterAnother fantastic thing of this

Re: [NTG-context] lilypond inclusion + pdf crop (getting off-topic)

2005-09-17 Thread Taco Hoekwater
luigi.scarso wrote: Henning Hraban Ramm wrote: wait till you see what a lua enhancec context can do (playing with it now) -) Oh no, not another language! TeX and MetaPost and PostScript, Perl and Ruby for ConTeXt, Guile for LilyPond, Perl, Python, PHP, Slang, VB and Shell for work,

Re[2]: [NTG-context] lilypond inclusion + pdf crop (getting off-topic)

2005-09-17 Thread Giuseppe Bilotta
Friday, September 16, 2005 Hans Hagen wrote: Adam Lindsay wrote: This cuts very close to my day job, yet I never would have imagined ConTeXt could enable this for people... wait till you see what a lua enhancec context can do (playing with it now) -) Perl, Ruby, Lua ... what next? --

Re: [NTG-context] lilypond inclusion + pdf crop

2005-09-17 Thread Christopher Creutzig
Hans Hagen wrote: andrea valle wrote: Here are two of the resulting scores (not totally finished yet) www.semiotiche.it/andrea/membrana/nodi-I.pdf www.semiotiche.it/andrea/membrana/nodi-II.pdf and one of the context file www.semiotiche.it/andrea/membrana/nodi-I.tex impressive I

Re: [NTG-context] lilypond inclusion + pdf crop

2005-09-17 Thread andrea valle
Sorry if it seemed exoteric, but my idea was simply to show some typographical results, not to present a composition (an argument surely OT). The idea is that the performer (a pianist, even if notation is generic) choose a starting point, execute the notation in the chosen vertex, choose an

[NTG-context] lilypond inclusion + pdf crop

2005-09-16 Thread andrea valle
How did you get your LilyPond fragments? The only way I know would be to cut them from whole PDF pages with Acrobat. Ah, I understand the point. Yes, in my new composition I create a graph connecting some musical fragment (I don't wanna bore yuo too much with these details). In any case, I

Re: [NTG-context] lilypond inclusion + pdf crop

2005-09-16 Thread Hans Hagen
andrea valle wrote: Here are two of the resulting scores (not totally finished yet) www.semiotiche.it/andrea/membrana/nodi-I.pdf www.semiotiche.it/andrea/membrana/nodi-II.pdf and one of the context file www.semiotiche.it/andrea/membrana/nodi-I.tex impressive Hans

Re: [NTG-context] lilypond inclusion

2005-09-16 Thread Christopher Creutzig
Henning Hraban Ramm wrote: Perhaps document what you did and what's missing at the wiki page: http://wiki.contextgarden.net/LilyPond Patrick, assuming I will find time to improve a few tidbits every now and then, what would be the best way to have an up-to-date module in the garden? Just send

Re: [NTG-context] lilypond inclusion

2005-09-16 Thread Christopher Creutzig
andrea valle wrote: So, I was asking myself: is lily direct inclusion in context so relevant? Why? No, in the same way there is really no absolute need to have MetaPost code directly in you TeX files. Having them in external files, compiling from a Makefile and just using

Re: [NTG-context] lilypond inclusion

2005-09-16 Thread andrea valle
No, in the same way there is really no absolute need to have MetaPost code directly in you TeX files. It's just that some people (often including me) prefer to have their sources in one place, especially when using small snippets. I completely agree. It would avoid me writing lily

Re: [NTG-context] lilypond inclusion + pdf crop (getting off-topic)

2005-09-16 Thread Adam Lindsay
andrea valle said this at Fri, 16 Sep 2005 16:13:33 +0200: Here are two of the resulting scores (not totally finished yet) www.semiotiche.it/andrea/membrana/nodi-I.pdf www.semiotiche.it/andrea/membrana/nodi-II.pdf Wow. Fantastic stuff. Having just returned from the ICMC and ISMIR conferences, it

Re: [NTG-context] lilypond inclusion

2005-09-16 Thread Mojca Miklavec
Thanks a lot for the module! I didn't manage yet to make it work properly, but it's promising. Just a note: calling epstopdf is pretty optimistic, I'm affraid that even on linux systems this command is not always present or at least it has some other name. I don't know about other versions, but

Re: [NTG-context] lilypond inclusion + pdf crop

2005-09-16 Thread Willi Egger
Andrea! Incredibile! Impressionante! Auguri Willi Hans Hagen wrote: andrea valle wrote: Here are two of the resulting scores (not totally finished yet) www.semiotiche.it/andrea/membrana/nodi-I.pdf www.semiotiche.it/andrea/membrana/nodi-II.pdf and one of the context file

Re: [NTG-context] lilypond inclusion + pdf crop (getting off-topic)

2005-09-16 Thread Hans Hagen
Adam Lindsay wrote: This cuts very close to my day job, yet I never would have imagined ConTeXt could enable this for people... wait till you see what a lua enhancec context can do (playing with it now) -) Hans -

Re: [NTG-context] lilypond inclusion

2005-09-16 Thread Hans Hagen
Mojca Miklavec wrote: Thanks a lot for the module! I didn't manage yet to make it work properly, but it's promising. Just a note: calling epstopdf is pretty optimistic, I'm affraid that even on linux systems this command is not always present or at least it has some other name. I don't know

Re: [NTG-context] lilypond inclusion + pdf crop (getting off-topic)

2005-09-16 Thread Henning Hraban Ramm
wait till you see what a lua enhancec context can do (playing with it  now) -) Oh no, not another language! TeX and MetaPost and PostScript, Perl and Ruby for ConTeXt, Guile for LilyPond, Perl, Python, PHP, Slang, VB and Shell for work, and now Lua - who will learn that lot? Your

Re: [NTG-context] lilypond inclusion

2005-09-16 Thread Mojca Miklavec
Hans Hagen wrote: newpstopdf --method=crop yourfile.ps (raw crop bounded) How can I crop a PDF document with it? I can do pdf2ps first ... but then? it also supports svg to pdf conversion, downsampling, subpaths etc (see earlier mail about the manual on manipulations on how this can be

Re: [NTG-context] lilypond inclusion + pdf crop

2005-09-16 Thread andrea valle
(thanks to all) I'm very happy and proud of this comments, having started using context two months ago exactly because of this project, and I was not very satisfied with coercing metafun's elegance to work like a no-brain plotterAnother fantastic thing of this context/lily setup is that

[NTG-context] lilypond inclusion

2005-09-15 Thread Christopher Creutzig
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

Re: [NTG-context] lilypond inclusion

2005-09-15 Thread Hans Hagen
Christopher Creutzig wrote: - 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. redefine par -) - Currently, the whole generation only works

Re: [NTG-context] lilypond inclusion

2005-09-15 Thread Christopher Creutzig
Hans Hagen wrote: Christopher Creutzig wrote: - 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. redefine par -) Won't help, since the

Re: [NTG-context] lilypond inclusion

2005-09-15 Thread Hans Hagen
Christopher Creutzig wrote: Won't help, since the \par in there is never evaluated. I need to stop it being generated in the first place. I guess I probably should change \catcode`\^^M and \catcode`\^^J before reading the contents. \obeylines \let\obeyedlines\space That would solve the

Re: [NTG-context] lilypond inclusion

2005-09-15 Thread Henning Hraban Ramm
Am 2005-09-15 um 11:49 schrieb Christopher Creutzig: especially Hraban, who had asked for sth like this, Thank you for your work, I can't participate at the moment, am just too busy. Perhaps document what you did and what's missing at the wiki page: http://wiki.contextgarden.net/LilyPond

Re: [NTG-context] lilypond inclusion

2005-09-15 Thread andrea valle
Hi, I love both lilypond and context. In my last project (thanks to which I substantially started using both in a decent way) I included in metafun code 250 PDFs fragments made by lily. Perfect result. So, I was asking myself: is lily direct inclusion in context so relevant? Why? Just for my

Re: [NTG-context] lilypond inclusion

2005-09-15 Thread Henning Hraban Ramm
Am 2005-09-15 um 23:00 schrieb andrea valle: I love both lilypond and context. In my last project (thanks to which I substantially started using both in a decent way) I included in metafun code 250 PDFs fragments made by lily. Perfect result. So, I was asking myself: is lily direct