lilypond-user
[Top][All Lists]
Advanced

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

Re: Write to a separate file from a custom set of engravers


From: David Kastrup
Subject: Re: Write to a separate file from a custom set of engravers
Date: Sat, 16 Nov 2013 13:29:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Maurits Lamers <address@hidden> writes:

> Hi all,
>
> If I create an additional set of engravers in Scheme, what approach
> should I take if I want the output of these engravers to end up in a
> separate output file?
> This separate file should not be the generated post script file or a log file.
> I could call (open-file ) and write to it, I could also create a
> closure in which I get access to this file, but this doesn’t give me
> any control on the order in which the output is written to the file,
> or does it?
> What would be the best approach here?

Have you looked at ly/event-listener.ly already?

-- 
David Kastrup




reply via email to

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