Re: Producing a title page

2014-02-01 Thread Pierre Perol-Schneider
2014-02-01 Nick Payne nick.pa...@internode.on.net:


 I've attached my boilerplate


Nice work Nick.
Cheers
Pierre
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Producing a title page

2014-02-01 Thread Federico Bruni
2014/2/1 Nick Payne nick.pa...@internode.on.net

 I've attached my boilerplate that I use for producing a PDF file with
 separate title page, table of contents page, and multiple pieces within the
 file. For a single piece just delete the TOC stuff, the additional
 bookparts for the additional pieces, and set

 first-page-number to zero rather than minus one.


Nice example, I have just a couple of questions:

\bookpart {
  \paper {
print-page-number = ##t  %% --  this is not needed, is it?
  }
  \header {
title = \markup {
\fromproperty #'toc:number  %% -- it doesn't print the number
 Piece One } % overrides overall title
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Producing a title page

2014-02-01 Thread Nick Payne

On 01/02/14 21:05, Federico Bruni wrote:
2014/2/1 Nick Payne nick.pa...@internode.on.net 
mailto:nick.pa...@internode.on.net


I've attached my boilerplate that I use for producing a PDF file
with separate title page, table of contents page, and multiple
pieces within the file. For a single piece just delete the TOC
stuff, the additional bookparts for the additional pieces, and set

first-page-number to zero rather than minus one.


Nice example, I have just a couple of questions:

\bookpart {
  \paper {
print-page-number = ##t  %% --  this is not needed, is it?
  }
  \header {
title = \markup {
\fromproperty #'toc:number  %% -- it doesn't print the number
 Piece One } % overrides overall title


You seem to be right on both counts. It's been so long since I created 
this file that I can't remember why I used those values, or if they ever 
actually did anything. Scores based on the boilerplate kept building 
without warnings or errors, so I kept using the file...


Nick

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Producing a title page

2014-01-31 Thread Peter Gentry

Message: 3
Date: Thu, 30 Jan 2014 17:48:42 +
From: David Sumbler da...@aeolia.co.uk
To: lilypond-user@gnu.org
Subject: Producing a title page
Message-ID: 1391104122.2284.67.camel@vesta
Content-Type: text/plain; charset=UTF-8

Having now got LilyPond 2.18.0 set up on my two machines, 
thanks to all the help from the list, I have now started 
trying to adjust the output of the pieces I have so far produced.

I have used \header blocks for title, composer etc., and these 
are working as I would wish.

However, I should like to produce a separate title page which 
precedes the music, but everything I have tried so far doesn't 
work.  Usually I either get additional text added to the first 
page of music, or I get no title above the music itself.

Of course, I could easily create a title page in LibreOffice 
or similar, but as LilyPond seems to have sufficient markup 
capabilities to do anything I am likely to want on a title 
page, it seems a shame not to keep the whole thing in the one place.

What I would like to do is to have some items (e.g. title, 
composer) appearing on page 1, and some of the same ones 
appearing above the music which starts on page 2 (or perhaps 
page 3 in some cases).  I imagine it is possible to set things 
up so that the data only appears once in the file - e.g. 
Title appears once in the .ly file, but appears both on the 
title page (page 1) and on the first page of music.

Here is an abbreviated example of one of my efforts:


\version 2.18.0

\book {
\paper {
   indent = 0\mm
   scoreTitleMarkup = \markup {
   \fill-line {
   \null
   \fontsize #3 \bold \fromproperty #'header:piece
   \null
   }
   }
   first-page-number = #2
}

\header {
   title   = Partita
   subtitle= for solo marimba
}

\score {
   { c'1 c' }
   \header { piece = I.  Allemande }
   \layout { }
}
\pageBreak

\score {
   { d'1 d' }
   \header { piece = II.  Courante }
   \layout { }
}
}


How should I alter this to get a title page showing Partita 
and for solo marimba on a title page preceding the music pages?

David
How about this as a possibility:

% Mozart Quartet K464 Line 1 Bb Clarinet pitch \
% File K464_Bb_L1.ly  \
% --
\version 2.16.0
#(set-global-staff-size 20)

%
% variables for later use to avoid repititions
%-
date = #(strftime %d-%m-%Y (localtime (current-time)))
xtitle = String Quartet K464
xsubtitle = transposed for flute, clarinet, alto flute, and bass clarinet
xChristian = Wolfgang Amadeus
xSurname = Mozart
xdates = (1756-1791)
xpart = Clarinet 1
xinstrument = Clt 1
xmidiInstrument = clarinet
xgraphic=./mozza2.eps 
xstamp = \markup{\concat { Engraved   \bold \date  with   \with-url 
#http://lilypond.org/; LilyPond  \simple
#(lilypond-version)  (http://lilypond.org/) }  }

%---
% variable to control minimum ledger space after pageturn shrinkage 
%---
ledgers =  \override Staff.LedgerLineSpanner #'minimum-length-fraction = #0.4


% 
% header for the first page only
%--
\header {
  mycustomtext= \markup  {
  \fill-line {
  \column {
 \center-align {
\xstamp 
 
\fontsize #-1 Original 
IMSLP64141-PMLP05225-Mozart_Werke_Breitkopf_Serie_14_KV464
\fontsize #-1 Clarinet Quartet Copyright @ 
2002 by Oliver Seeley and assigned to the public
domain }
}
} 
}
}
% ---
% define staffclarinet
% ---

staffinstrument = \new Staff {
\set Staff.instrumentName = \xinstrument
\set Staff.midiInstrument = \xmidiInstrument
}

% ---
% set the paper layout for binding
% footer has title and page number
% ---
\paper {
two-sided = ##t
top-margin = 10\mm
bottom-margin = 10\mm
inner-margin = 20 \mm
outer-margin = 15 \mm
binding-offset = 5 \mm
first-page-number = #1
blank-after-score-page-force = #10
page

RE: Producing a title page

2014-01-31 Thread SoundsFromSound
Peter Gentry wrote

Message: 3
Date: Thu, 30 Jan 2014 17:48:42 +
From: David Sumbler lt;

 david@.co

 gt;
To: 

 lilypond-user@

Subject: Producing a title page
Message-ID: 1391104122.2284.67.camel@vesta
Content-Type: text/plain; charset=UTF-8

Having now got LilyPond 2.18.0 set up on my two machines, 
thanks to all the help from the list, I have now started 
trying to adjust the output of the pieces I have so far produced.

I have used \header blocks for title, composer etc., and these 
are working as I would wish.

However, I should like to produce a separate title page which 
precedes the music, but everything I have tried so far doesn't 
work.  Usually I either get additional text added to the first 
page of music, or I get no title above the music itself.

Of course, I could easily create a title page in LibreOffice 
or similar, but as LilyPond seems to have sufficient markup 
capabilities to do anything I am likely to want on a title 
page, it seems a shame not to keep the whole thing in the one place.

What I would like to do is to have some items (e.g. title, 
composer) appearing on page 1, and some of the same ones 
appearing above the music which starts on page 2 (or perhaps 
page 3 in some cases).  I imagine it is possible to set things 
up so that the data only appears once in the file - e.g. 
Title appears once in the .ly file, but appears both on the 
title page (page 1) and on the first page of music.

Here is an abbreviated example of one of my efforts:


 .
 }  
 }
 
  \pageBreak
  
 
 
 ___
 lilypond-user mailing list

 lilypond-user@

 https://lists.gnu.org/mailman/listinfo/lilypond-user


Peter,
I tried to use your code and I kept getting an error:

error: syntax error, unexpected end of input
 \pageBreak

Do you know how to remedy this? I attempted this code with 2.16 and 2.18.
Thanks!



-
composer | sound designer 
LilyPond Tutorials (for beginners) -- http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Producing-a-title-page-tp158658p158681.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Producing a title page

2014-01-31 Thread David Sumbler
On Thu, 2014-01-30 at 11:09 -0800, Mark Stephen Mrotek wrote:
 David,
 
 Putting a \pagebreak after the first header and before the first score
 seems to accomplish what you want.
 
 Mark

Thanks for that - it seems to be one permutation I hadn't tried!

I must confess that I find some aspects of LilyPond a little hard to
fathom.  For instance, the order in which things need to be done is not
always obvious, e.g. a \header section has to come after the music in a
\score section, yet obviously the header is printed first.

Anyway, I have now come up with the following, which seems to work.  No
doubt it could be improved, so any suggestions would be welcome.

\version 2.18.0

title= Partita
subtitle = for solo marimba

\book {
  \pageBreak
  \paper {
indent = 0\mm
scoreTitleMarkup = \markup {
  \fill-line {
\null
\fontsize #3 \bold \fromproperty #'header:piece
\null
  }
}
  }
  \markup {
\column {
  \vspace #15
  \fill-line { \abs-fontsize #48 \bold \title }
  \vspace #1.5
  \fill-line { \abs-fontsize #20 \subtitle }
}
  }
  \pageBreak

  \bookpart {
\header {
  title= \markup { \abs-fontsize #24 \title }
  subtitle = \subtitle
}
\markup { \vspace #1 }
\score {
  { c'1 c' }
  \header { piece = I.  Allemande }
  \layout { }
}
\pageBreak

\score {
  { d'1 d' }
  \header { piece = II.  Courante }
  \layout { }
}
  }
}


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Producing a title page

2014-01-31 Thread MING TSANG


   6. RE:Producing a title page (SoundsFromSound)


--




Message: 6





Peter,
I tried to use your code and I kept getting an error:

error: syntax error, unexpected end of input
\pageBreak

Do you know how to remedy this? I attempted this code with 2.16 and 2.18.
Thanks!



-
There is a missing closing } at the end.
Emanuel,
Ming___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Producing a title page

2014-01-31 Thread Pierre Perol-Schneider
2014-01-31 MING TSANG tsan...@rogers.com:


 I tried to use your code and I kept getting an error:

 error: syntax error, unexpected end of input
 \pageBreak


I suppose a } is missing at the end of the code.
Cheers,
Pierre
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Producing a title page

2014-01-31 Thread Pierre Perol-Schneider
I've just tried the code.
An eps file is missing too : delete the corresponded line (line # 126)
Cheers,
Pierre
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Producing a title page

2014-01-31 Thread David Kastrup
David Sumbler da...@aeolia.co.uk writes:

 On Thu, 2014-01-30 at 11:09 -0800, Mark Stephen Mrotek wrote:
 David,
 
 Putting a \pagebreak after the first header and before the first score
 seems to accomplish what you want.
 
 Mark

 Thanks for that - it seems to be one permutation I hadn't tried!

 I must confess that I find some aspects of LilyPond a little hard to
 fathom.  For instance, the order in which things need to be done is not
 always obvious, e.g. a \header section has to come after the music in a
 \score section, yet obviously the header is printed first.

URL:http://code.google.com/p/lilypond/issues/detail?id=3727, fixed
in 2.19.0.  Please note that many hard to fathom things have a long
history so everybody™ is used to them by now, and there are also often
some technical hurdles involved (if you take a look at the patch for the
above issue, it adds quite more lines than it removes).  So such things
tend to be addressed at a rather leisurely pace.

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Producing a title page

2014-01-31 Thread SoundsFromSound
Peter Gentry wrote

Message: 3
Date: Thu, 30 Jan 2014 17:48:42 +
From: David Sumbler lt;

 david@.co

 gt;
To: 

 lilypond-user@

Subject: Producing a title page
Message-ID: 1391104122.2284.67.camel@vesta
Content-Type: text/plain; charset=UTF-8

Having now got LilyPond 2.18.0 set up on my two machines, 
thanks to all the help from the list, I have now started 
trying to adjust the output of the pieces I have so far produced.

I have used \header blocks for title, composer etc., and these 
are working as I would wish.

However, I should like to produce a separate title page which 
precedes the music, but everything I have tried so far doesn't 
work.  Usually I either get additional text added to the first 
page of music, or I get no title above the music itself.

Of course, I could easily create a title page in LibreOffice 
or similar, but as LilyPond seems to have sufficient markup 
capabilities to do anything I am likely to want on a title 
page, it seems a shame not to keep the whole thing in the one place.

What I would like to do is to have some items (e.g. title, 
composer) appearing on page 1, and some of the same ones 
appearing above the music which starts on page 2 (or perhaps 
page 3 in some cases).  I imagine it is possible to set things 
up so that the data only appears once in the file - e.g. 
Title appears once in the .ly file, but appears both on the 
title page (page 1) and on the first page of music.

Here is an abbreviated example of one of my efforts:


\version 2.18.0

\book {
\paper {
  indent = 0\mm
  scoreTitleMarkup = \markup {
  \fill-line {
  \null
  \fontsize #3 \bold \fromproperty #'header:piece
  \null
  }
  }
  first-page-number = #2
}

\header {
  title   = Partita
  subtitle= for solo marimba
}

\score {
  { c'1 c' }
  \header { piece = I.  Allemande }
  \layout { }
}
\pageBreak

\score {
  { d'1 d' }
  \header { piece = II.  Courante }
  \layout { }
}
}


How should I alter this to get a title page showing Partita 
and for solo marimba on a title page preceding the music pages?

David
 How about this as a possibility:
 
 % Mozart Quartet K464 Line 1 Bb Clarinet pitch \
 % File K464_Bb_L1.ly  \
 % --
 \version 2.16.0
 #(set-global-staff-size 20)
 
 %
 % variables for later use to avoid repititions
 %-
 date = #(strftime %d-%m-%Y (localtime (current-time)))
 xtitle = String Quartet K464
 xsubtitle = transposed for flute, clarinet, alto flute, and bass
 clarinet
 xChristian = Wolfgang Amadeus
 xSurname = Mozart
 xdates = (1756-1791)
 xpart = Clarinet 1
 xinstrument = Clt 1
 xmidiInstrument = clarinet
 xgraphic=./mozza2.eps 
 xstamp = \markup{\concat { Engraved   \bold \date  with   \with-url
 #http://lilypond.org/; LilyPond  \simple
 #(lilypond-version)  (http://lilypond.org/) }  }
 
 %---
 % variable to control minimum ledger space after pageturn shrinkage 
 %---
 ledgers =  \override Staff.LedgerLineSpanner #'minimum-length-fraction =
 #0.4
 
 
 % 
 % header for the first page only
 %--
 \header {
   mycustomtext= \markup  {
   \fill-line {
   \column {
  \center-align {
 \xstamp 
  
 \fontsize #-1 Original
 IMSLP64141-PMLP05225-Mozart_Werke_Breitkopf_Serie_14_KV464
 \fontsize #-1 Clarinet Quartet
 Copyright @ 2002 by Oliver Seeley and assigned to the public
 domain }
 }
 } 
 }
 }
 % ---
 % define staffclarinet
 % ---
 
 staffinstrument = \new Staff {
   \set Staff.instrumentName = \xinstrument
   \set Staff.midiInstrument = \xmidiInstrument
 }
 
 % ---
 % set the paper layout for binding
 % footer has title and page number
 % ---
 \paper {
   two-sided = ##t
 top-margin = 10\mm
 bottom-margin = 10\mm  
 inner-margin = 20 \mm
   outer-margin = 15 \mm
   binding-offset = 5 \mm
   first-page-number = #1

Re: Producing a title page

2014-01-31 Thread Nick Payne

On 31/01/14 04:48, David Sumbler wrote:

Having now got LilyPond 2.18.0 set up on my two machines, thanks to all
the help from the list, I have now started trying to adjust the output
of the pieces I have so far produced.

I have used \header blocks for title, composer etc., and these are
working as I would wish.

However, I should like to produce a separate title page which precedes
the music, but everything I have tried so far doesn't work.  Usually I
either get additional text added to the first page of music, or I get no
title above the music itself.


I've attached my boilerplate that I use for producing a PDF file with 
separate title page, table of contents page, and multiple pieces within 
the file. For a single piece just delete the TOC stuff, the additional 
bookparts for the additional pieces, and set


first-page-number to zero rather than minus one.


Nick

\version 2.18.0

date = #(strftime %d/%m/%Y (localtime (current-time)))

\paper {
  #(define (print-positive-page-number layout props arg)
 (if ( (chain-assoc-get 'page:page-number props -1) 0)
 (create-page-number-stencil layout props arg)
 empty-stencil))
  
  #(define (not-last-page layout props arg)
 (if (and (chain-assoc-get 'page:is-bookpart-last-page props #f)
  (chain-assoc-get 'page:is-last-bookpart props #f))
 empty-stencil
 (interpret-markup layout props arg)))
  
  print-all-headers = ##f
  first-page-number = -1
  tocItemMarkup = \tocItemWithDotsMarkup
  oddHeaderMarkup = \markup \fill-line {   }
  evenHeaderMarkup = \oddHeaderMarkup
  oddFooterMarkup = \markup \fill-line { \column { \fontsize #-1
\on-the-fly #not-first-page \on-the-fly #not-last-page 
\on-the-fly #print-positive-page-number \fromproperty #'page:page-number-string
\on-the-fly #last-page \fromproperty #'header:tagline
  } }
  evenFooterMarkup = \oddFooterMarkup
}

\header {
  title = \markup {
\lower #50 \left-align \center-column { 
  \fontsize #4 \bold Overall Title
}
  }
  subtitle = \markup {
\lower #4 \left-align \center-column { 
  \fontsize #1 \bold Overall Subtitle
}
  }
  tagline = \markup {
\fontsize #-3.5 {
  \override #'(box-padding . 1.0) \override #'(baseline-skip . 2.7) \box \center-column {
\line {
  Engraved on \date using \with-url #http://lilypond.org/;
  \line {
LilyPond \simple #(lilypond-version) (http://lilypond.org/)
  }
}
  }
}
  }
}

\pageBreak

\markuplist \table-of-contents
\markup \null

\bookpart {
  \paper {
print-page-number = ##t
  }
  \header { 
title = \markup { \fromproperty #'toc:number  Piece One } % overrides overall title
subtitle = ##f % prevent overall subtitle from appearing
composer = Composer One
  } 
  \tocItem \markup { 1. Piece One }
  \relative c' { c1 }
}

\bookpart {
  \paper {
print-page-number = ##t
  }
  \header { 
title = \markup { \fromproperty #'toc:number  Piece Two } % overrides overall title
subtitle = ##f % prevent overall subtitle from appearing
composer = Composer Two
  }
  \tocItem \markup { 2. Piece Two }
  \relative c' { c1 }
}

\bookpart {
  \paper {
print-page-number = ##t
  }
  \header {
title = \markup { \fromproperty #'toc:number  Piece Three } % overrides overall title
subtitle = ##f % prevent overall subtitle from appearing
composer = Composer Three
  }
  \tocItem \markup { 3. Piece Three }
  \relative c' { c1 }
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Producing a title page

2014-01-30 Thread David Sumbler
Having now got LilyPond 2.18.0 set up on my two machines, thanks to all
the help from the list, I have now started trying to adjust the output
of the pieces I have so far produced.

I have used \header blocks for title, composer etc., and these are
working as I would wish.

However, I should like to produce a separate title page which precedes
the music, but everything I have tried so far doesn't work.  Usually I
either get additional text added to the first page of music, or I get no
title above the music itself.

Of course, I could easily create a title page in LibreOffice or similar,
but as LilyPond seems to have sufficient markup capabilities to do
anything I am likely to want on a title page, it seems a shame not to
keep the whole thing in the one place.

What I would like to do is to have some items (e.g. title, composer)
appearing on page 1, and some of the same ones appearing above the music
which starts on page 2 (or perhaps page 3 in some cases).  I imagine it
is possible to set things up so that the data only appears once in the
file - e.g. Title appears once in the .ly file, but appears both on
the title page (page 1) and on the first page of music.

Here is an abbreviated example of one of my efforts:


\version 2.18.0

\book {
\paper {
indent = 0\mm
scoreTitleMarkup = \markup {
\fill-line {
\null
\fontsize #3 \bold \fromproperty #'header:piece
\null
}
}
first-page-number = #2
}

\header {
title   = Partita
subtitle= for solo marimba
}

\score {
{ c'1 c' }
\header { piece = I.  Allemande }
\layout { }
}
\pageBreak

\score {
{ d'1 d' }
\header { piece = II.  Courante }
\layout { }
}
}


How should I alter this to get a title page showing Partita and for
solo marimba on a title page preceding the music pages?

David


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Producing a title page

2014-01-30 Thread Richard Shann
Nicholas Sceaux created code for doing this, which has been adapted
inside Denemo. So you could use that directly, or use Denemo to create
your title page and just steal the LilyPond code from there. There is an
example of the sort of title page you can get here:
http://imslp.org/wiki/Pavana_%26_Galliarda_Dolorosa_%28Philips,_Peter%29

this also includes table of contents etc. The source code is on the
Denemo website.

HTH,

Richard


On Thu, 2014-01-30 at 17:48 +, David Sumbler wrote:
 Having now got LilyPond 2.18.0 set up on my two machines, thanks to all
 the help from the list, I have now started trying to adjust the output
 of the pieces I have so far produced.
 
 I have used \header blocks for title, composer etc., and these are
 working as I would wish.
 
 However, I should like to produce a separate title page which precedes
 the music, but everything I have tried so far doesn't work.  Usually I
 either get additional text added to the first page of music, or I get no
 title above the music itself.
 
 Of course, I could easily create a title page in LibreOffice or similar,
 but as LilyPond seems to have sufficient markup capabilities to do
 anything I am likely to want on a title page, it seems a shame not to
 keep the whole thing in the one place.
 
 What I would like to do is to have some items (e.g. title, composer)
 appearing on page 1, and some of the same ones appearing above the music
 which starts on page 2 (or perhaps page 3 in some cases).  I imagine it
 is possible to set things up so that the data only appears once in the
 file - e.g. Title appears once in the .ly file, but appears both on
 the title page (page 1) and on the first page of music.
 
 Here is an abbreviated example of one of my efforts:
 
 
 \version 2.18.0
 
 \book {
 \paper {
   indent = 0\mm
   scoreTitleMarkup = \markup {
   \fill-line {
   \null
   \fontsize #3 \bold \fromproperty #'header:piece
   \null
   }
   }
   first-page-number = #2
 }
 
 \header {
   title   = Partita
   subtitle= for solo marimba
 }
 
 \score {
   { c'1 c' }
   \header { piece = I.  Allemande }
   \layout { }
 }
 \pageBreak
 
 \score {
   { d'1 d' }
   \header { piece = II.  Courante }
   \layout { }
 }
 }
 
 
 How should I alter this to get a title page showing Partita and for
 solo marimba on a title page preceding the music pages?
 
 David
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Producing a title page

2014-01-30 Thread SoundsFromSound
Richard Shann-2 wrote
 Nicholas Sceaux created code for doing this, which has been adapted
 inside Denemo. So you could use that directly, or use Denemo to create
 your title page and just steal the LilyPond code from there. There is an
 example of the sort of title page you can get here:
 http://imslp.org/wiki/Pavana_%26_Galliarda_Dolorosa_%28Philips,_Peter%29
 
 this also includes table of contents etc. The source code is on the
 Denemo website.
 
 HTH,
 
 Richard
 
 
 On Thu, 2014-01-30 at 17:48 +, David Sumbler wrote:
 Having now got LilyPond 2.18.0 set up on my two machines, thanks to all
 the help from the list, I have now started trying to adjust the output
 of the pieces I have so far produced.
 
 I have used \header blocks for title, composer etc., and these are
 working as I would wish.
 
 However, I should like to produce a separate title page which precedes
 the music, but everything I have tried so far doesn't work.  Usually I
 either get additional text added to the first page of music, or I get no
 title above the music itself.
 
 Of course, I could easily create a title page in LibreOffice or similar,
 but as LilyPond seems to have sufficient markup capabilities to do
 anything I am likely to want on a title page, it seems a shame not to
 keep the whole thing in the one place.
 
 What I would like to do is to have some items (e.g. title, composer)
 appearing on page 1, and some of the same ones appearing above the music
 which starts on page 2 (or perhaps page 3 in some cases).  I imagine it
 is possible to set things up so that the data only appears once in the
 file - e.g. Title appears once in the .ly file, but appears both on
 the title page (page 1) and on the first page of music.
 
 Here is an abbreviated example of one of my efforts:
 
 
 \version 2.18.0
 
 \book {
 \paper {
  indent = 0\mm
  scoreTitleMarkup = \markup {
  \fill-line {
  \null
  \fontsize #3 \bold \fromproperty #'header:piece
  \null
  }
  }
  first-page-number = #2
 }
 
 \header {
  title   = Partita
  subtitle= for solo marimba
 }
 
 \score {
  { c'1 c' }
  \header { piece = I.  Allemande }
  \layout { }
 }
 \pageBreak
 
 \score {
  { d'1 d' }
  \header { piece = II.  Courante }
  \layout { }
 }
 }
 
 
 How should I alter this to get a title page showing Partita and for
 solo marimba on a title page preceding the music pages?
 
 David
 
 
 ___
 lilypond-user mailing list
 

 lilypond-user@

 https://lists.gnu.org/mailman/listinfo/lilypond-user
 
 
 
 ___
 lilypond-user mailing list

 lilypond-user@

 https://lists.gnu.org/mailman/listinfo/lilypond-user

Richard,

Where abouts on the Denemo website is the source code for that cover page
'template'? Thanks!



-
composer | sound designer 
LilyPond Tutorials (for beginners) -- http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Producing-a-title-page-tp158658p158661.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Producing a title page

2014-01-30 Thread Mark Stephen Mrotek
David,

Putting a \pagebreak after the first header and before the first score
seems to accomplish what you want.

Mark

-Original Message-
From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of
David Sumbler
Sent: Thursday, January 30, 2014 9:49 AM
To: lilypond-user@gnu.org
Subject: Producing a title page

Having now got LilyPond 2.18.0 set up on my two machines, thanks to all the
help from the list, I have now started trying to adjust the output of the
pieces I have so far produced.

I have used \header blocks for title, composer etc., and these are working
as I would wish.

However, I should like to produce a separate title page which precedes the
music, but everything I have tried so far doesn't work.  Usually I either
get additional text added to the first page of music, or I get no title
above the music itself.

Of course, I could easily create a title page in LibreOffice or similar, but
as LilyPond seems to have sufficient markup capabilities to do anything I am
likely to want on a title page, it seems a shame not to keep the whole thing
in the one place.

What I would like to do is to have some items (e.g. title, composer)
appearing on page 1, and some of the same ones appearing above the music
which starts on page 2 (or perhaps page 3 in some cases).  I imagine it is
possible to set things up so that the data only appears once in the file -
e.g. Title appears once in the .ly file, but appears both on the title
page (page 1) and on the first page of music.

Here is an abbreviated example of one of my efforts:


\version 2.18.0

\book {
\paper {
indent = 0\mm
scoreTitleMarkup = \markup {
\fill-line {
\null
\fontsize #3 \bold \fromproperty #'header:piece
\null
}
}
first-page-number = #2
}

\header {
title   = Partita
subtitle= for solo marimba
}

\score {
{ c'1 c' }
\header { piece = I.  Allemande }
\layout { }
}
\pageBreak

\score {
{ d'1 d' }
\header { piece = II.  Courante }
\layout { }
}
}


How should I alter this to get a title page showing Partita and for solo
marimba on a title page preceding the music pages?

David


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Producing a title page

2014-01-30 Thread Richard Shann
On Thu, 2014-01-30 at 10:59 -0800, SoundsFromSound wrote:
 Richard Shann-2 wrote
  Nicholas Sceaux created code for doing this, which has been adapted
  inside Denemo. So you could use that directly, or use Denemo to create
  your title page and just steal the LilyPond code from there. There is an
  example of the sort of title page you can get here:
  http://imslp.org/wiki/Pavana_%26_Galliarda_Dolorosa_%28Philips,_Peter%29
  
  this also includes table of contents etc. The source code is on the
  Denemo website.
[...]
  
  How should I alter this to get a title page showing Partita and for
  solo marimba on a title page preceding the music pages?
  
  David
  
[...]
 
 Richard,
 
 Where abouts on the Denemo website is the source code for that cover page
actually, *that* cover page has been augmented by a border in the newer
Denemo versions ...
 'template'? Thanks!

Its linked from the Showcase page

http://denemo_wordpress.local/wp-content/uploads/2013/10/Pavana-Dolorosa.denemo

it is xml, so you may need to force your browser to download it rather
than display it. In practice you would need to load it into Denemo and
then export the LilyPond to get to the LilyPond text, of course,
otherwise you would need to grub around in the Denemo source tree.

Richard





___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Producing a title page

2014-01-30 Thread SoundsFromSound
Richard Shann-2 wrote
 On Thu, 2014-01-30 at 10:59 -0800, SoundsFromSound wrote:
 Richard Shann-2 wrote
  Nicholas Sceaux created code for doing this, which has been adapted
  inside Denemo. So you could use that directly, or use Denemo to create
  your title page and just steal the LilyPond code from there. There is
 an
  example of the sort of title page you can get here:
 
 http://imslp.org/wiki/Pavana_%26_Galliarda_Dolorosa_%28Philips,_Peter%29
  
  this also includes table of contents etc. The source code is on the
  Denemo website.
 [...]
  
  How should I alter this to get a title page showing Partita and for
  solo marimba on a title page preceding the music pages?
  
  David
  
 [...]
 
 Richard,
 
 Where abouts on the Denemo website is the source code for that cover page
 actually, *that* cover page has been augmented by a border in the newer
 Denemo versions ...
 'template'? Thanks!
 
 Its linked from the Showcase page
 
 http://denemo_wordpress.local/wp-content/uploads/2013/10/Pavana-Dolorosa.denemo
 
 it is xml, so you may need to force your browser to download it rather
 than display it. In practice you would need to load it into Denemo and
 then export the LilyPond to get to the LilyPond text, of course,
 otherwise you would need to grub around in the Denemo source tree.
 
 Richard
 
 
 
 
 
 ___
 lilypond-user mailing list

 lilypond-user@

 https://lists.gnu.org/mailman/listinfo/lilypond-user

Thanks Richard! But...I can't access that website, it's a .local and it's
not loading in any of my browsers. I'll check the showcase online and see if
I can find it that way. 



-
composer | sound designer 
LilyPond Tutorials (for beginners) -- http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Producing-a-title-page-tp158658p158671.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user