On Sun, 2025-09-28 at 20:59 +0200, sj wrote:
> I also got an error about
> 
> warning: no such program option: gui
this is due to a lack of checking on the lilypond version number - the
option is no longer needed in recent versions.
> warning: ignoring option -dbackend="eps":
>    invalid value; possible values are (ps cairo svg)

Even with this invalid value LilyPond does generate the correct .png
file, what is missing is a viewer program, which can be set in the
Edit->Change Preferences Externals tab
 
(you can exercise this code via 

Command: Export Selection as PNG
Displays a musical excerpt in your image viewer
Location: Main Menu ▶ File ▶ Export As
Internal Name: PrintExcerptPreview

)
So this is a bug in the error reporting - it should report that the
viewer program cannot be found.

Richard

> 
> This seems like a Lilypond error. Is there a setting I might have
> messed 
> up? (It was apparently removed in 2021 after introducing the cairo 
> backend: 
> https://gitweb.git.savannah.gnu.org/gitweb/?p=lilypond.git;a=commit;h=498a5503e9724f228d23d97114d454dda3e04383
>  
> and now everything's routed through the ps backend, though I don't
> see 
> how this could have broken PDF display.)
> 


Reply via email to