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: Richard Shann
Subject: Re: Creating a book of pieces?
Date: Sat, 26 Feb 2022 09:39:18 +0000
User-agent: Evolution 3.38.3-1

On Sat, 2022-02-26 at 00:45 +0000, Alasdair McAndrew wrote:
> 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?

There was a recent discussion of this in the thread starting here:

https://lists.gnu.org/archive/html/lilypond-user/2022-02/msg00187.html

The upshot is that there is currently no way to create a book directly
from LilyPond with your Suite 1 having its own font-size, indent etc
differing from Suite 2 and so on.
The solution I've created - in Denemo(*), but it should be possible to
do it otherwise - uses Ghostscript to concatenate PDFs and report on
their page count (and multiple runs of LilyPond on the separate Suites
to install the correct page numbering). With this you can create an
arbitrary collection of LilyPond books and put them together into a
single PDF. Generating a title page and table of contents is an obvious
extension.

HTH

Richard Shann

(*)
http://git.savannah.gnu.org/gitweb/?p=denemo.git;a=blob;f=actions/menus/MainMenu/FileMenu/Export/ExportBook.scm;h=663a5e8e8c40ea73d398cbf97e59ea5b48acaeba;hb=de8e0176e500ed969579c574be7e7d842f7f4160

> 
> 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
> > 
> > 
> 
> -- 
> 0432 854 858
> https://numbersandshapes.net





reply via email to

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