Stefan:
> is it possible to embed lilypond-code in dot-files (graph description
> language)?
...

 Since lilypond code is like any other text, just place it in the
 label attribute, with "\" escaped and newlines as "\n", as in:

digraph lilypond_code {
  a -> b;
  b [ label="\\relative f' { a4 b c d }" ];
}

///

 Or did you want the lilypond output to be shown instead ?
 No, I don't think that kind of processing is available.

 To make an eps without margins, do lilypond --eps on
 (something similar should be possible for a png, jpg, svg
 or pdf centric workflow, perhaps dot works best on svg files):

\version "2.24.4"

\include "lilypond-book-preamble.ly"
\relative f' { a4 b c d }

 and then figure out how to show that in the dot output,
 I don't know how to do that.

Regards,
/Karl Hammar



Reply via email to