Mojca Miklavec wrote:
Christopher Creutzig wrote:
Yes, but those are not suitable for inclusion because they are full-size A4 pages. I tried using them first, but couldn't get the information needed to properly clip the A4 pages to the required part.
I just found what I was looking for for quite some time: http://www.tug.org/tex-archive/support/pdfcrop/
Can you ask it to ignore the text line at the bottom of the lilypond-generated page? (It may be possible to ask lilypond not to write that line, but I'm not sure.)
If cropping support would be built into ConTeXt, you wouldn't need to ask lilypond for cropping, but ConTeXt scripts could do that for you.
Sure, but what would it gain? lilypond first generates ps anyway. Both the script you mention and any cropping texutil/ctxtools/whatever is doing probably requires a gs installation anyway. I don't think lilypond creates pdf of better quality than texutil does from the eps, either. 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.)
And another said information (for windows users only): if you want to call lilypond from command line, you have to call it with the whole path, ie: C:/prog/lilypond/usr/bin/lilypond. Developers don't know how
So, I should include a path to the yet-to-write \setuplilypond, right?
modify path to lilypond in the module by hand. I guess there's no trivial solution to find where a certain executable is residing (I have "which.exe", but this is way too complicated/not worth the effort.)
There should be no need to, that's what we have %PATH% for. You certainly could add c:/prog/lilypond/usr/bin/ to this environment variable. I'd happily include the default installation path as the default for the setup mentioned above – is the one you gave the default? Is this path mentioned anywhere in either the output of “set” in a cmd box or (second best) the registry? Christopher