-#(display "Invoking inkscape...\n")
-
-%% LD_LIBRARY_PATH is necesssary, otherwise, it doesn't build in GUB.
-#(ly:system (format #f "inkscape -T -E ~a-inkscape.eps ~a-1.svg" outname outname)
+#(ly:progress "Invoking inkscape...\n")
+
+%% LD_LIBRARY_PATH is necesssary, otherwise, it doesn't build in GUB.
+%% LD_LIBRARY_PATH is part of the start-environment but should be switched off
+%% for external inkscape.
+#(let*
+ ((cmd (format #f
+ "LD_LIBRARY_PATH= inkscape --without-gui --export-text-to-path --export-eps ~a-inkscape.eps ~a-1.svg" outname outname)))
+ (ly:progress "Running ~a" cmd)
+ (ly:system cmd)