Re: [frogs] chord-name-engraver plus capo - schemeing away ... |
[ Thread Index |
Date Index
| More lilynet.net/frogs Archives
]
On 27/08/10 23:01, Neil Puttock wrote:
> And as I said, you don't want to do this in C++. There's a good
> reason why `line-markup' is only called outside scheme from the
> parser: it's painful to juggle several markups this way, and separte
> markups which should be stacked are usually treated as separate grobs
> (or stacked internally by whatever function's doing the formatting).
That makes it sound like you don't normally want to call Scheme from
C++. From what I can see, you just pass two markups as a pair to it.
Bear in mind I'm far more at home in C than Scheme at the moment (and
I'm not juggling much) it doesn't seem that much of a problem.
Looking at chord-name.scm and chord-ignatzek-names.scm, I just don't
have a clue where to start. Looking at the C++ code, it seems simple. Or
is it that passing the "layout props" bit is a pig?
If I shouldn't be doing it in C++, where on earth do I start doing it in
Scheme?
(Bear in mind, I have on several previous occasions wanted to combine
markups, and whether Scheme or lilypond, I've got nowhere trying to find
out how to do it. Now I'm trying to find out how to do it in C++ and
finding the same. It seems that combining markups is a "don't do it" in
*any* language :-( How on earth DO I do it, ANYWHERE?
Cheers,
Wol
---
----
Join the Frogs!