Re: functions in include file

2012-06-22 Thread Anders Eriksson
On 2012-06-23 02:25, Colin Campbell wrote: In Frescobaldi, one of the options is configuring a list of include directories, under Edit | Preferences. I just discovered that if I add a relative path to the filename then it work as expected. \include ".\diatonic-transpose.lyi" I will look int

Re: functions in include file

2012-06-22 Thread Colin Campbell
On 12-06-22 03:35 PM, Anders Eriksson wrote: Hello Nick, Yes the include file is in the same directory as the main. I tested compiling using Lilypond directly and it worked! I'm using Frescobaldi so the error is in this program not in Lilypond... Must be some configuration... Thanks for your i

Re: functions in include file

2012-06-22 Thread -Eluze
ntains nothing I (or some other code) I get exactly the error messages you report. it is quite common to use the extension .ily for files to be included but I never saw .lyi - can you please check that?! Eluze -- View this message in context: http://old.nabble.co

Re: functions in include file

2012-06-22 Thread Anders Eriksson
Hello Nick, Yes the include file is in the same directory as the main. I tested compiling using Lilypond directly and it worked! I'm using Frescobaldi so the error is in this program not in Lilypond... Must be some configuration... Thanks for your input! // Anders On 2012-06-22 23:18, Nick Pa

Re: functions in include file

2012-06-22 Thread Nick Payne
On 22/06/12 22:38, Anders Eriksson wrote: Hello, I have just started using Lilypond and I have found some functions on the net which I would like to put in an include file. But I can't figure out how!? One of these function is Mr. John Mandereaus "Diatonic/modal transposition function" I

functions in include file

2012-06-22 Thread Anders Eriksson
Hello, I have just started using Lilypond and I have found some functions on the net which I would like to put in an include file. But I can't figure out how!? One of these function is Mr. John Mandereaus "Diatonic/modal transposition function" I have put the code in a file (diatonic-transpos