On Sat, Jul 20, 2013 at 3:21 PM, Kale Good <k...@kalegood.com> wrote: > Hello, > I'm trying to find the documentation for creating custom insets and having a > bit of trouble. Can someone point me towards it and let me know if I need > more info to accomplish what I'm trying to do? > > I'd like to inset text into my custom input which would then be processed by > an external program (actually, its a script which runs a few programs to > create and trim a pdf) which creates a graphic. I want the generated graphic > to be inserted into the Latex document (I don't need a preview, so just the > compiled document would be fine). > > I know this is possible as I'm using the Lilypond custom inset. This is a > huge help as I don't need to keep track of a bazillion extra graphics files > and I can simply edit the Lilypond input in Lyx. I'd like the same sort of > easy-of-use with Chordii, a program which generates pretty nice looking lead > sheets for musicians. > > This is all for a guitar method book I've been working on for some time. > > Thanks! > Best, > kale
Hi Kale, Take a look at Help > Customization at section 6, "Including External Material". If you have questions after reading and experimenting with that, please feel free to ask back here. To see how Lilypond is implemented by using an external template, look in the file lib/external_templates. If you get something that works well, consider posting it on the LyX wiki in case other users of Chordii find it useful. Best of luck with your book! Scott