On Tue, 2026-02-17 at 16:07 +0000, Joe Wilkinson wrote:
> A curiosity for you, Richard. [...]
> I am using the current up-to-date Denemo version, not the daily
> incremented one.
You can find the version by clicking on Help->About; it is more useful
to give this
> And I get the Lilypond message about using 2.2 rather than the
> 2.4[...]
>
> When I open the file it automatically Typesets in a second window but
> I don't understand the should-print-Page-Number 1
The warning is telling you that there may be bits of LilyPond syntax
which this earlier version of LilyPond will not understand.
Looking in the LilyPond window I see:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Typesetting ...Done
/tmp/Denemo_OLWYK3/denemoprintB.ly:18:9: error: not a markup
\if \should-print-page-number
/tmp/Denemo_OLWYK3/denemoprintB.ly:18:13: error: unknown escaped string:
`\should-print-page-number' ...
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
To find out which directive is responsible for this bit of syntax
"should-print-page-number" there is an option in the right-click menu
of the Lilypond View offering to annotate the LilyPond with the names
of the Denemo Directives - using this I see (at the place it goes red
indicating an problem)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%{Score Version:(ScoreVersion)%} \paper {
oddHeaderMarkup = \markup \fill-line {\line{\teeny {v
1}}\line {
\if \should-print-page-number
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
This tells me that it is the directive tagged "ScoreVersion" that is
giving rise to that bit of LilyPond syntax, the command being "Score
Version"
and re-running that command
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Location: Object Menu ▶ Score ▶ Titles
Label: Score Version
Name: ScoreVersion
Tooltip: Prints a tiny text in top left corner of the first page and
optionally on subsequent pages. The score layout name can also be
optionally included. If only on first page it comes below the title.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
results in the older syntax being re-instated.
(It then threw an error message about the number of pages being out of
bounds, but that will be due to one of the set total number of pages
directives that you have set up).
HTH
Richard