tr-igem / esmuflily

Extension for LilyPond to support SMuFL compliant fonts
http://www.ekmelic-music.org/en/extra/esmuflily.htm
MIT License
1 stars 0 forks source link

Volta repeats don't work in LilyPond 2.25 #9

Open dbenjaminmiller opened 1 week ago

dbenjaminmiller commented 1 week ago

When using LilyPond 2.25.x, volta repeats cause fatal errors, while there is no issue with version 2.24.

dbenjaminmiller commented 1 week ago

To be clear, the error is Preprocessing graphical objects...ice-9/eval.scm:336:13: Wrong number of arguments to #<procedure make-ekm-colon-bar-line (a b)>

and a workaround is to disable make-ekm-colon-bar-line by commenting out (add-bar-glyph-print-procedure ":" make-ekm-colon-bar-line)).

dbenjaminmiller commented 1 week ago

  1755:12 19 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
          18 (apply-smob/0 #<thunk 103a962e0>)
In /private/tmp/lilypond-unstable-20240824-18286-cwcjql/lilypond-2.25.19/out/share/lilypond/current/scm/lily/lily.scm:
  1070:16 17 (lilypond-main _)
   1099:4 16 (lilypond-all ("mytestfile.ly"))
In srfi/srfi-1.scm:
    634:9 15 (for-each #<procedure 1043e2240 at /private/tmp/lilypo…> …)
In /private/tmp/lilypond-unstable-20240824-18286-cwcjql/lilypond-2.25.19/out/share/lilypond/current/scm/lily/lily.scm:
   1111:9 14 (_ "mytestfile.ly")
In ice-9/boot-9.scm:
  1749:15 13 (with-exception-handler #<procedure 1043e2210 at ice-9…> …)
In unknown file:
          12 (ly:parse-file "mytestfile.ly")
          11 (ly:book-process #<Book> #< Output_def> #< Output_def> #)
          10 (ly:spacing-spanner::set-springs #<Grob SpacingSpanner >)
           9 (ly:axis-group-interface::width #<Grob NonMusicalPaperC…>)
           8 (ly:grob::x-parent-positioning #<Grob BreakAlignGroup >)
           7 (ly:break-alignment-interface::calc-positioning-done #<…>)
           6 (ly:axis-group-interface::width #<Grob BreakAlignGroup >)
           5 (ly:grob::stencil-width #<Grob BarLine >)
In /private/tmp/lilypond-unstable-20240824-18286-cwcjql/lilypond-2.25.19/out/share/lilypond/current/scm/lily/bar-line.scm:
    747:4  4 (bar-line::compound-bar-line #<Grob BarLine > ":|." (. #))
In srfi/srfi-1.scm:
   650:11  3 (for-each #<procedure 104f35870 at /private/tmp/lilypo…> …)
In /private/tmp/lilypond-unstable-20240824-18286-cwcjql/lilypond-2.25.19/out/share/lilypond/current/scm/lily/bar-line.scm:
   757:29  2 (_ ":" " ")
    96:22  1 (glyph->stencil ":" #f #<Grob BarLine > (# . #))
In ice-9/eval.scm:
   336:13  0 (_ _ _)

ice-9/eval.scm:336:13: Wrong number of arguments to #<procedure make-ekm-colon-bar-line (a b)>```
dbenjaminmiller commented 1 week ago

workaround by including:

  (ekm-cchar grob 2 #xE043))