[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Page breaks and bookpart
From: |
Nick Payne |
Subject: |
Re: Page breaks and bookpart |
Date: |
Wed, 16 Feb 2011 18:06:22 +1100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 |
Well, to answer my own query, what I have below gives what I want - back
of the title page is blank, and I get a blank page between the two
scores without the title page being repeated. I had to turn off page
numbering initially to prevent a page number of 0 showing up on the back
of the title page, and a paper block which turns on page numbering has
to be included in each bookpart.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.13.50"
date = #(strftime "%d/%m/%Y" (localtime (current-time)))
\paper {
first-page-number = -1
print-page-number = ##f
}
\header {
title = \markup {
\lower #40 \left-align \center-column {
\fontsize #6 \bold "Collection Title"
\lower #3 \fontsize #2 \bold \line { "Composer" }
\lower #10 \normalsize " "
}
}
tagline = \markup {
\fontsize #-3.5
{
Engraved on \date using \with-url #"http://lilypond.org/"
{ LilyPond \simple #(lilypond-version) (http://lilypond.org/) }
}
}
}
\markuplines \table-of-contents
\pageBreak
\markup \null
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\bookpart {
\header {
title = ##f
subtitle = \markup \huge \bold { 1. Piece 1 }
composer = \markup { Composer }
parttagline = \markup \fontsize #-3.5
{
Engraved on \date using \with-url #"http://lilypond.org/"
{ LilyPond \simple #(lilypond-version) (http://lilypond.org/) }
}
}
\paper {
print-page-number = ##t
}
\tocItem \markup { Piece 1 }
\relative c' { \repeat unfold 400 { c4 } }
\pageBreak
\markuplines { \justified-lines { This page intentionally left
blank } }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\bookpart {
\header {
title = ##f
subtitle = \markup \huge \bold { 2. Piece 2 }
composer = \markup { Composer }
parttagline = \markup \fontsize #-3.5
{
Engraved on \date using \with-url #"http://lilypond.org/"
{ LilyPond \simple #(lilypond-version) (http://lilypond.org/) }
}
}
\paper {
print-page-number = ##t
}
\tocItem \markup { Piece 2 }
\relative c' { \repeat unfold 400 { c4 } }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%