On 2/8/07, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:
[-user trimmed] Trevor Bača escreveu: > Wow. I really like this. Anyone else? I don't. * Have a look at input/regression/backend-svg.ly How do I do this with a tightly defined structure?
%%% 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 ... > * You're mixing up the Music type (which has length and
pitch) with various others which don't. Looks nice in an example like you gave, but is semantically clear as mud. I think the discussion would be served if it starts with how stuff works on the inside now, and how that can be improved. Different and more logical syntax will follow as a side effect.
That's a good place for Erik to lead, probably, since he has a good handle on the internals. -- Trevor Bača [EMAIL PROTECTED]
_______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel