Took a look at that and its not quite what I had in mind. This might be because I miscommunicated.

Here is the Lilypond module description. I want to do this, but with Chordii. This module adds an inset to enter LilyPond code directly into LyX. It will be processed in the output.

For my lilypond files, I'm using the lilypond-book module (file name lilypond.module), not the lilypond external template. If I'm understanding correctly, creating an external template would force me to go to the external file to edit any changes in said file. I want to be able to edit everything in my lyx file; if I'm understanding this correctly, this means I want a module rather than an external template.

I managed to copy, paste, and edit lilypond.module and get it to show up; now it seems I need to create a converter. If I'm understanding correctly, converters are a Latex thing rather than a Lyx thing. Can someone point me in the right direction?

Thanks,
kale



On 07/21/2013 02:04 PM, Scott Kostyshak wrote:
On Sat, Jul 20, 2013 at 3:21 PM, Kale Good <[email protected]> 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

--
Kale Good: Guitar Instructor
phillyguitarlessons.com <http://phillyguitarlessons.com>
[email protected] <mailto:[email protected]>
phone: (215)260-5383

 * 4705 Baltimore Ave, Phila, PA 19143 -mailing & lessons
 * 1867 Frankford Ave. Phila, PA 19125 -lessons

Google+ <https://plus.google.com/b/105422331794047992190/>
Facebook <http://facebook.com/KaleGoodGuitarStudio>
Read my article "The Seven Secrets to Six String Success <http://www.guitarnoise.com/lesson/seven-secrets-to-six-string-success/>" at GuitarNoise.com <http://guitarnoise.com>
Leading the Journey from No-Skills-Guitarist to Talented Musician!

Reply via email to