Graham Percival <[email protected]> writes:

> 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

You can write this without having to cater for an external file as
lilypond -dinclude-settings=<(echo "\header { tagline = ##f }") --png bug.ly

-- 
David Kastrup


_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to