Hello,
On 21 January 2012 17:49, Christopher R. Maden <[email protected]> wrote:
> I am working on a songbook which is copyright by an organization, but
> specific songs use (with permission) arrangements by other publishers.
>
> When I assert copyright on the specific scores, in the score header,
> LilyPond appears to ignore this. Is there any way (other than just
> using text markup) to get the copyright info to show up?
Well if you look in
http://lilypond.org/doc/v2.14/Documentation/notation-big-page.html#custom-headers-footers-and-titles
It explains things, although not specifically how to do this, but
using the information here and information from ly:titling-init.ly
file which defines many of these rules for how book and score part
titles work.
I came up with a bit of a crude method that might be good enough for you.
I've attached your file with my modifications here:
but basically with a bit of trial and error I commented out the
print-all-headers in your \paper { } block, added the scoreTitleMarkup
= \markup { .. } block within your \paper. This variable is taken from
the ly:titling-init.ly directly and then I modified it.
I made sure that the \header {} *inside* the \score { ... } construct
contained the copyright and the header for each score (hence
scoreTitleMarkup) and left the \header *outside* the \score { }
constructs but inside the \book { ... } with the main header.
Now the 'hack' was to add the two \fill-line { \null } lines inside
the scoreTitleMarkup as I couldn't workout how to move the score title
away from the main title - just add more instances of this \fill-line
to add more 'line space'.
What I couldn't work out (apart from the \null as line spacing) was
how to put the copyright on the *bottom* of the page. I also added
some \huge \larger \bold etc markups to show you how you can fiddle
with the sizes if you want to.
It isn't as elegant as I am sure it could be, but it seems to work ok.
Oh I used 2.14.1 as that is what I have installed but I expect this
still to be ok for 2.12.
Hope this was useful (I certainly learnt a few things doing this).
--
--
James
\version "2.12.3"
#(set-default-paper-size "letter")
\paper {
bottom-margin = 0.5\in
left-margin = 0.75\in
line-width = 7.25\in
print-all-headers = ##t
right-margin = 0.5\in
top-margin = 0.5\in
}
\book {
\header {
copyright = "Copyright © 1983 Yoyodyne Propulsion Systems, Inc."
title = "LilyPond Copyright Test"
}
\bookpart {
\score {
\relative c' { c c c c }
\header {
title = "In Praise of John Whorfin"
}
}
}
\bookpart {
\score {
\relative c' { c d e f }
\header {
copyright = "Music copyright © 1983 Banzai Institute, Inc."
title = "Curse You, Buckaroo!"
}
}
}
}
\version "2.12.3"
#(set-default-paper-size "letter")
\paper {
bottom-margin = 0.5\in
left-margin = 0.75\in
line-width = 7.25\in
% print-all-headers = ##t
right-margin = 0.5\in
top-margin = 0.5\in
scoreTitleMarkup = \markup {
\on-the-fly #print-all-headers { \bookTitleMarkup \hspace #1 }
\column {
\fill-line { \null }
\fill-line { \null }
\fill-line {
\huge \larger \larger \larger \bold \fromproperty #'header:title
}
\fill-line {
\italic \fromproperty #'header:copyright
}
}
}
}
\book {
\header {
title = \markup { \smaller "LilyPond Copyright Test" }
}
\bookpart {
\score {
\relative c' { c c c c }
\header {
title = "In Praise of John Whorfin"
copyright = "Copyright © 1983 Yoyodyne Propulsion Systems, Inc."
}
}
}
\bookpart {
\score {
\relative c' { c d e f }
\header {
title = "Curse You, Buckaroo!"
copyright = "Music copyright © 1983 Banzai Institute, Inc."
}
}
}
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user