lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reorganizing the contents of the \paper block


From: Han-Wen Nienhuys
Subject: Re: Reorganizing the contents of the \paper block
Date: Fri, 09 Feb 2007 00:49:52 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20070130)

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 - address@hidden - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]