Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread Aaron Hill
On 2018-11-14 8:50 am, Keizen Li Qian wrote: I need clarification because I did not write the init.ly file or the line \key c major. Should I root edit the init.ly file as you suggest? Perhaps it would help to clear up things for you to provide us a MWE (minimal working example) that produces

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread Keizen Li Qian
I need clarification because I did not write the init.ly file or the line \key c major. Should I root edit the init.ly file as you suggest? Keizen they/them On Wed, Nov 14, 2018 at 6:20 AM David Kastrup wrote: > Keizen Li Qian writes: > > > Thanks for working on this. Please let me know when

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread David Kastrup
Keizen Li Qian writes: > I need clarification because I did not write the init.ly file or the line > \key c major. Should I root edit the init.ly file as you suggest? I did not in any way whatsoever suggest editing init.ly or any other part of LilyPond, and you quite certainly did write a statem

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread Keizen Li Qian
Thanks for working on this. Please let me know when and how to get it. Keizen they/them On Wed, Nov 14, 2018 at 2:09 AM Thomas Morley wrote: > Am Mi., 14. Nov. 2018 um 11:04 Uhr schrieb David Kastrup : > > > > Thomas Morley writes: > > > > > I'm not convinced about below, but for the record:

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread David Kastrup
Keizen Li Qian writes: > Thanks for working on this. Please let me know when and how to get it. It was probably less than clear from this discussion: your problem is user error. It will remain user error LilyPond refuses to compile, but the error message will be better after the change. You ne

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread David Kastrup
Urs Liska writes: > I just checked a few things: > > 1) The order of the cars is irrelevant 2) The cars must be exact > integers 3) If the cdr of a scale step is 0 the pair can be left out. > > 4) If a car is present more than once then a sharp will dominate > regardless of the order in the list.

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread Urs Liska
Am 14.11.18 um 10:48 schrieb David Kastrup: Urs Liska writes: major and minor are lists with seven number pairs where the cars are 0..6 and the cdrs are 0 or -1/2. I'm not sure how the definition of custom scales works and how much freedom the user has to that, but I'd assume that requiring n

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread Thomas Morley
Am Mi., 14. Nov. 2018 um 11:04 Uhr schrieb David Kastrup : > > Thomas Morley writes: > > > I'm not convinced about below, but for the record: > > > > One could give the key-function a string-argument, or probably a symbol > > And react on the input, like > > > > (case > > (("major") major) > >

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread David Kastrup
Thomas Morley writes: > I'm not convinced about below, but for the record: > > One could give the key-function a string-argument, or probably a symbol > And react on the input, like > > (case > (("major") major) > ... > (else (ly:error/warning "message")) > > Obviously pseudo-code (I'm in

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread Urs Liska
Am 14.11.18 um 10:53 schrieb Thomas Morley: Am Mi., 14. Nov. 2018 um 10:28 Uhr schrieb David Kastrup : David Kastrup writes: Davide Liessi writes: Il giorno mer 14 nov 2018 alle ore 08:25 Keizen Li Qian ha scritto: Parsing.../usr/share/lilypond/2.18.2/ly/music-functions-init.ly:564:11:

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread Thomas Morley
Am Mi., 14. Nov. 2018 um 10:28 Uhr schrieb David Kastrup : > > David Kastrup writes: > > > Davide Liessi writes: > > > >> Il giorno mer 14 nov 2018 alle ore 08:25 Keizen Li Qian > >> ha scritto: > >>> Parsing.../usr/share/lilypond/2.18.2/ly/music-functions-init.ly:564:11: > >>> In procedure ly:m

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread David Kastrup
Urs Liska writes: > major and minor are lists with seven number pairs where the cars are > 0..6 and the cdrs are 0 or -1/2. > > I'm not sure how the definition of custom scales works and how much > freedom the user has to that, but I'd assume that requiring > number-pairs (probably an unspecified

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread Urs Liska
Am 14.11.18 um 10:06 schrieb David Kastrup: Davide Liessi writes: Il giorno mer 14 nov 2018 alle ore 08:25 Keizen Li Qian ha scritto: Parsing.../usr/share/lilypond/2.18.2/ly/music-functions-init.ly:564:11: In procedure ly:music-transpose in expression (ly:music-transpose (make-music # # ..

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread David Kastrup
David Kastrup writes: > Davide Liessi writes: > >> Il giorno mer 14 nov 2018 alle ore 08:25 Keizen Li Qian >> ha scritto: >>> Parsing.../usr/share/lilypond/2.18.2/ly/music-functions-init.ly:564:11: >>> In procedure ly:music-transpose in expression (ly:music-transpose >>> (make-music # # ...) to

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread David Kastrup
Davide Liessi writes: > Il giorno mer 14 nov 2018 alle ore 08:25 Keizen Li Qian > ha scritto: >> Parsing.../usr/share/lilypond/2.18.2/ly/music-functions-init.ly:564:11: >> In procedure ly:music-transpose in expression (ly:music-transpose >> (make-music # # ...) tonic): >> /usr/share/lilypond/2.1

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread Davide Liessi
Il giorno mer 14 nov 2018 alle ore 08:25 Keizen Li Qian ha scritto: > Parsing.../usr/share/lilypond/2.18.2/ly/music-functions-init.ly:564:11: In > procedure ly:music-transpose in expression (ly:music-transpose (make-music # > # ...) tonic): > /usr/share/lilypond/2.18.2/ly/music-functions-init.ly

Re: Problem compiling: music-functions-init.ly

2018-11-13 Thread Urs Liska
Am 14. November 2018 05:53:07 MEZ schrieb Keizen Li Qian : >Hello again, I did a clean install of 2.18.2 in Ubuntu and am getting >the >error below when I compile. I checked the script against the >sourceforge >files and was wondering if anyone has any suggestions for compiling. I >would appreci

Problem compiling: music-functions-init.ly

2018-11-13 Thread Keizen Li Qian
Hello again, I did a clean install of 2.18.2 in Ubuntu and am getting the error below when I compile. I checked the script against the sourceforge files and was wondering if anyone has any suggestions for compiling. I would appreciate detailed instructions. Thank you in advance! $ lilypond docume