Am 2010-04-10 um 12:01 schrieb Vyatcheslav Yatskovsky:
1) Recently we concluded that on-the-fly insertion of Lilypond images does not work.
It should work again since a while. If you need the fret diagrams above lyrics, I'd use LilyPond without a Staff context. If you need fret diagrams dispersed in a text, then you'd have to \lower each one (i.e. I could implement a global voffset option). see also http://wiki.contextgarden.net/LilyPond#Typesetting_fret_diagrams http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Common-notation-fo... http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Predefined-fretboa...
2) Generation of dozens of stand alone chords requires dozens of calls to lilypond, and, thus, terrifically slow. Am I right with this?
Of course LilyPond would be called for every chord if you place them as snippets. But only once, as long as they don't change. Wouldn't you need to call MetaPost for every diagram? (I guess in MkIV it's a library, thus faster.) You didn't tell us what you finally want to accomplish - in your first post you talk only about one fret diagram. Oh, BTW: Can anyone explain to me, how I can implement the catcode trickery for hyphens (in http://wiki.contextgarden.net/LilyPond#Typesetting_fret_diagrams) in the module? Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)