lilypond-user
[Top][All Lists]
Advanced

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

Re: Titles and "localtitle"


From: Ralph Palmer
Subject: Re: Titles and "localtitle"
Date: Sun, 3 Jan 2010 03:59:13 -0500

Thanks, Trevor -

It took me a minute to figure out how to get it to work. I've had trouble with it before, and never got it to work. It wasn't clear to me from the docs that you could include a \paper block in the middle of a file, and that it would affect only the succeeding (as opposed to all) \score blocks.

Ralph

On Sat, Jan 2, 2010 at 6:41 PM, Trevor Daniels <address@hidden> wrote:
Hi Ralph

This is working as designed.  It's explained towards the bottom of
section 3.2.1 in the Notation Reference.  By default only the piece
and opus are printed when \header is included in the \score block.
Setting print-all-headers true in a paper block is what you're
looking for.

Trevor

----- Original Message ----- From: "Ralph Palmer" <address@hidden>
To: "lilypond-user Mailinglist" <address@hidden>
Sent: Saturday, January 02, 2010 10:35 PM
Subject: Titles and "localtitle"



Sorry about that - hit a wrong combination of keys.

Greetings and Happy New Year!

I'm running LilyPond 2.12.2 under Ubuntu 9.10. I'm transposing a bunch of
violin etudes to make them viola etudes, and I've hit a snag. I'm making
each etude a separate score. I've been using
\score {
{
  \music
}
\header {
  opus = "Name"
}
}
successfully with "music" held in another file included in the score file.
When I came across some solos with titles, I tried including title,
subtitle, and composer in the \header inside the \score block, but the
title, subtitle, and composer didn't print. When I put the \header block
immediately before the \score block, the headers printed at the beginning of
the whole file. I'm not using an explicit \book block.

I took a look at the Learning Manual and at the Snippets List, and it looks
like it was intended that "localtitle" and such were intended to work (and
opus does work), but "localtiltle", "localcomposer", and "localpoet" don't
print in the Snippets List either. Is this a known bug? Is there a known
work-around?

Here's my Test.ly file:

%%%%  Begin Snippet %%%%

\version "2.12.2"
%\include "english.ly"


music = {
  \key c \major
  \time 6/8
  \relative c'' {
  e4-2\mf( f8) f4( e8) |
  e8(d f) f4( e8) |
  }
}



\score {
  {
  \music
  }
\header {
 title = "Barcarolle"
 subtitle = "from Tales of Hoffman"
 composer = "Offenbach"
}
}

%%%% End Snippet %%%%

I appreciate your time and help,

Ralph

--
Ralph Palmer
Montague City, MA
USA
address@hidden



--------------------------------------------------------------------------------



_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user






--
Ralph Palmer
Montague City, MA
USA
address@hidden

reply via email to

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