bugDenemo - Bugs: bug #59986, simplified-book-titling.ily...

 
 

bug #59986: simplified-book-titling.ily "Not a markup command" fatal error with LilyPond 2.22.0 (Guile 2.2)

Submitter:  Anthony Fok <foka>
Submitted:  Mon 01 Feb 2021 11:52:40 PM UTC
   
 
Category:  None
Severity:  3 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 01 Feb 2021 11:52:40 PM UTC, original submission:  

Scores using simplified-book-titling.ily fail to render with LilyPond 2.22.0 compiled with Guile 2.2, but render fine with LilyPond 2.20.0 compiled with Guile 1.8.

Denemo version tested


2.5~rc1, a.k.a. 2.4.5

Sample test score



Warnings and fatal error



GNU LilyPond 2.22.0
Processing `simplified-book-titling.ily'
Parsing...WARNING: (#{ g170}#): `vspace-markup' imported from both (lily) and (#{ g160}#)
WARNING: (#{ g171}#): `vspace-markup' imported from both (lily) and (#{ g160}#)

fatal error: Not a markup command: chapter-title


Potential solutions


I tried moving the various define-markup-command's to the top of the file, and that seems to work, though Guile is really Greek to me, so I googled in hope of a better solution.

Thankfully, this error was discussed on lilypond-devel in the thread guilev2 problem (user-markup-command sometimes not accepted)

where David Kastrup suggested:

> The markup macro is a piece of crock anyway.  Use
>     (display-scheme-music (make-dummy-markup "foo"))
> or
>     (display-scheme-music #{ \markup \dummy foo #})
> here to get out of that predicament.


I tried the first alternative which works for me for both LilyPond 2.20 and 2.22.

I have attached the changes as a patch to this bug report.  Please feel free to resolve this bug in whichever way you prefer.

Many thanks!

Anthony

Anthony Fok <foka>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rshann (Updated the item)
  • -email is unavailable- added by foka (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-02-03 rshann StatusNone Fixed
        Open/ClosedOpen Closed
    2021-02-01 foka Attached File- Added simplified-book-titling--fix-not-a-markup-command-error-with-guile-2.patch, #50820

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code