Alan Stern wrote:
The "-e" command line option (execute Scheme code) doesn't work right.
The code gets executed twice(!) and the results aren't available during
the remainder of the Lilypond run -- which makes the facility useless.
Here's an example with 2.7.33 (behavior under 2.7.37 is the same, but
I can't run the later version on this machine):
thanks.
I've added the following to the docs
The expression will be evaluated in the @code{guile-user} module, so
if you want to use definitions in @var{expr}, use
@example
lilypond -e '(define-public a 42)'
@end example
@noindent
on the command-line, and include
@example
#(use-modules (guile-user))
@end example
@noindent
at the top of the @code{.ly} file.
--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
LilyPond Software Design
-- Code for Music Notation
http://www.lilypond-design.com
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond