Trevor Bača escreveu:
> %%% BEGIN %%%
>
> \new File \with {
> \sourcefilename "backend-svg.ly"
> \sourcefileline 0
> #(ly:set-option 'backend 'svg)
> #(set! output-count 1)
> \include "typography-demo.ly"
> \version "2.11.16"
> #(define outname (ly:parser-output-name parser))
> #(ly:set-option 'backend 'eps)
> #(display "Invoking inkscape...\n")
> #(system (format #f "LD_LIBRARY_PATH= inkscape -T -E ~a-1.eps
> ~a-1.svg" outname outname))
> #(set! output-count 0)
> #(set-default-paper-size "a5") } {
>
> \new Book \with {
> texidoc = "SVG output, rendered through inkscape."
> title = "SVG" } {
>
> \new Score {
> \lyrics {
> \markup {
> \epsfile #X #30.0 #(format #f "~a-1.eps" outname)
> }
> x x x
> }
> }
> }
> }
> }
>
> %%% END %%%
>
> ?
>
> All settings (including Scheme commands) are still available, just put
> in a *named place* in the input file, rather than floating freely in
> space ...
then what does it mean, \new File? You've just created a new place
( \new File { ... } ) with absolutely no structure.
--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
LilyPond Software Design
-- Code for Music Notation
http://www.lilypond-design.com
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel