On 14/07/2021 21:41, David Kastrup wrote:
use-modules only imports exported symbols and you used define instead of
define-public .
Thanks for the clarification. Curiously, define "works" up to 2.22.1
including Jonas's Guile 2.2 package, so I never noticed my error.
lanfear@x35g$ /usr/local/lilypond-2.22.1/bin/lilypond -e '(define foo
#t)' tmp.ly
GNU LilyPond 2.22.1
Processing `tmp.ly'
Parsing...
yes
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to `tmp.pdf'...
Success: compilation successfully completed
lanfear@x35g$ /usr/local/lilypond-2.23.3/bin/lilypond -e '(define foo
#t)' tmp.ly
GNU LilyPond 2.23.3
Processing `tmp.ly'
Parsing...
no
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to `tmp.pdf'...
Success: compilation successfully completed
lanfear@x35g$ /usr/local/lilypond-guile2.2/bin/lilypond -e '(define foo
#t)' tmp.ly
GNU LilyPond 2.22.1
Processing `tmp.ly'
Parsing...
yes
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to `tmp.pdf'...
Success: compilation successfully completed
--
Timothy Lanfear, Bristol, UK.