bugDenemo - Bugs: bug #37096, Default title layout


bug #37096: Default title layout

Submitted by:  John Beattie <jabeattie>
Submitted on:  Tue 14 Aug 2012 04:27:12 PM UTC  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 13 Jun 2013 07:25:20 PM UTC, comment #2:

This now does sensible things, and warns if you switch to simple titles.

Richard Shann <rshann>
Project Administrator
Wed 15 Aug 2012 08:13:54 AM UTC, comment #1:

Thank you for delving into this stuff. I have done all the work related to getting titles and title pages and so on working to the extent that they do work, but I have never really understood what LilyPond is doing. Fairly recently I created the titling system that you will find under Score->Titles->BookTitles and Movement->Titles->BookTitles.
These scripts allow you to create a title page, table of contents and a critical commentary (via Score->Titles->BookTitles->Epilog) gathering up the Directives->Critical Commnent directives and numbering them placing them at the end, with any notes created via the Title... command in Epilog). An example of this is http://www.denemo.org/dl29 which is created without any LilyPond tweaking.

The Simple Titles scripts still work, they involve some horrible kludge (IIRC the Title for the work is created as a title= entry, and then each movement title is created via subtitle= entries).

Just now going into the repository is further development allowing you to quote music snippets in the commentary, and already delivered is an incipit= field that places a snippet of music on the title page so that you know what the music is from looking at the title page. This is enough to allow the creation of thematic indices, where the table of contents gives the incipit of each movement. But I am struggling here with my lack of understanding of the \markup command - at the moment comments use \wordwrap-string but once you insert a snippet of music the word-wrapping fails, so its use is limited to short comments about the music.

It would be nice if some hero stepped up to create an ideal flexible system for this stuff, but I can see that it is a lot of work. The Book Titles work that I have done is built on the book-titling.ily file of Nicholas Sceaux, and he clearly put a lot of work into it, but I couldn't live with the output - the automatic upper-casing jarred on my sensibilities and so I overrode some of the code by including the file simplified-book-titling.ily and it is in there that I have now included printing the incipit field on the title page.

However, even without designing a complete system, if you create a menu of commands to create the titles as you would like them they can be placed in the menu system for others to use - that too would be most welcome.

Richard Shann <rshann>
Project Administrator
Tue 14 Aug 2012 04:27:12 PM UTC, original submission:

This is a problem I have been working around since at least version 8.1.8. I think it is time to let you have a think about whether the default layout is what you realy want.

I am using term "prefix Header" to refer to Header block that appears before the \score and "postfix Header" for the Header block afer \score.

What the default titling-init.ly contain:

When you do any form of print the titling markups are called in the following order.

BookTitleMarkup (to print out Dedication, Title , SubTitle, SubSubTitle, Poet, Instrument, Composer, meter, and Arranger)
ScoreTitleMarkup - which calls BookTitleMarkup again and then prints Piece & Opus.

Non-first page header contain page number & Instrument (I prefer to add the Title too so that when pages get separated they can be matched up. However for purpose of this Title behaves the same as Instrument.)

Footer for first page has copyright & last page has tagline.

What happens is:

First BookTitleMarkup does nothing because it is working on prefix Header and all the title values are in the postfix Header. So it was a bit pointless calling it!
Second BookTitleMarkup prints as expected because it is now working on postfix Header.

Non-first pages print out just page number not Instrument (or Title) because the prefix Header is used.

Copyright and tagline are printed in the appropriate footer because their values are in the prefix Header.

On a single page it all appears to work.
On multiple pages only Instrument (& Title when I try to add it in titling-init) is missing.
You might get away with that but is it realy what was intended?

I know somebody was working on the idea of a Title Page (though that seems to have been removed again) so that will also have to be considered. (personally I don't normally use a Title Page).

As I've said I have worked around this for a long time and can continue to do so.
I change titling-init to avoid repetition and have modified scripts for puting titles into prefix header. There are a couple of ways to get the effect I want.

John Beattie <jabeattie>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by rshann (Posted a comment)
  • -unavailable- added by jabeattie (Submitted the item)
  • -unavailable- added by jabeattie

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 13 Jun 2013 07:25:20 PM UTCrshannStatusConfirmed=>Fixed
    Wed 15 Aug 2012 08:13:54 AM UTCrshannStatusNone=>Confirmed
    Tue 14 Aug 2012 04:27:12 PM UTCjabeattieCarbon-Copy-=>Added jabeattie

    Back to the top

    Powered by Savane 3.1-cleanup1