[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #59986] simplified-book-titling.ily "Not a markup command" fatal er
From: |
Anthony Fok |
Subject: |
[bug #59986] simplified-book-titling.ily "Not a markup command" fatal error with LilyPond 2.22.0 (Guile 2.2) |
Date: |
Mon, 1 Feb 2021 18:52:42 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?59986>
Summary: simplified-book-titling.ily "Not a markup command"
fatal error with LilyPond 2.22.0 (Guile 2.2)
Project: Denemo
Submitted by: foka
Submitted on: Mon 01 Feb 2021 04:52:40 PM MST
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
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 ==
* http://denemo.org/~rshann/DenemoScores/Handel/TrioSonata6.denemo.gz
== 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)
<http://lilypond.1069038.n5.nabble.com/guilev2-problem-user-markup-command-sometimes-not-accepted-td217304.html>
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
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 01 Feb 2021 04:52:40 PM MST Name:
simplified-book-titling--fix-not-a-markup-command-error-with-guile-2.patch
Size: 2KiB By: foka
<http://savannah.gnu.org/bugs/download.php?file_id=50820>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59986>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #59986] simplified-book-titling.ily "Not a markup command" fatal error with LilyPond 2.22.0 (Guile 2.2),
Anthony Fok <=