lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Hide" the tagline


From: Urs Liska
Subject: Re: "Hide" the tagline
Date: Mon, 27 Feb 2017 14:04:53 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0


Am 27.02.2017 um 13:26 schrieb David Kastrup:
> Urs Liska <address@hidden> writes:
>
>> Am 27.02.2017 um 13:08 schrieb Simon Albrecht:
>>> Am 27.02.2017 um 12:42 schrieb Urs Liska:
>>>> Hi all,
>>>>
>>>> I'm looking for a way to "externally" hide the tagline, i.e. by either
>>>> making it transparent or colouring it white.
>>>>
>>>> The "problem" is that I don't want to do it in the tagline markup
>>>> definition itself but by injecting some code when invoking LilyPond. The
>>>> intention is to write a wrapper script that hides the tagline of an
>>>> arbitrary given score without affecting the layout.
>>> Maybe you can invoke something like
>>> #(define hide-tagline #t)
>>> through the -e command line option,
>>> write a markup command transparent-cond which applies the \transparent
>>> command to its argument depending on the value of ̀€hide-tagline'
>>> and use that to wrap the tagline markup in bookTitleMarkup.
>>>
>> I think that's too intrusive and imposes too many assumptions about the
>> input file. What I need is a solution to take an arbitrary input file
>> and compile it without a tagline.
>>
>> It's ok to insert something in the input file but it should be, well,
>> non-intrusive.
> I see the option
>
>    -dinclude-settings=$LILYPOND_GIT/scripts/auxiliar/NoTagline.ly
>
> in scripts/auxiliar/make-regtest-pngs.sh
>

Unfortunately this doesn't help as it only adds a \header { tagline = ##f }

This would at least require me ti ensure that I place the command
*after* any header blocks in the input file. Additionally it's
equivalent to \omit and not to \hide (so it may change the layout if
someone creates a tagline with some vertical extent.

Urs

-- 
address@hidden
https://openlilylib.org
http://lilypondblog.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]