Re: fret-diagrams.scm:657:42: Wrong type: #f

2015-08-22 Thread David Kastrup
Thomas Morley writes: > 2015-08-22 10:46 GMT+02:00 David Kastrup : >> ClausRogge writes: >> >>> OK thanks for all your suggestions ... the error was very simple - one space >>> too much here >>> \stopStaff s2 s_\markup {\bold "D dur"}^\markup{{\fret-diagram #"s:6;h:5; >>> <-!! >>> 6-2;6-3;6-5;5

Re: Naming Substitution Functions - Numbers and Special Characters

2015-08-22 Thread tone
Thanks Thomas. Putting the chord names in quotes seems to let me use any characters I want. Per your suggestion, I define and recall the definitions with Compiles fine (complete code below) *Complete LilyPond Co

Re: vertical spacing of rests

2015-08-22 Thread Peter Selinger
Klaus, your code snippet does not work correctly if some of the rests are dotted (see attached for the output). It's a bit of a mystery to me why this happens. -- Peter % \version "2.19.25" centerRests = { \override Rest.staff-position = #0 } \new Sta

Re: vertical spacing of rests

2015-08-22 Thread Peter Selinger
Wait, this didn't quite work: hideRests = { \override Rest.transparent = ##t } It almost produces the correct output, but it generates a million warnings (one for each rest) about a "rest collision" that could not be resolved. I guess a transparent rest is not the same as a spacer rest - even t

Re: vertical spacing of rests

2015-08-22 Thread Peter Selinger
Thanks for your replies. That's awesome. I think I will also define a command \hideRests, so that I don't have to manually convert all the rests to spacer rests - this might be handy if I later decide to use one staff per voice. centerRests = { \override Rest.staff-position = #0 } hideRests = {

Re: Patch/issue procedures (was: Randomness in layout)

2015-08-22 Thread David Nalesnik
On Sat, Aug 22, 2015 at 6:00 PM, David Nalesnik wrote: > David, > > On Sat, Aug 22, 2015 at 2:24 AM, David Kastrup wrote: > >> David Nalesnik writes: >> >> [Patch] >> >> Maybe put it up on Rietveld and post a pointer on bug-lilypond? Even >> when it does not make all that much sense to create

Re: vertical spacing of rests

2015-08-22 Thread Simon Albrecht
Am 23.08.2015 um 00:48 schrieb Michael Rivers: It would be nice if this were just newbie question, but all of us old-bies and have to deal with it all the time. It would be really nice if Lilypond just combined the rests as it should. That would have to be discussed, but I agree that it would be

Re: fret-diagrams.scm:657:42: Wrong type: #f

2015-08-22 Thread Thomas Morley
2015-08-22 10:46 GMT+02:00 David Kastrup : > ClausRogge writes: > >> OK thanks for all your suggestions ... the error was very simple - one space >> too much here >> \stopStaff s2 s_\markup {\bold "D dur"}^\markup{{\fret-diagram #"s:6;h:5; >> <-!! >> 6-2;6-3;6-5;5-2;5-4;5-5;4-2;4-4;4-5;3-2;3-4;2-

Re: Patch/issue procedures (was: Randomness in layout)

2015-08-22 Thread David Nalesnik
David, On Sat, Aug 22, 2015 at 2:24 AM, David Kastrup wrote: > David Nalesnik writes: > > [Patch] > > Maybe put it up on Rietveld and post a pointer on bug-lilypond? Even > when it does not make all that much sense to create a new Google issue > for it, my original suggestion to post patch ser

Re: vertical spacing of rests

2015-08-22 Thread Michael Rivers
It would be nice if this were just newbie question, but all of us old-bies and have to deal with it all the time. It would be really nice if Lilypond just combined the rests as it should. -- View this message in context: http://lilypond.1069038.n5.nabble.com/vertical-spacing-of-rests-tp179947p1

Re: vertical spacing of rests

2015-08-22 Thread Klaus Blum
Peter Selinger wrote > Is there a global way to turn off > vertical spacing for rests in a context, i.e., some command whose > effect would be to make notes behave as with \voiceOne and rests > behave as with \oneVoice? Hi Peter, yes, there is: \override Rest.staff-position = #0 but you hav

Re: vertical spacing of rests

2015-08-22 Thread Thomas Morley
2015-08-23 0:37 GMT+02:00 Thomas Morley : > 2015-08-23 0:01 GMT+02:00 Peter Selinger : >> Hello again, >> >> this is a true newbie question. I am trying to engrave two polyphonic >> voices on a single staff. Since the two voices have all their rests in >> common, I only want to typeset each rest on

Re: vertical spacing of rests

2015-08-22 Thread Thomas Morley
2015-08-23 0:01 GMT+02:00 Peter Selinger : > Hello again, > > this is a true newbie question. I am trying to engrave two polyphonic > voices on a single staff. Since the two voices have all their rests in > common, I only want to typeset each rest once, so I use spacer rests > in the second voice.

vertical spacing of rests

2015-08-22 Thread Peter Selinger
Hello again, this is a true newbie question. I am trying to engrave two polyphonic voices on a single staff. Since the two voices have all their rests in common, I only want to typeset each rest once, so I use spacer rests in the second voice. Still the vertical spacing is such that all the rests

Way to flatten nested \include's?

2015-08-22 Thread Javier Ruiz-Alma
I have code split into multiple files. Is there a way to ask lilypond to expands nested \include's and dump into new file, such I can review/compile a flattened version of the code (i.e. for debugging)? ___ lilypond-user mailing list lilypond-user@gnu.o

Re: question about putting music expressions in sequence

2015-08-22 Thread David Kastrup
selin...@mathstat.dal.ca (Peter Selinger) writes: > Dear David, Phil, and Thomas, > > thanks for your quick replies! I'm surprised that as a newbie, I was > able to find a bug in less than 24 hours of using Lilypond. Well, it is a bug of the "we don't do it like that" kind that newbies are more l

Re: question about putting music expressions in sequence

2015-08-22 Thread Peter Selinger
Dear David, Phil, and Thomas, thanks for your quick replies! I'm surprised that as a newbie, I was able to find a bug in less than 24 hours of using Lilypond. But it's fortunate that it has already been fixed! I had double-checked that 2.18.2 is the most current version by checking that it is the

Re: Distance of grob to barlines

2015-08-22 Thread David Nalesnik
On Sat, Aug 22, 2015 at 11:55 AM, David Nalesnik wrote: > Hi Andrew, > > On Fri, Aug 21, 2015 at 6:51 PM, Andrew Bernard > wrote: > >> Can anybody kindly point me to code examples showing how to find the >> distance of a grob to its nearest enclosing barlines, in Scheme? >> > > I don't know of a

Re: Distance of grob to barlines

2015-08-22 Thread David Nalesnik
Hi Andrew, On Fri, Aug 21, 2015 at 6:51 PM, Andrew Bernard wrote: > Can anybody kindly point me to code examples showing how to find the > distance of a grob to its nearest enclosing barlines, in Scheme? > I don't know of any examples out there, be this will do it. This uses the horizontal coo

Re: Coloring of key signature accidentals based on their pitch

2015-08-22 Thread Paul Morris
Hi David, > On Aug 21, 2015, at 9:57 AM, David Nalesnik wrote: > > You're welcome. Just for kicks, I've attached a .cc file which you could > drop into the lily subdirectory and build. It makes Line_interface::line > available to Scheme. You'd just need to replace the two instances in the >

RE: Tablature - Hiding Tied Notes

2015-08-22 Thread mike1951
I figured out the solution. The snippet I mentioned in my post was used in the following statement, which would have (I suppose) taken care of a tied-to note at the beginning of a measure: \override Tie #'after-line-breaking = #tie::tab-clear-tied-fret-numbers Adding the following statemen

Re: question about putting music expressions in sequence

2015-08-22 Thread Thomas Morley
2015-08-22 16:32 GMT+02:00 Peter Selinger : > Hello, > > I have a question about using lyrics with automatic syllable > durations, when putting music expressions in sequence. > > The Learning Manual states: "Putting a group of music expressions > (e.g. notes) in braces means that they are in sequen

Re: question about putting music expressions in sequence

2015-08-22 Thread Phil Holmes
- Original Message - From: "Peter Selinger" To: "Phil Holmes" Cc: Sent: Saturday, August 22, 2015 4:05 PM Subject: Re: question about putting music expressions in sequence Hi Phil, I just double-checked: * my two posted code snippets are not the same (the first uses \lyricmode an

Re: question about putting music expressions in sequence

2015-08-22 Thread David Kastrup
"Phil Holmes" writes: > It looks to me that you have posted the same example twice, both of > which work as planned, and neither of which provides the output you've > attached. Please check. Well, let's see: First version: >> \new Lyrics = "lyrics" \lyricmode { Words to first verse } [...

Re: Tablature - Hiding Tied Notes

2015-08-22 Thread Thomas Morley
2015-08-22 16:50 GMT+02:00 Stephen MacNeil : > hi mike1951 > > As i said i only used tab for setting up certain functions - and only looked > at full-notation once - i think. > So I have absolutely no idea what you are after or what it should look like. > My knowledge on tab is limited to perhaps o

Re: question about putting music expressions in sequence

2015-08-22 Thread Peter Selinger
Hi Phil, I just double-checked: * my two posted code snippets are not the same (the first uses \lyricmode and the second uses \lyricsto, as I had mentioned in the accompanying text). * the two posted code snippets produce exactly the respective output I attached. I'm using GNU LilyPond 2

Re: question about putting music expressions in sequence

2015-08-22 Thread Phil Holmes
- Original Message - From: "Peter Selinger" To: Sent: Saturday, August 22, 2015 3:32 PM Subject: question about putting music expressions in sequence Hello, I have a question about using lyrics with automatic syllable durations, when putting music expressions in sequence. The Learn

RE: Tablature - Hiding Tied Notes

2015-08-22 Thread Stephen MacNeil
hi mike1951 As i said i only used tab for setting up certain functions - and only looked at full-notation once - i think. So I have absolutely no idea what you are after or what it should look like. My knowledge on tab is limited to perhaps only a few days of experimentation. Perhaps someone famil

question about putting music expressions in sequence

2015-08-22 Thread Peter Selinger
Hello, I have a question about using lyrics with automatic syllable durations, when putting music expressions in sequence. The Learning Manual states: "Putting a group of music expressions (e.g. notes) in braces means that they are in sequence (i.e. each one follows the previous one). The result

Re: fret-diagrams.scm:657:42: Wrong type: #f

2015-08-22 Thread David Kastrup
ClausRogge writes: > OK thanks for all your suggestions ... the error was very simple - one space > too much here > \stopStaff s2 s_\markup {\bold "D dur"}^\markup{{\fret-diagram #"s:6;h:5; > <-!! > 6-2;6-3;6-5;5-2;5-4;5-5;4-2;4-4;4-5;3-2;3-4;2-2;2-3;2-5;1-2;1-3;1-5;"}} > > I didn't show in my

Re: fret-diagrams.scm:657:42: Wrong type: #f

2015-08-22 Thread ClausRogge
OK thanks for all your suggestions ... the error was very simple - one space too much here \stopStaff s2 s_\markup {\bold "D dur"}^\markup{{\fret-diagram #"s:6;h:5; <-!! 6-2;6-3;6-5;5-2;5-4;5-5;4-2;4-4;4-5;3-2;3-4;2-2;2-3;2-5;1-2;1-3;1-5;"}} I didn't show in my posting because of the automatic l

Patch/issue procedures (was: Randomness in layout)

2015-08-22 Thread David Kastrup
David Nalesnik writes: [Patch] Maybe put it up on Rietveld and post a pointer on bug-lilypond? Even when it does not make all that much sense to create a new Google issue for it, my original suggestion to post patch series to bug-lilypond while we are transitioning seems nonsensical since it's