[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Metadata in svg output
From: |
Stuart Pullinger |
Subject: |
Re: Metadata in svg output |
Date: |
Tue, 27 Mar 2007 16:08:26 +0100 |
User-agent: |
KMail/1.9.6 |
Does anyone know of some documentation regarding adding commands to lilypond?
From a quick look over the lilypond source it seems that I would need to add a
function to scm/output-svg.scm to call "entity" to create the <metadata> XML
tag. I would also need to add my command to the files lily/lily-lexer.cc and
lily/parser.yy. I am not sure where to go from there to link the 2 ends up. I
would appreciate any clues as to which files I should be looking at.
Thanks,
Stuart
On Monday 12 March 2007 19:24:28 you wrote:
> Stuart Pullinger wrote:
> > Would it be possible to add support for metadata tags in Lilypond's svg
> > output? An example:
>
> It's certainly possible, but not likely to happen in the near future.
> If you have any skill at programming scheme, I recommend looking at
> scm/output-svg.scm
> and trying to add it yourself. This would probably also require
> modifying the code in other places (the lilypond input file parsing, for
> example), but I don't know where you would get started for that.
>
> Cheers,
> - Graham