On 26 May 2014, at 07:54, Ben Beeson wrote:
Hi all,
I decided that I wanted to compile a tune book using LyX. I have
collected up several tunes that I want in the tune book and these
tunes are all engraved with LilyPond. Now I need to figure out
how to get these tunes into a LyX file so I can compile the tune
book.
I have figured out how to get some music notes such as a scale
into a LyX document using the LilyPond module. Now I need to
figure out how to make that work when your LilyPond code needs an
included file such as "bagpipe.ly" to render the music correctly.
So far I am not having much luck with including "bagpipe.ly" and
the LyX documentation has not helped much in that regard. I am
missing something that will tell LyX to send the instructions for
the include files to LilyPond when it builds the file. I am
hoping there is a simple fix for this, but I have not found it
yet. If anyone knows how to get the LyX LilyPond module to
include "bagpipe.ly" or some other "path/to/some/file.ly"
when building a document with LilyPond to
work, I would appreciate a short note to help explain that.
Cheers and thanks in advance,
Ben
_______________________________________________ lilypond-user mailing list address@hidden https://lists.gnu.org/mailman/listinfo/lilypond-user
It works for me - though there's a catch...
On Mac OS 10.6.8 with LyX 2.0.5 I can get the included files to work *only* if they are located in
/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/ly/ (right-click on the Lilypond app and 'show package contents')
e.g. a source file that has:
\include "bagpipe.ly"
compiles for me in LyX if there is a file:
/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/ly/bagpipe.ly
/include "path/to/some/file.ly" does not work in LyX even if the file compiles as normal with 'regular' Lilypond
Damian |