On Wed, Jun 22, 2011 at 10:05:51AM +0300, Dmytro O. Redchuk wrote: > On Tue 21 Jun 2011, 20:53 Graham Percival wrote: > > Could you write a short shell script to do this? i.e. using > > lilypond -e ... > > to remove the tagline (maybe that's already in LSR), > > and then call convert automatically? I'd really like to add this > > to the CG so that we have a simple way to generate images. > > (at least on non-windows machines) > As far as I can see, Phil asked how to remove the tagline from the comand > line*, but the answer was "it's impossible".
Ick, I'd forgotten about that. > Another option, proposed by Valentin, was to use external file > (-dinclude-settings=...), but i would find this "inconvenient" for the build > system? ok, how about this? Your script should: echo "\header { tagline = ##f } " > /tmp/lilypond-no-header.ly lilypond -dinclude-settings=/tmp/lilypond-no-header.ly --png bug.ly convert bug.png -trim bug-upload.png something like that. Could you test it, then we can have a set script for bug squad members (on linux and osx at least) to produce great pngs for the tracker? (oh, maybe replace bug.ly with $1 ... maybe add some explanations or a help message... dunno, depends on how much work you feel like doing, and/or how easy you want to make it for yourself in the future) Cheers, - Graham _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond