2 #(ly:set-option 'backend 'svg)
6 \include "typography-demo.ly"
10 #(define outname (ly:parser-output-name parser))
12 #(ly:set-option 'backend 'eps)
14 %% TODO: what to do if inkscape fails?
15 #(display "Invoking inkscape...\n")
17 %% LD_LIBRARY_PATH is necesssary, otherwise, it doesn't build in GUB.
18 #(ly:system (format #f "inkscape -T -E ~a-inkscape.eps ~a-1.svg" outname outname)
20 (format #f "FONTCONFIG_FILE=~a/fonts/fonts.conf" (ly:effective-prefix))
21 (ly:start-environment)))
23 #(set! output-count 0)
24 #(set-default-paper-size "a5")
28 texidoc = "SVG output, rendered through inkscape."
35 \epsfile #X #30.0 #(format #f "~a-inkscape.eps" outname)