/* Generate all stencils to trigger font loads. */
pages ();
- SCM formats = ly_output_formats();
+ SCM formats = ly_output_formats ();
for (SCM s = formats; ly_c_pair_p (s); s = ly_cdr (s))
{
String format = ly_scm2string (ly_car (s));
(use-modules
(gnome gtk)
- (gnome gtk gdk-event)
- (gnome gw canvas))
+ (gnome gtk gdk-event))
+
+;; the name of the module will change to canvas rsn
+(if (resolve-module '(gnome gw canvas))
+ (use-modules (gnome gw canvas))
+ (use-modules (gnome gw libgnomecanvas)))
(define-public (output-framework-gnome outputter book scopes fields basename)
(let* ((bookpaper (ly:paper-book-book-paper book))
(use-modules (gnome gw canvas))
(use-modules (gnome gw libgnomecanvas)))
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;;; module entry
-(define-public (gnome-output-expression expr port)
- (display (dispatch expr) port))
-
-(define (dispatch expr)
- (if (pair? expr)
- (let ((keyword (car expr)))
- (cond
- ((eq? keyword 'some-func) "")
- ;;((eq? keyword 'placebox) (dispatch (cadddr expr)))
- (else
- (if (module-defined? this-module keyword)
- (apply (eval keyword this-module) (cdr expr))
- (begin
- (display
- (string-append "undefined: " (symbol->string keyword) "\n"))
- "")))))
- expr))
-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Lily output interface --- fix silly names and docme
"
The Bare minimum interface for \score { \notes c } } should
implement:
- INTERFACE-output-expression
+ output-framework-INTERFACE (see framework-INTERFACE)
char
filledbox
placebox