Thank you for the suggestions so far (one of them was off-list).  They
should enable me to do what I asked for, i.e. to leave a blank space at
the top of certain right-hand pages.

But even what I asked for isn't what I would really like in a perfect
world, which is as follows.

The items are numbered sequentially, starting with number 1.  At the
top of each page, I would like to have (in fairly large print) the
number(s) of the item(s) contained on that page, placed at the outer
edge of the page.  Sometimes there might be 2 items on a page.  Other
items might take up 1 or 2 pages, possibly more.  So, for example, I
would like the following:

Page 1, containing items 1 and 2: header shows '1&2'
Pages 2-3, each containing a single item: headers show '3' and '4'
respectively
Pages 4-5, containing item 5 spread over the 2 pages: headers show '5'
and '(5)'
I don't want the actual page numbers shown at all.

I'm not sure that there is any way of doing this in Lilypond.  Clearly
I need to specify the contents of the page header separately for each
item, but so far as I can see I can only have page headers which repeat
through the whole book.  If I specify oddHeaderMarkup etc. in the files
for individual items, which are called by my top-level file, I find
that the last one is applied to the whole document.

Is there some way of doing what I want which would still allow me to
end up with a single output file?

David

On Wed, 2024-10-16 at 22:03 +0100, David Sumbler wrote:
> I am setting a series of items for a single melody instrument (i.e.
> using one stave).  These items are generally quite short and will fit
> on one page.  Sometimes I can even get 2 on a page.
> 
> But a few of them require 2 pages, and naturally I try to arrange
> things so that they cover a left-hand page and a right-hand page in
> that order.
> 
> At the head of each item I have a markup which takes up something
> like 2 cm. of space.  I would like to create a similar empty space on
> the right-hand page of a 2-page item, so that the first stave of the
> 2nd page is roughly lined up with the top stave on the left-hand
> page.
> 
> I can't add a markup in the middle of a score unless it is somehow
> attached to a stave.  I could perhaps do something like create an
> invisible staccato dot on a note in the top stave of the page, and
> give it an extreme Y-offset.
> 
> But I can't help feeling there must be a more elegant and orthodox
> way of doing what I want.  Suggestions, please?
> 
> David

Reply via email to