Quick question about accidentals

2016-11-26 Thread David Sumbler
In Lilypond we have '!' to force an accidental to appear and '?' to produce a cautionary accidental. Is there any similarly simple way to prevent an accidental being printed where it otherwise would be? Using '\once \override Accidental.stencil = ##f' isn't too onerous - but I just wondered if th

Re: Header fields in custom footer

2016-11-26 Thread Thomas Morley
2016-11-26 1:18 GMT+01:00 Andrew Bernard : > Hi Joram, > > Post an example of what is not working. The code I sent works fine, but I > can't quite understand what you mean therefore. > > Andrew > > > -Original Message- > From: lilypond-user > [mailto:lilypond-user-bounces+andrew.bernard=gma

Re: Quick question about accidentals

2016-11-26 Thread Noeck
Hi David, yes, I think there is no such command as short as ?. > Using '\once \override Accidental.stencil = ##f' isn't too onerous - > but I just wondered if there was an even easier way. \once \omit Accidental is the same and it is a bit shorter but no way near ! or ?. Of course, you can alway

Re: Quick question about accidentals

2016-11-26 Thread David Kastrup
Noeck writes: > Hi David, > > yes, I think there is no such command as short as ?. > >> Using '\once \override Accidental.stencil = ##f' isn't too onerous - >> but I just wondered if there was an even easier way. > > \once \omit Accidental > is the same and it is a bit shorter but no way near ! o

Re: Quick question about accidentals

2016-11-26 Thread David Sumbler
Thanks for these 2 replies.  I have tidied things up a bit by using \once \omit Accidental as suggested by Noeck. David's reply has given me several things to look up and think about (which is good!).  The quoted "@", \single and \etc were all effectively new to me - although I must have read ab

Re: Quick question about accidentals

2016-11-26 Thread David Kastrup
David Sumbler writes: > Thanks for these 2 replies.  I have tidied things up a bit by using > > \once \omit Accidental > > as suggested by Noeck. > > David's reply has given me several things to look up and think about > (which is good!).  The quoted "@", \single and \etc were all > effectively n

Re: Quick question about accidentals

2016-11-26 Thread David Kastrup
David Kastrup writes: > David Sumbler writes: > >> Thanks for these 2 replies.  I have tidied things up a bit by using >> >> \once \omit Accidental >> >> as suggested by Noeck. >> >> David's reply has given me several things to look up and think about >> (which is good!).  The quoted "@", \singl

Re: Quick question about accidentals

2016-11-26 Thread Jacques Menu Muzhic
Brilliant! JM > Le 26 nov. 2016 à 17:52, David Kastrup a écrit : > > David Sumbler writes: > >> Thanks for these 2 replies. I have tidied things up a bit by using >> >> \once \omit Accidental >> >> as suggested by Noeck. >> >> David's reply has given me several things to look up and think

Re: Header fields in custom footer

2016-11-26 Thread Noeck
Hi Andrew, Harm, all, thanks for your help. I tried to post a minimal example, but it looks like it was too minimal to show my intent. And of course, the LSR snippet works and does what says. I just could solve my issue with it - just passing my expression to the function did not solve it. So her

Re: Header fields in custom footer

2016-11-26 Thread Noeck
Hi, your code works pretty well. Thanks, Harm! The following questions are left: (1) How to center the whole markup? \center-column does not work. It should be easy, but perhaps it's too late. (2) The footer should appear only on the first page, the last page should be different, all ot

LSR - file information [0.24759]

2016-11-26 Thread MING TSANG
Hi Lily ponders I try to user LSR to get file information. I assume the LSR is writen for V2.18.2. Si I did a lily convert.  The following is the LSR: Thank you for the help.Immanuel,Ming. \version "2.19.49" %{ Display ly file information on the score, including file name, file size,  LilyPond ver

Re: Header fields in custom footer

2016-11-26 Thread Thomas Morley
2016-11-26 23:17 GMT+01:00 Noeck : > Hi, > > your code works pretty well. Thanks, Harm! > > The following questions are left: > > (1) How to center the whole markup? \center-column does not work. > It should be easy, but perhaps it's too late. Use fill-line > (2) The footer should appear only

Re: LSR - file information [0.24759]

2016-11-26 Thread Andrew Bernard
Hello Ming, LSR 197 works fine at 2.19.51 with no conversion. It's really just mostly Scheme, not lilypond, and the syntax for Scheme has not changed. Compiles for me without error. Try running with a conversion. I cannot see the error in your appended output. Where is it? Andrew _

Automatic lyric colouring

2016-11-26 Thread Jack Mackenzie
I'm trying to put together an engraver for educational purposes, with noteheads coloured according to a particular scheme, and lyrics following this colouring. I've used the snippet for notehead colouring successfully ( http://lsr.di.unimi.it/LSR/Snippet?id=572), using "\override NoteHead.color =

Re: Automatic lyric colouring

2016-11-26 Thread Andrew Bernard
Hi Jack, What do you mean exactly? The snippet colours noteheads according to their individual pitch. What if your word spans multiple pitches, what colour do you make it? This sounds somewhat illogical, or at the least confusing to read for a musician. Can you explain more? Andrew __

Re: Automatic lyric colouring

2016-11-26 Thread Jack Mackenzie
Take this song for example: http://1.bp.blogspot.com/-Cu34bCPytiY/T4ZD9tR7CrI/FBE/gytZgtL4qTc/s1600/See+Saw+Up+And+Down+-+G.bmp I would want all the d notes one colour, and their lyrics the same colour, and all the b notes and their lyrics a different colour. This is for very young child

Re: Automatic lyric colouring

2016-11-26 Thread Jack Mackenzie
I worried that it might involve Scheme. I should certainly investigate it but I'm already extremely out of my depth! The material is simple but as I'm planning on compiling between 100-200 songs using up to 5 notes (for Kodaly/Orff-style music programmes), if the lyrics idea could work, I'd like to

Re: Automatic lyric colouring

2016-11-26 Thread Andrew Bernard
Hi Jack, So, in such simple music probably no melisma. I don't work with lyrics but you would have to write a Scheme function for the lyrics that computes the pitch of the associated note and figures out the corresponding colour. Is it worth the complexity for such simple works? However, others m

Automatic lyric colouring

2016-11-26 Thread jmuzic
I'm trying to put together an engraver for educational purposes, with noteheads coloured according to a particular scheme, and lyrics following this colouring. I've used the snippet for notehead colouring successfully ( http://lsr.di.unimi.it/LSR/Snippet?id=572

Re: LSR - file information [0.24759]

2016-11-26 Thread MING TSANG
Andrew, Sorry, the 2nd copy and paste failed. Here is the error log. Yes it compile fine on v2.19.51 Immanuel,Ming Here is the error log.Starting lilypond-windows.exe 2.19.49 [filename.ly]...Processing `C:/Users/user/Google Drive/CHOIR_2016/filename.ly'Parsing...C:/Users/user/Google Drive/CHOIR_

Re: LSR - file information [0.24759]

2016-11-26 Thread MING TSANG
Hi Andrew, I rename the filename.ly to filename_名字.ly and recompile with v2.19.51, I got the following exited with return code 1. Immanuel,Lyndon. Starting lilypond-windows.exe 2.19.51 [filename_名字.ly]...Processing `C:/Users/user/Google Drive/CHOIR_2016/filename_.ly'Parsing...C:/Users/user/G

Re: LSR - file information [0.24759]

2016-11-26 Thread Andrew Bernard
Hi Ming, Indeed yes that fails, using a filename with Chinese characters. As as aside, I myself have been learning to read and write and speak Chinese for a long time. However, I have never had the need to do it in Lilypond. I am not sure that lilypond has focused on Chinese character support ver

Re: Header fields in custom footer

2016-11-26 Thread Noeck
Hi Harm, thanks a lot for this solution and your patience! That's what I wanted. And the discussion told me more about how to ask. Cheers, Joram ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user