On Sun, 2026-01-25 at 12:29 +0000, Joe Wilkinson wrote:
> Hi Richard,
> 
> I've used Smaller Staff before but now it seems to create an error. 
> (Tiny staff doesn't)
This is because of a change to LilyPond syntax, it doesn't cause an
error but LilyPond warns that it is deprecated. I've updated
SmallerStaff.scm now - I must have missed it when doing them last year.
Unfortunately, the windows overnight builds are not working yet as far
as I know so you are forced to use some workaround, you can

1) ignore it, it will not affect the the typeset. But then you can't be
sure there isn't something more serious wrong without looking in the
LilyPond view.

2) fix your local copy from where you have it installed
        a) you could navigate to the file SmallerStaff.scm and replace

"StaffSymbol #'staff-space"
with the simpler
"StaffSymbol.staff-space"

        b) replace the whole file with the attached one, which has
that mod.

3) right click on the Smaller Staff menu item and get the script into
the Scheme window, make the modification and save it (again by right
clicking on the menu item). This actually creates you a local version
under .denemo-2.6.n in your home directory.

HTH

Richard

> 
> I have attached the denemo file and the .ly file I ran Lilypond on.
> The 
> error messages are as below.
> 
> Joe
> 
> 
> C:\Users\angel\OneDrive\Documents\L_Desktop\DenMusic\tests>pause
> Press any key to continue . . .
> 
> C:\Users\angel\OneDrive\Documents\L_Desktop\DenMusic\tests>"C:\Users\
> angel\OneDrive\Documents\L_Desktop\DenMusic\lilypond-
> 2.24.4\bin\lilypond.exe" 
> test.ly  1>test.txt
> GNU LilyPond 2.24.4 (running Guile 2.2)
> Processing `test.ly'
> Parsing...
> test.ly:143:42: warning: deprecated: missing `.' in property path 
> StaffSymbol.staff-space
>                     \override StaffSymbol
>                                           #'staff-space = #(magstep -
> 3)
> Interpreting music...[8][16][24]
> Preprocessing graphical objects...
> Finding the ideal number of pages...
> Fitting music on 1 page...
> Drawing systems...
> Converting to `test.pdf'...
> fatal error: cannot rename `./lilypond-tmp-3428138.pdf' to `test.pdf'
> 
> C:\Users\angel\OneDrive\Documents\L_Desktop\DenMusic\tests>pause
> Press any key to continue . . .

;;;SmallerStaff
(ToggleDirective "staff" "prefix" "StaffSize" "
     		   fontSize = #-3\n
     		   \\override StaffSymbol.staff-space = #(magstep -3)\n "  (logior DENEMO_OVERRIDE_AFFIX DENEMO_ALT_OVERRIDE))
          		   

Reply via email to