openlilylib / snippets

A place to store useful pieces of LilyPond code - custom functions, engravers, hacks, templates, examples etc.
Other
119 stars 39 forks source link

compile fails with lilypond-2.19.22 in parser-include-string #125

Closed ExecutorElassus closed 9 years ago

ExecutorElassus commented 9 years ago

When running lilypond >=2.19.22 (which is presently not even officially released, but gentoo's -9999 version pulls directly from Git and presently identifies itself as .23 [though this error started with the .22 release]), compiling an .ly file fails on the following error:

Starting lilypond 2.19.22 [transkription kayser psalmi in vesperas.ly]... Processing `/[$HOME]/transkription kayser/psalmi in vesperas/transkription kayser psalmi in vesperas.ly' Parsing.../[$HOME]/.lilypond/openlilylib/ly/openlilylib:28:9: In procedure ly:parser-include-string in expression (ly:parser-include-string parser "\include \"_internal/init-openlilylib.ily\""): /[$HOME]/.lilypond/openlilylib/ly/openlilylib:28:9: Wrong number of arguments to # Exited with return code 1.

This fails even on a basic MWE:

\version "2.19.22" \include "openlilylib" \score { a b c d }

It has been suggested that the extra 'parser' argument should be removed when running OpenLilyLib against >=2.19.22, but I am out of my depth.

Cheers