[frogs] After capo handler comes capo key

[ Thread Index | Date Index | More lilynet.net/frogs Archives ]


This is mostly saying "where do I start", so hints and clues are fine
.... but what I want to do is have syntax along the lines of

\key C \major
\capokey A

ie capokey comes after key (and relies on being able to find out that
information).

The problem I've got is that I guess I don't want to do a markup if I
can avoid it (I want this to print the relevant text, and it goes above
all the clef/timesig/keysig clutter at the start of the piece).

And I want it to calculate and set capopitch at the same time, but
that's probably trivial compared to getting it to print the text.

So basically, it's do I need to return the text as a markup? If not,
what? If yes, what do I attach it to, and how?

I'm guessing it's best written in scheme, so also there's which
directory (and what file) should I put the code in, and how do I get
lilypond to autoload it?

Anyways, I'll try and write some draft code in the next day or two, and
if you've got any advice I'll take it on board before I post a first
attempt.

Cheers, and tia
Wol

---
----
Join the Frogs!


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/