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 #(ly:progress "Invoking inkscape...\n")
17 %% LD_LIBRARY_PATH is necesssary, otherwise, it doesn't build in GUB.
18 %% LD_LIBRARY_PATH is part of the start-environment but should be switched off
19 %% for external inkscape.
22 "LD_LIBRARY_PATH= inkscape --without-gui --export-text-to-path --export-eps ~a-inkscape.eps ~a-1.svg" outname outname)))
23 (ly:progress "Running ~a" cmd)
26 (format #f "FONTCONFIG_FILE=~a/fonts/fonts.conf" (ly:effective-prefix))
27 (ly:start-environment)))
29 #(set! output-count 0)
30 #(set-default-paper-size "a5")
34 texidoc = "SVG output, rendered through inkscape."
41 \epsfile #X #30.0 #(format #f "~a-inkscape.eps" outname)