lilypond-user
[Top][All Lists]
Advanced

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

Re: Suppress the header on first bookpart page


From: Helge Kruse
Subject: Re: Suppress the header on first bookpart page
Date: Sun, 21 Apr 2013 10:33:07 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

Am 14.04.2013 13:06, schrieb Thomas Morley:
The link above is not sufficient, because `not-part-first-pageĀ“
doesn't work out of the box with "2.16.2" (it does with "2.17.15")

The needed definitions have to be written in the file:

\version "2.16.0"

  #(define (part-first-page? layout props)
    (= (chain-assoc-get 'page:page-number props -1)
       (ly:output-def-lookup layout 'first-page-number)))

  #(define (not-part-first-page layout props arg)
    (if (not (part-first-page? layout props))
        (interpret-markup layout props arg)
        empty-stencil))


HTH,
   Harm

Yes, this helps very well. Also the hint with the odd/even header was very helpful.

Thanks
Helge





reply via email to

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