Re: Custom Inset that Runs Script & Inserts Graphic
Thanks; I'm getting closer. I think I have everything set up almost right; I can enable my module without it asking for a converter, but once I do, the "view" and "update" buttons are grayed out; it seems to be that I can't export. Here's what I've got so far, copying what I saw in the Lilypond book module: File Format Definition: Format: Chordii -checked document format -checked show in export menu short name: chordii extension: cho other fields blank Converter: Chordii->PDF (Xetex) -I'm exporting using Xetex, so this was my best guess. converter: ~/scripts/leadsheet.sh $$r $$i contents of leadsheet.sh, which is one of 3 scripts I've written, so it might be a bit of a hack job. I currently use this on the command line when using chordii. It processes the chordii file, which generates a ps, which is converter to a pdf. Files are renamed and removed in the process. -One issue that might come up is that the way the file name is passed through the script as a variable; notice that inputing file.cho would result in error file.cho.cho due to $FILE1.cho in the script. #!/bin/bash FILE1=$1 for FILE1 in "$@" do chordii -a -G -P letter $FILE1.cho > $FILE1.ps | ps2pdf $FILE1.ps $FILE1.pdf | xargs rm $FILE1.ps && pdfcrop $FILE1.pdf && mv $FILE1-crop.pdf $FILE1.pdf done echo "Done" and here's the module: #\DeclareLyXModule[chordii->pdf]{Chordii} #DescriptionBegin #This module adds an inset to enter Chorddii LilyPond code directly into LyX. #It will be processed in the output. The pdf will be clipped by pdfcrop. #DescriptionEnd #Excludes: sweave # Author: Kale Good Format 35 OutputFormat chordii InsetLayout "Flex:Chordii" LabelString Chordii LaTeXType Environment LaTeXName chordii LyXType Custom DecorationClassic Font Color latex Family typewriter EndFont LabelFont Color latex SizeSmall EndFont MultiPar true CustomParsfalse ForcePlaintrue FreeSpacing true PassThru true ParbreakIsNewline true ForceLTR true Spellchecktrue End Thanks for any help! Best, kale On Mon 22 Jul 2013 10:20:20 PM EDT, Scott Kostyshak wrote: On Mon, Jul 22, 2013 at 10:11 PM, Kale Good wrote: Took a look at that and its not quite what I had in mind. This might be because I miscommunicated. It was probably I that misunderstood. 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 think you understood correctly. 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? Converters are a LyX thing. You can see examples by going to Tools > Preferences > File Handling > Converters. You can read about them in the Customization manual, "3.3 Converters" Best, Scott -- Kale Good: Guitar Instructor phillyguitarlessons.com <http://phillyguitarlessons.com> k...@kalegood.com <mailto:k...@kalegood.com> 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!
Re: Custom Inset that Runs Script & Inserts Graphic
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 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> k...@kalegood.com <mailto:k...@kalegood.com> 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!
Re: Custom Inset that Runs Script & Inserts Graphic
Thanks for the pointers, Scott. Ya know, I'm so used to finding documentation online that I never thought to check what was included in the application. Now I know. Best, Kale On Sun 21 Jul 2013 02:04:07 PM EDT, Scott Kostyshak wrote: On Sat, Jul 20, 2013 at 3:21 PM, Kale Good 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> k...@kalegood.com <mailto:k...@kalegood.com> 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!
Custom Inset that Runs Script & Inserts Graphic
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 -- Kale Good: Guitar Instructor phillyguitarlessons.com <http://phillyguitarlessons.com> k...@kalegood.com <mailto:k...@kalegood.com> 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!
Re: Lilypond-Book and Xetex error
Hi Julian, Changing the converter worked. I took out the call for xetex: lilypond-book --verbose --pdf --lily-output-dir=ly-pdf -I Thanks, Kale On Sat, Feb 9, 2013 at 8:34 AM, Julien Rioux wrote: > On 09/02/2013 8:22 AM, Kale Good wrote: > >> Hi Julian, >> Your file fails here. Saving and reopening also fails. Here is my output, >> my output in messages, and my minimum example. >> >> Thanks, >> Kale >> > > Looks like you're hit by this lilypond bug: http://code.google.com/p/** > lilypond/issues/detail?id=2471<http://code.google.com/p/lilypond/issues/detail?id=2471> > > -- > Julien > -- *Kale Good: Guitar Instructor* website: phillyguitarlessons.com email: k...@kalegood.com phone: (215)260-5383 address: 1867 Frankford Ave. Philadelphia, PA 19125 Read my article "*The Seven Secrets to Six String Success*" at GuitarNoise.com: http://www.guitarnoise.com/lesson/seven-secrets-to-six-string-success/ *Leading the Journey from No-Skills-Guitarist to Talented Musician*!
Re: Lilypond-Book and Xetex error
Hi Julian, Your file fails here. Saving and reopening also fails. Here is my output, my output in messages, and my minimum example. Thanks, Kale On Sat, Feb 9, 2013 at 2:00 AM, Julien Rioux wrote: > On 08/02/2013 8:36 PM, Kale Good wrote: > >> I spoke a moment too soon, and possibly misdiagnosed from the get-go. With >> default fonts, it works. As soon as I try non-default fonts, it reverts to >> the incorrect output. Here's my converter command: >> >> lilypond-book --verbose --pdf --latex-program=xelatex >> --lily-output-dir=ly-pdf -I $$r $$i >> >> Oddly, it also takes much longer to compile the document. >> >> >> > > Hi, > Again, works here. Can you please attach the file that fails for you? Does > the issue resolve itself if you save the file, close it and reopen it? I am > thinking that maybe something, that prevents compilation, is left out in > the temporary build directory when you switch font. > > Thanks, > Cheers, > Julien > -- *Kale Good: Guitar Instructor* website: phillyguitarlessons.com email: k...@kalegood.com phone: (215)260-5383 address: 1867 Frankford Ave. Philadelphia, PA 19125 Read my article "*The Seven Secrets to Six String Success*" at GuitarNoise.com: http://www.guitarnoise.com/lesson/seven-secrets-to-six-string-success/ *Leading the Journey from No-Skills-Guitarist to Talented Musician*! 07:56:17.499: Previewing ... 07:56:17.534: (buffer-view pdf4) 07:56:17.555: lilypond-book --verbose --pdf --latex-program=xelatex --lily-output-dir=ly-pdf -I "/home/kale/Downloads/" "xetex.lytex" 07:56:17.673: lilypond-book: Setting LilyPond's output to --verbose, implied by lilypond-book's setting 07:56:17.677: lilypond-book (GNU LilyPond) 2.16.2 07:56:17.689: Reading xetex.lytex... 07:56:17.697: Running `xelatex' on file `/tmp/tmponwgWP.tex' to detect default page settings. 07:56:17.709: 07:56:17.717: Executing: xelatex /tmp/tmponwgWP.tex 07:56:17.725: Running: lilypond-book --verbose --pdf --latex-program=xelatex --lily-output-dir=ly-pdf -I "/home/kale/Downloads/" "xetex.lytex" 07:56:46.427: lilypond-book: warning: Unable to auto-detect default settings: 07:56:46.429: xelatex: /home/kale/lilypond/usr/lib/libpng12.so.0: no version information available (required by xelatex) 07:56:46.434: xelatex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by xelatex) 07:56:46.434: xelatex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by xelatex) 07:56:46.434: xelatex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by xelatex) 07:56:46.434: xelatex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by xelatex) 07:56:46.441: xelatex: /home/kale/lilypond/usr/lib/libpng12.so.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libpoppler.so.19) 07:56:46.445: xelatex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by /usr/lib/x86_64-linux-gnu/libpoppler.so.19) 07:56:46.445: xelatex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by /usr/lib/x86_64-linux-gnu/libpoppler.so.19) 07:56:46.450: Fontconfig error: Cannot load default config file 07:56:46.457: xelatex: relocation error: xelatex: symbol _ZNSt8__detail15_List_node_base7_M_hookEPS0_, version GLIBCXX_3.4.15 not defined in file libstdc++.so.6 with link time reference 07:56:46.461: 07:56:46.465: Dissecting... 07:56:46.471: Writing snippets... 07:56:46.477: All snippets are up to date... 07:56:46.480: Linking files... 07:56:46.482: Compiling /tmp/lyx_tmpdir.MT2637/lyx_tmpbuf2/xetex.tex... 07:56:46.509: /tmp/lyx_tmpdir.MT2637/lyx_tmpbuf2/xetex.tex is up to date. 07:56:46.551: xelatex "xetex.tex" 07:56:46.553: This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian) Running: xelatex "xetex.tex" > /dev/null 07:56:46.802: entering extended mode 07:56:46.820: (./xetex.tex 07:56:46.842: LaTeX2e <2009/09/24> 07:56:46.867: Babel and hyphenation patterns for english, usenglishmax, dumylang, noh 07:56:46.893: yphenation, loaded. 07:56:46.923: 07:56:47.190: evince "xetex.pdf" 07:56:47.196: Successful preview of format: pdf4 Running: evince "xetex.pdf" xetex-fail.pdf Description: Adobe PDF document minimum.lyx Description: Binary data
Re: Lilypond-Book and Xetex error
I spoke a moment too soon, and possibly misdiagnosed from the get-go. With default fonts, it works. As soon as I try non-default fonts, it reverts to the incorrect output. Here's my converter command: lilypond-book --verbose --pdf --latex-program=xelatex --lily-output-dir=ly-pdf -I $$r $$i Oddly, it also takes much longer to compile the document. On Fri, Feb 8, 2013 at 8:14 PM, Kale Good wrote: > That was it, thanks. I had edited it (in a completely uninformed way) > trying to solve the fretboard diagram issue, but failed. I updated from > 2.14 to 2.16, and no longer have the fretboard diagram issue. > > > On Fri, Feb 8, 2013 at 6:57 PM, Julien Rioux wrote: > >> On 08/02/2013 12:17 PM, Kale Good wrote: >> >>> Hello, >>> To work around known issues with Lilypond-book, I tried installing the >>> most >>> recent Lilypond (2.16.2). It solved one problem but created another. When >>> processing in Xetex, there is a line-break following each measure. There >>> is >>> no problem when the file is processed with pdflatex. >>> >>> I'm getting these errors in the messages when processing: >>> >>> 11:43:38.493: lilypond-book: warning: Unable to auto-detect default >>> settings: >>> 11:43:38.495: xetex: /home/kale/lilypond/usr/lib/**libpng12.so.0: no >>> version >>> information available (required by xetex) >>> 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >>> version >>> information available (required by xetex) >>> 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >>> version >>> information available (required by xetex) >>> 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >>> version >>> information available (required by xetex) >>> 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >>> version >>> information available (required by xetex) >>> 11:43:38.498: xetex: /home/kale/lilypond/usr/lib/**libpng12.so.0: no >>> version >>> information available (required by >>> /usr/lib/x86_64-linux-gnu/**libpoppler.so.19) >>> 11:43:38.502: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >>> version >>> information available (required by >>> /usr/lib/x86_64-linux-gnu/**libpoppler.so.19) >>> 11:43:38.502: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >>> version >>> information available (required by >>> /usr/lib/x86_64-linux-gnu/**libpoppler.so.19) >>> 11:43:38.503: xdvipdfmx: /home/kale/lilypond/usr/lib/**libpng12.so.0: no >>> version information available (required by xdvipdfmx) >>> >>> It seemed that lyx wouldn't pick up the install if lilypond wasn't in >>> /usr/bin, and I couldn't figure out how to get lilypond to install into >>> /usr/bin/ (that is, without creating a subdirectory /lilypond), so I >>> copied >>> the lilypond-book into /usr/bin. >>> >>> Here is a minimum (I think) .lyx file: >>> >>> [...] >>> >>> Thanks, >>> Kale >>> >>> >>> >> Your file compiles fine here using xelatex and the pdf has only one staff >> line, i.e. no line break. Did you modify or perhaps define the converter >> yourself? I have this for converter from "LilyPond book (LaTeX)" to "PDF >> (XeTeX)": >> >> python "C:\Program Files (x86)\LilyPond\usr\bin\**lilypond-book.py" >> --verbose --pdf --latex-program=xelatex --lily-output-dir=ly-pdf -I $$r $$i >> >> I'm using a slightly older version of lilypond, 2.15.40, on Win7, so it's >> possible that something has changed between versions or that the behavior >> is different between OSes. >> >> Cheers, >> Julien >> > > > > -- > *Kale Good: Guitar Instructor* > website: phillyguitarlessons.com > email: k...@kalegood.com > phone: (215)260-5383 > address: 1867 Frankford Ave. > Philadelphia, PA 19125 > Read my article "*The Seven Secrets to Six String Success*" at > GuitarNoise.com: > http://www.guitarnoise.com/lesson/seven-secrets-to-six-string-success/ > *Leading the Journey from No-Skills-Guitarist to Talented Musician*! > -- *Kale Good: Guitar Instructor* website: phillyguitarlessons.com email: k...@kalegood.com phone: (215)260-5383 address: 1867 Frankford Ave. Philadelphia, PA 19125 Read my article "*The Seven Secrets to Six String Success*" at GuitarNoise.com: http://www.guitarnoise.com/lesson/seven-secrets-to-six-string-success/ *Leading the Journey from No-Skills-Guitarist to Talented Musician*!
Re: Lilypond-Book and Xetex error
That was it, thanks. I had edited it (in a completely uninformed way) trying to solve the fretboard diagram issue, but failed. I updated from 2.14 to 2.16, and no longer have the fretboard diagram issue. On Fri, Feb 8, 2013 at 6:57 PM, Julien Rioux wrote: > On 08/02/2013 12:17 PM, Kale Good wrote: > >> Hello, >> To work around known issues with Lilypond-book, I tried installing the >> most >> recent Lilypond (2.16.2). It solved one problem but created another. When >> processing in Xetex, there is a line-break following each measure. There >> is >> no problem when the file is processed with pdflatex. >> >> I'm getting these errors in the messages when processing: >> >> 11:43:38.493: lilypond-book: warning: Unable to auto-detect default >> settings: >> 11:43:38.495: xetex: /home/kale/lilypond/usr/lib/**libpng12.so.0: no >> version >> information available (required by xetex) >> 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >> version >> information available (required by xetex) >> 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >> version >> information available (required by xetex) >> 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >> version >> information available (required by xetex) >> 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >> version >> information available (required by xetex) >> 11:43:38.498: xetex: /home/kale/lilypond/usr/lib/**libpng12.so.0: no >> version >> information available (required by >> /usr/lib/x86_64-linux-gnu/**libpoppler.so.19) >> 11:43:38.502: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >> version >> information available (required by >> /usr/lib/x86_64-linux-gnu/**libpoppler.so.19) >> 11:43:38.502: xetex: /home/kale/lilypond/usr/lib/**libstdc++.so.6: no >> version >> information available (required by >> /usr/lib/x86_64-linux-gnu/**libpoppler.so.19) >> 11:43:38.503: xdvipdfmx: /home/kale/lilypond/usr/lib/**libpng12.so.0: no >> version information available (required by xdvipdfmx) >> >> It seemed that lyx wouldn't pick up the install if lilypond wasn't in >> /usr/bin, and I couldn't figure out how to get lilypond to install into >> /usr/bin/ (that is, without creating a subdirectory /lilypond), so I >> copied >> the lilypond-book into /usr/bin. >> >> Here is a minimum (I think) .lyx file: >> >> [...] >> >> Thanks, >> Kale >> >> >> > Your file compiles fine here using xelatex and the pdf has only one staff > line, i.e. no line break. Did you modify or perhaps define the converter > yourself? I have this for converter from "LilyPond book (LaTeX)" to "PDF > (XeTeX)": > > python "C:\Program Files (x86)\LilyPond\usr\bin\**lilypond-book.py" > --verbose --pdf --latex-program=xelatex --lily-output-dir=ly-pdf -I $$r $$i > > I'm using a slightly older version of lilypond, 2.15.40, on Win7, so it's > possible that something has changed between versions or that the behavior > is different between OSes. > > Cheers, > Julien > -- *Kale Good: Guitar Instructor* website: phillyguitarlessons.com email: k...@kalegood.com phone: (215)260-5383 address: 1867 Frankford Ave. Philadelphia, PA 19125 Read my article "*The Seven Secrets to Six String Success*" at GuitarNoise.com: http://www.guitarnoise.com/lesson/seven-secrets-to-six-string-success/ *Leading the Journey from No-Skills-Guitarist to Talented Musician*!
Lilypond-Book and Xetex error
Hello, To work around known issues with Lilypond-book, I tried installing the most recent Lilypond (2.16.2). It solved one problem but created another. When processing in Xetex, there is a line-break following each measure. There is no problem when the file is processed with pdflatex. I'm getting these errors in the messages when processing: 11:43:38.493: lilypond-book: warning: Unable to auto-detect default settings: 11:43:38.495: xetex: /home/kale/lilypond/usr/lib/libpng12.so.0: no version information available (required by xetex) 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by xetex) 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by xetex) 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by xetex) 11:43:38.496: xetex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by xetex) 11:43:38.498: xetex: /home/kale/lilypond/usr/lib/libpng12.so.0: no version information available (required by /usr/lib/x86_64-linux-gnu/libpoppler.so.19) 11:43:38.502: xetex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by /usr/lib/x86_64-linux-gnu/libpoppler.so.19) 11:43:38.502: xetex: /home/kale/lilypond/usr/lib/libstdc++.so.6: no version information available (required by /usr/lib/x86_64-linux-gnu/libpoppler.so.19) 11:43:38.503: xdvipdfmx: /home/kale/lilypond/usr/lib/libpng12.so.0: no version information available (required by xdvipdfmx) It seemed that lyx wouldn't pick up the install if lilypond wasn't in /usr/bin, and I couldn't figure out how to get lilypond to install into /usr/bin/ (that is, without creating a subdirectory /lilypond), so I copied the lilypond-book into /usr/bin. Here is a minimum (I think) .lyx file: #LyX 2.0 created this file. For more info see http://www.lyx.org/ \lyxformat 413 \begin_document \begin_header \textclass paper \begin_preamble \end_preamble \use_default_options true \begin_modules lilypond \end_modules \maintain_unincluded_children false \language english \language_package default \inputencoding utf8x \fontencoding global \font_roman default \font_sans default \font_typewriter default \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \default_output_format pdf4 \output_sync 0 \bibtex_command default \index_command default \paperfontsize 12 \spacing single \use_hyperref false \papersize letterpaper \use_geometry false \use_amsmath 1 \use_esint 1 \use_mhchem 1 \use_mathdots 1 \cite_engine basic \use_bibtopic false \use_indices false \paperorientation portrait \suppress_date true \use_refstyle 1 \index Index \shortcut idx \color #008000 \end_index \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \paragraph_indentation default \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \html_math_output 0 \html_css_as_file 0 \html_be_strict false \end_header \begin_body \begin_layout Standard \begin_inset Flex LilyPond status open \begin_layout Plain Layout \end_layout \begin_layout Plain Layout { c c c c c } \end_layout \begin_layout Plain Layout \end_layout \end_inset \end_layout \end_body \end_document Thanks, Kale -- *Kale Good: Guitar Instructor* website: phillyguitarlessons.com email: k...@kalegood.com phone: (215)260-5383 address: 1867 Frankford Ave. Philadelphia, PA 19125 Read my article "*The Seven Secrets to Six String Success*" at GuitarNoise.com: http://www.guitarnoise.com/lesson/seven-secrets-to-six-string-success/ *Leading the Journey from No-Skills-Guitarist to Talented Musician*!