2 (define-module (scm framework-scm)
3 #:export (output-framework)
6 (use-modules (ice-9 regex)
16 (define-public (output-framework basename book scopes fields )
18 ((file (open-output-file (format "~a.scm" basename))))
20 (display ";;Creator: LilyPond\n" file)
21 (display ";; raw SCM output\n" file)
26 ";;;;;;;;;;;;;;;;;;;;;;;;;;\n;;;PAGE\n" file)
27 ; (pretty-print (ly:stencil-expr page) file)
28 (write (ly:stencil-expr page) file)
30 (map page-stencil (ly:paper-book-pages book)))))
32 (define-public output-classic-framework output-framework)
35 (define-public (convert-to-ps . args) #t)
36 (define-public (convert-to-pdf . args) #t)
37 (define-public (convert-to-png . args) #t)
38 (define-public (convert-to-dvi . args) #t)
39 (define-public (convert-to-tex . args) #t)