lilypond-user
[Top][All Lists]
Advanced

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

Re: context and lilypond


From: Henning Hraban Ramm
Subject: Re: context and lilypond
Date: Tue, 22 Jan 2013 20:51:00 +0100

Am 2013-01-21 um 22:29 schrieb Julien Rioux:

> On 20/01/2013 6:12 PM, Henning Hraban Ramm wrote:
>> I thought LilyPond used to write single EPS for every line when using 
>> lilypond-book. (I’d like to do the page breaking with TeX.)
>> Do I mis-remember? I couldn’t find an appropriate command line switch.
>> 
> 
> I think you accomplish that by adding this to your snippet:
> 
> \include "lilypond-book-preamble.ly"

Thanks for the hint! I just copied the setup to my project’s include file, and 
it works - but I don’t understand why - and what part I could perhaps leave out:

> %% toplevel \book gets output per page,
> %% everything else gets output per system/title
> #(define default-toplevel-book-handler
>   print-book-with-defaults-as-systems )
> 
> #(define toplevel-book-handler
>   (lambda ( . rest)
>   (set! output-empty-score-list #f)
>   (apply print-book-with-defaults rest)))
> 
> #(define toplevel-music-handler
>   (lambda ( . rest)
>    (apply collect-music-for-book rest)))
> 
> #(define toplevel-score-handler
>   (lambda ( . rest)
>    (apply collect-scores-for-book rest)))
> 
> #(define toplevel-text-handler
>   (lambda ( . rest)
>    (apply collect-scores-for-book rest)))
> 
> #(set! output-empty-score-list #t)

Do I need all of this to get single-line output files?


Greetlings, Hraban
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net
http://angerweit.tikon.ch/lieder/
https://www.cacert.org (I'm an assurer)







reply via email to

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