Hello,I'm a french Lilypond user and I use to discuss on the LilyPond French-speaking list.
I recently found a post of Thomas Morley about page numbering within a \bookpart (this page <https://www.mail-archive.com/lilypond-user@gnu.org/msg115188.html>). It is very useful for me, is there a more recent version?
Here are a few things I'm having trouble with :1- the example in the post compiles perfectly, mine (first example below) ends with this error.
FORMAT: error with call: (format #f "~(~@r<===~)" ===>0 ) only positive integers can be romanized<unnamed port>: In procedure scm-error in expression (scm-error (quote misc-error) #f ...):<unnamed port>: error in format
I don't understand where the difference is.2- If I compile two books in the same document and print-first-page-number has the value ##f the second page of the second book is numbered with the value 0. If print-first-page-number has the value ##t the result is correct. See the second example below.
3- Even with print-first-page-number = ##f the first pages of the \bookparts (starting from the second one) are printed. Is there a way to hide them?
Many thanks in advance. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% First example : \version "2.22.1" \include "BookPartPagesNumber.ly" musique = \relative c'' { \repeat unfold 2 { d1 \pageBreak } } \book { \bookpart { \paper { oddHeaderMarkup = \oddMarkup #'roman-lower evenHeaderMarkup = \evenMarkup #'roman-lower } \score { \musique } } \bookpart { \paper { oddHeaderMarkup = \oddMarkup #'arabic evenHeaderMarkup = \evenMarkup #'arabic } \score { \musique } } } Second example : \version "2.22.1" \include "BookPartPagesNumber.ly" musique = \relative c'' { \repeat unfold 2 { d1 \pageBreak } } \paper { print-first-page-number = ##f } \book { \bookpart { \paper { oddHeaderMarkup = \oddMarkup #'arabic evenHeaderMarkup = \evenMarkup #'arabic } \score { \musique } } \bookpart { \paper { oddHeaderMarkup = \oddMarkup #'arabic evenHeaderMarkup = \evenMarkup #'arabic } \score { \musique } } } \book { \bookpart { \paper { oddHeaderMarkup = \oddMarkup #'arabic evenHeaderMarkup = \evenMarkup #'arabic } \score { \musique } } \bookpart { \paper { oddHeaderMarkup = \oddMarkup #'arabic evenHeaderMarkup = \evenMarkup #'arabic } \score { \musique } } } -- Vincent Gay Envoyé depuis mon saxo-phone :) https://myrealbook.vintherine.org/ -http://photos.vintherine.org/
OpenPGP_signature
Description: OpenPGP digital signature