2 (define-module (scm framework-scm)
3 #:export (output-framework)
6 (use-modules (ice-9 regex)
15 (define-public (output-framework basename book scopes fields )
17 ((file (open-output-file (format "~a.scm" basename))))
19 (display ";; raw SCM output\n" file)
24 ";;;;;;;;;;;;;;;;;;;;;;;;;;\n;;;PAGE\n" file)
25 (pretty-print (ly:stencil-expr page) file))
26 (ly:paper-book-pages book))))
28 (define-public output-classic-framework output-framework)
31 (define-public (convert-to-ps . args) #t)
32 (define-public (convert-to-pdf . args) #t)
33 (define-public (convert-to-png . args) #t)
34 (define-public (convert-to-dvi . args) #t)
35 (define-public (convert-to-tex . args) #t)