[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Extending \lilypondfile to support separate handling of header field
From: |
Bernard Hurley |
Subject: |
Re: Extending \lilypondfile to support separate handling of header fields for use by LaTeX et.al. |
Date: |
Fri, 06 Jan 2006 07:46:50 +0000 |
On Thu, 2006-01-05 at 14:40 +0100, Han-Wen Nienhuys wrote:
> >
> > If you have a look at my new veraion of "lilypond-macros" you will see
> > it extracts all headers from the .ly files. It does this by examining
> > the .ly file directly. The headers don't have to be the usual lilypond
> > ones.
>
> Our advice is usually to let Lily do the work of looking at .ly files.
> It should be relatively easy to make it extract all of the headers. See
>
> (define-public (output-scopes scopes fields basename)
>
> in backend-library.scm
>
Actually that is what I was thinking of doing eventually. My usual
approach is first to do something that I "know" will work and then to
re-factor it into something more sensible. What I actually want to do is
extract the headers as a list of <header,value> pairs without having to
know, in advance, what headers exist.
--
Bernard Hurley <address@hidden>