lilypond-user
[Top][All Lists]
Advanced

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

Re: Creating a book of pieces?


From: Valentin Petzel
Subject: Re: Creating a book of pieces?
Date: Sat, 26 Feb 2022 11:15:11 +0100

But why should this pose a problem? Here’s a short demonstration:

\markuplist \table-of-contents
\pageBreak

\bookpart {
  \header {
    title = "Suite I"
  }
  \tocItem \markup "Suite I"
  \score {
    \header {
      piece = "I. Allegro"
    }
    { c }
    \layout { }
  }
  \score {
    \header {
      piece = "II. Allegris"
    }
    { c }
    \layout { }
  }
  \score {
    \header {
      piece = "III. Allegrit"
    }
    { c }
    \layout { }
  }
  \score {
    \header {
      piece = "IV. Allegrimus"
    }
    { c }
    \layout { }
  }
  \score {
    \header {
      piece = "V. Allegritis"
    }
    { c }
    \layout { }
  }
  \score {
    \header {
      piece = "VI. Allegrint"
    }
    { c }
    \layout { }
  }
}
\bookpart {
  \header {
    title = "Suite II"
  }
  \tocItem \markup "Suite II"
  \score {
    \header {
      piece = "I. Allegro"
    }
    { c }
    \layout { }
  }
  \score {
    \header {
      piece = "II. Allegris"
    }
    { c }
    \layout { }
  }
  \score {
    \header {
      piece = "III. Allegrit"
    }
    { c }
    \layout { }
  }
  \score {
    \header {
      piece = "IV. Allegrimus"
    }
    { c }
    \layout { }
  }
  \score {
    \header {
      piece = "V. Allegritis"
    }
    { c }
    \layout { }
  }
  \score {
    \header {
      piece = "VI. Allegrint"
    }
    { c }
    \layout { }
  }
}


Cheers,
Valentin

Am Samstag, 26. Februar 2022, 01:45:44 CET schrieb Alasdair McAndrew:
> Thank you very much.  I already use multiple score blocks for different
> movements; each movement has its own heading, time signature etc.  So I get
> a single file from multiple score blocks.  But these multiple blocks form
> suites, and I want the book to refer to the suites, rather than their
> individual movements.
> 
> 
> That is, the contents page might have
> 
> 
> Suite 1 ...    3
> Suite 2 ...    14
> 
> 
> and so on for the pages for each suite.  But Suite 1 itself (and all the
> others) is built from the score blocks: Overture, Allemande, Bourree,
> Menuet, Gavotte, Gigue  (for example).  Maybe LaTeX will in fact be my best
> bet?
> 
> 
> cheers,
> Alasdair
> 
> On Saturday 26 February 2022 11:37:12 (+11:00), Valentin Petzel wrote:
> 
> 
> 
> Hello Alasdair,
> 
> 
> 
> 
> Yes, there is. Placing multiple \score{...} blocks in one file will produce
> one pdf. Using \book{..} we can split this into multiple pdfs produced from
> one file.
> 
> 
> 
> 
> Title pages can be designed using \markup{...}, but it is also viable to
> create the title page in some other application and join the pdfs (this
> might be nescessary if you want to design very intricate pdfs).
> 
> 
> 
> 
> Doing a ToC is possible as well, see here:
> 
> https://lilypond.org/doc/v2.23/Documentation/notation/table-of-contents
> 
> 
> 
> 
> Cheers,
> 
> Valentin
> 
> Am Freitag, 25. Februar 2022, 22:49:22 CET schrieb Alasdair McAndrew:
>  > Hello,
>  > 
>  > Over the past few weeks I have been transcribing a set of 18th century
>  > 
>  > suites into Lilypond (they look very nice, too), and now I'd like to
>  > 
>  > collect them into one "book"; that is, a single PDF file with title
> 
> page,
> 
>  > table of contents etc.
>  > 
>  > 
>  > 
>  > Can Lilypond do this, or do I need to invoke some other software?  I can
>  > 
>  > use LaTeX happily enough - I've been using it professionally for
> 
> decades.
> 
>  > (However, getting page numbers correct in LaTeX from included PDF files
> 
> has
> 
>  > a few pitfalls.)  Is there a "standard" way of collecting a whole lot of
>  > 
>  > Lilypond pieces into one nice product?
>  > 
>  > 
>  > 
>  > Thanks very much,
>  > 
>  > Alasdair

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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