adjusting first part of slur across system break

2009-09-30 Thread David Nalesnik
Dear LilyPonders, I've found information on how to alter the second half of slurs which span a line-break, but I can't find anything about adjusting the first half while keeping the cloned half at the default. I've constructed a simple example showing what happens when I break a certain slur. In

first half of slurs across line-break

2009-10-01 Thread David Nalesnik
Dear LilyPonders, I've found information on how to alter the second half of slurs which span a line-break, but I can't find anything about adjusting the first half while keeping the cloned half at the default. I've constructed a simple example showing what happens when I break a certain slur. In

Re: adjusting first part of slur across system break

2009-10-02 Thread David Nalesnik
Thank you, Trevor and Mats. Overriding the positions property did the trick! David On Wed, Sep 30, 2009 at 6:01 PM, Trevor Daniels t.dani...@treda.co.ukwrote: David Nalesnik wrote Wednesday, September 30, 2009 10:16 PM I've found information on how to alter the second half of slurs which

Re: [Issue?] hiding Accidental(s) on tied note(s) after a line break

2009-10-02 Thread David Nalesnik
Hi, According to Gardner Read: It is not necessary to repeat the accidental before a tied note . . . The one exception to this general rule occurs when the note or notes affected by the accidental and tied over the barline come at the end of a system or at the bottom of the page. It is helpful to

Re: title on a separate page (Susan Dittmar)

2009-10-07 Thread David Nalesnik
Hi all, I'm trying to understand how the Scheme markup command works, and I noticed that it seems to work exactly the same way if one of the lines is commented out, like so: #(define-markup-command (vspace layout props amount) (number?) This produces a invisible object taking vertical space.

problems with routine to adjust inner points of slur

2009-10-16 Thread David Nalesnik
Hi LilyPonders, I'm trying to write a function which will make a slur more rounded by adjusting its middle points while leaving the note-attachments the same. I came up with something that works--except that when I try to modify two slurs, both slurs take on the new values for the second one.

Re: problems with routine to adjust inner points of slur

2009-10-22 Thread David Nalesnik
Thank you so much, Neil--this works perfectly! David ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

dealing with multiple related grobs

2009-10-31 Thread David Nalesnik
Hi, I have a question about accessing information about several related grobs at once. For example, if I wanted to use information about a beam and a tuplet number positioned above it in a single procedure, where would these grobs be associated together, and how could I refer to them in turn?

different style of barline in-between staves

2009-12-16 Thread David Nalesnik
Hi Lilyponders, In the attached snippet, I want to connect the two staves with a dashed barline between the staves, while retaining a solid barline within the individual lines. (The bottom staff shows the two-voice structure of the Handel melody on the upper staff.) How would I go about doing

Re: different style of barline in-between staves

2009-12-17 Thread David Nalesnik
Thank you, Robin--problem solved! On Thu, Dec 17, 2009 at 2:27 AM, Robin Bannister r...@dataway.ch wrote: David Nalesnik wrote: I want [...] a dashed barline between the staves, while retaining a solid barline within the individual lines. Add the following to your \layout{\context

Re: Roman numerals and figured bass

2012-02-29 Thread David Nalesnik
Hi Bryn, On Wed, Feb 29, 2012 at 6:03 PM, Bryn Hughes bryn.hug...@gmail.com wrote: A related question: Does anyone have a template or resources for including a Roman numeral/figured bass analysis underneath a staff (preferably a piano staff)? I teach music theory and we routinely analyze

Re: Roman numerals and figured bass

2012-02-29 Thread David Nalesnik
Hi Bryn, On Wed, Feb 29, 2012 at 6:32 PM, Bryn Hughes bryn.hug...@gmail.com wrote: This is wonderful! Thank you so much! Glad you like it! I should have an improved version fairly soon, and I'll be happy to post that when it's ready. (Please let me know if you run into any problems, or if

Re: Roman numerals and figured bass

2012-02-29 Thread David Nalesnik
Hi Bryn, On Wed, Feb 29, 2012 at 8:25 PM, Bryn Hughes bryn.hug...@gmail.com wrote: I will, David. Thank you! This may be an ignorant question, but it is possible to reference your .ly file in another .ly file, so that it's easier to read the code I'm working on? Sure, you can save the

Re: LSR updates: was: polychords: a working solution

2012-03-01 Thread David Nalesnik
Hi Harm, On Wed, Feb 29, 2012 at 6:57 PM, Thomas Morley thomasmorle...@googlemail.com wrote: Converting some files gave: Not smart enough to convert minimum-Y-extent. Vertical spacing no longer depends on the Y-extent of a VerticalAxisGroup. Please refer to the manual for

Re: LSR updates: was: polychords: a working solution

2012-03-01 Thread David Nalesnik
Hi Harm, staves swapped around are not shown in the NR. So if we can make it work, the snippet is worth to keep. I haven't been able to make this work either. Whenever I use negative values as in the original snippet I get programming errors such as insane spring distance requested, ignoring

Re: Display score title differently on odd or even pages

2012-03-02 Thread David Nalesnik
Hi Jay, Is it possible to check whether the page is odd or even in creating the score title markup. I'm setting a group of hymns and I'd like the hymn number on the outside of the page. : The discussion at http://www.lilypond.org/doc/v2.14/Documentation/notation/reference-to-page-numbers is

Re: LSR updates: was: polychords: a working solution

2012-03-03 Thread David Nalesnik
Hi Harm, I attached a tarball with all fixed files (hope it's not to big). Perhaps you could test compiling them. IIRC you use windows, it should make no difference, but who knows ... Everything compiles :) All I get are warnings with a few of the files. I've attached the trimmed-down

Re: LSR updates: was: polychords: a working solution

2012-03-04 Thread David Nalesnik
Hi, On Sun, Mar 4, 2012 at 3:05 PM, Phil Holmes m...@philholmes.net wrote: - Original Message - From: Thomas Morley thomasmorle...@googlemail.com** To: James pkx1...@gmail.com Cc: Phil Holmes m...@philholmes.net; David Nalesnik david.nales...@gmail.com; lilypond-user lilypond-user

Re: LSR updates: was: polychords: a working solution

2012-03-04 Thread David Nalesnik
Hi, On Sun, Mar 4, 2012 at 5:16 PM, Graham Percival gra...@percival-music.cawrote: On Mon, Mar 05, 2012 at 12:07:09AM +0100, Thomas Morley wrote: I just downloaded the LSR.tarball from today and ran a last successful test. I'd like to send it to Sebastiano. Please do. Shall we

Re: LSR updates: was: polychords: a working solution

2012-03-04 Thread David Nalesnik
Hi Harm, I just finished rewriting the description a moment ago. I'll fix it once the update is through. Anyway, I suppose I should add the file to the conversation. Please look through it and see if it's accurate, and I'll take care of adding it when the LSR is running 2.14.2. Oh, and

Re: LSR updates: was: polychords: a working solution

2012-03-04 Thread David Nalesnik
Hi Harm, On Sun, Mar 4, 2012 at 5:50 PM, Thomas Morley thomasmorle...@googlemail.com wrote: Hi David, Sorry, I've just sent a tarball to Sebastiano. I hope that all is correct. Everything compiles, and you fixed a number of things that didn't need fixing--that has to be good enough :)

Re: Grace at beginning of score

2012-03-09 Thread David Nalesnik
Hi Ornello, On Fri, Mar 9, 2012 at 7:20 AM, ornello dominik.hoer...@fun.de wrote: What is the right way to write a grace note at the beginning of the score (or after a clef/time/key signature change)? But this issue does not mention a workaround? Does anybody know a trick? The trick in

Re: Noteheads exactly over bar lines

2012-03-10 Thread David Nalesnik
Hi Ádám, I just realized that the solution is not as good as it seemed to be. It seems that if I use a markup, the distance between subsequent crotchets won't be the same, as the first crotchet of the measure (the one that is represented by the markup) will be placed a little more left than

Re: Noteheads exactly over bar lines

2012-03-10 Thread David Nalesnik
Hi Ádám, What about using proportional spacing and then moving the bar line slightly to the right? Attached is an attempt at automating this somewhat. I haven't tested it extensively, but I hope it will be useful. -David barline-through-note01.ly Description: Binary data

Re: Noteheads exactly over bar lines

2012-03-10 Thread David Nalesnik
Hi again, On Sat, Mar 10, 2012 at 9:45 AM, David Nalesnik david.nales...@gmail.comwrote: Hi Ádám, What about using proportional spacing and then moving the bar line slightly to the right? Attached is an attempt at automating this somewhat. I haven't tested it extensively, but I hope

Re: lyric hyphen goes outside staff limits at line break

2012-03-10 Thread David Nalesnik
Hi Zsolt, On Sat, Mar 10, 2012 at 4:43 PM, -Eluze elu...@gmail.com wrote: Zsolt Cselényi wrote: For the above the first line is broken after three bla-s and the hyphen of the last bla sticks out completely on the right. hi I think the paper-width is very short, too - is that your

Re: Noteheads exactly over bar lines

2012-03-10 Thread David Nalesnik
Hi Ádám, thank you a lot for this solution. It is much better than anything I expected to achieve. Glad to hear it! -David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Aleatoric / modern notation

2012-03-12 Thread David Nalesnik
Hi, On Sun, Mar 11, 2012 at 3:18 AM, m...@apollinemike.com m...@apollinemike.com wrote: On Mar 11, 2012, at 8:53 AM, James Harkins wrote: At Sun, 11 Mar 2012 08:12:35 +0100, m...@apollinemike.com wrote: The best way to achieve that with current LilyPond is Scheme engravers. There

Re: Aleatoric / modern notation

2012-03-13 Thread David Nalesnik
Hi Mike, Excellent work! I'm glad you think so! I've attached a new file that addresses some of the issues you identify above: --) It uses axis-group::width to box accidentals Beautiful! Now there's really no need for the extra padding properties. (I've kept them in the attached

Re: Default length of laissezvibrer ties

2012-03-13 Thread David Nalesnik
Hi Nick, I also played around with trying to make a callback function for \override LaissezVibrerTie #'control-points, but although Lilypond gives no error on the console, the LV tie doesn't appear at all when I try to use the callback. The following should work. (I've also substituted in a

Re: Callback function and applying to all notes in chord

2012-03-13 Thread David Nalesnik
Hi Nick, I was trying to make a callback function to lengthen LV ties (thanks to David Nalesnik for his help). It works fine when applied to single notes, but on a chord, only one of the two ties is lengthened. Is this due to an error in the code below or some more deep-rooted problem. If I

Re: full rest side effect

2012-03-15 Thread David Nalesnik
Hi Jonathan, On Wed, Mar 14, 2012 at 1:56 PM, Jonathan Wilkes jancs...@yahoo.com wrote: Oops, I sent this to lilypond@googlecode by mistake. Please ignore there... Hello, In the following example the left hand gets rhythmically augmented. What screwy thing am I doing? This score

Re: Setting the width of system-starter curly braces

2012-03-18 Thread David Nalesnik
Hi Ádám, Unfortunately the curly brace created for these four instruments is way too wide. Is there a way to shrink the vertical size of the curly brace for the GrandStaff (so that it would have the same width as the curly brace of a GrandStaff consisting of only two instruments)? Another

Re: Setting the width of system-starter curly braces

2012-03-18 Thread David Nalesnik
Hi Ádám, this is quite weird. This code compiles fine. However, in my original score it doesn't work. After some more experimenting, I figured out that the problem is, that I have the \RemoveEmptyStaves in the \Staff context. After removing that, it compiled just fine. Maybe it's some bug.

Re: Aleatoric / modern notation

2012-03-20 Thread David Nalesnik
Hi James, BTW, I didn't mention before, but it looks like I'm going to be using that feathered-beam function, derived from work by David, and this box-notation function, also coming from David's work. Oh, I just helped out a bit with that one--thanks definitely go to Harm. So David -- I

Re: Move markup relative to parent from inside define-markup-command?

2012-03-22 Thread David Nalesnik
Hi Nick, On Thu, Mar 22, 2012 at 9:29 PM, Nick Payne nick.pa...@internode.on.netwrote: I'm using define-markup-command to simplify the indication of barring for a single chord, but what I have at the moment defaults to being centred on the note, and the vertical line indicating how many

Re: Aleatoric / modern notation

2012-03-26 Thread David Nalesnik
Hi Ádám, I tried to use the frame engraver of this thread, but I was unable to do so. I'm constantly getting 'syntax error, unexpected EVENT_IDENTIFIER' errors and the LilyPond compiler won't recognize the \frameStart and \frameEnd commands. The only thing I changed was the version number

Re: Multimeasure rests over a cadenza

2012-04-08 Thread David Nalesnik
Hi James, On Sun, Apr 8, 2012 at 9:22 AM, James Harkins jamshar...@gmail.com wrote: Hi, I am perfectly ripping my hair out trying to get multimeasure rests to display properly in another staff, over a cadenza. Reduced example illustrates. Possibly the following thread will be useful to

Re: Moving notes in a chord to the opposite side of the stem?

2012-04-09 Thread David Nalesnik
Hi Paul, On Mon, Apr 9, 2012 at 4:47 PM, Nick Payne nick.pa...@internode.on.netwrote: On 10/04/12 06:56, Paul Morris wrote: Thomas Morley wrote: Am 9. April 2012 03:25 schrieb Paul Morris p...@paulwmorris.com p...@paulwmorris.com: Hello, Is there a way to manually move some of the

Re: Moving notes in a chord to the opposite side of the stem?

2012-04-09 Thread David Nalesnik
Hi Paul, On Mon, Apr 9, 2012 at 9:50 PM, Paul Morris p...@paulwmorris.com wrote: Thanks David and Nick! More below... David Nalesnik wrote: Hi Paul, On Mon, Apr 9, 2012 at 4:47 PM, Nick Payne nick.pa...@internode.on.netwrote: On 10/04/12 06:56, Paul Morris wrote: Thank you

Re: System in different colors

2012-04-11 Thread David Nalesnik
Hi, I tried \once \override but it didn't work. It should. You can also move the override of BarLine later as I do below. My problem however is, that the barline between my part 2 and three is already shown in the color of the part 3 where I think it is defined and belongs to part 2. I

Re: System in different colors

2012-04-11 Thread David Nalesnik
Hi Harm, how about inserting: \override Staff.BarLine #'layer = #10 in the \layout and \once \override Staff.BarLine #'X-extent = #'(-0 . 0.5) for the problematic BarLine. Think it should do the trick: Aha! Works beautifully. --David ___

Re: System in different colors

2012-04-11 Thread David Nalesnik
Hi Eluze, I believe the issue here is that the barline is considered to _begin_ the new measure rather than end the old one. I can't think of a way around this except what James suggests. (Then there's the issue of the staff lines underneath the bar line, to which I don't have a ready

Re: Flatten a tie without hardcoding control points?

2012-04-20 Thread David Nalesnik
Hi James, On Fri, Apr 20, 2012 at 3:32 AM, James Harkins jamshar...@gmail.com wrote: Maybe a simple question: Is there a way to flatten the curve of a tie that is as easy as overriding ratio for slurs? You can override 'ratio for ties too: \override Tie #'details #'ratio = #0.2 Another

Re: Flatten a tie without hardcoding control points?

2012-04-20 Thread David Nalesnik
Hi, Oops--should have included the version. I'm using 2.15.37. With 2.14.2 and before you need the dollar sign: shapeTie = #(define-music-function (parser location offsets) (list?) #{ \once \override Tie #'control-points = #(alter-curve $offsets) #}) -David

Re: Flying ties

2012-04-20 Thread David Nalesnik
Hi James, On Fri, Apr 20, 2012 at 8:58 AM, James Worlton jworl...@gmail.com wrote: On Fri, Apr 13, 2012 at 11:18 AM, James Worlton jworl...@gmail.com wrote: On Fri, Apr 13, 2012 at 10:59 AM, James pkx1...@gmail.com wrote: James On 13 April 2012 16:30, James Worlton jworl...@gmail.com

Re: Flying ties

2012-04-20 Thread David Nalesnik
Hi, Your override clears 'details except for 'ratio. Err...don't think that's accurate, but the rest stands! -David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Layout Set Staff Size

2012-04-20 Thread David Nalesnik
Hi Silvio, On Fri, Apr 20, 2012 at 10:47 AM, Silvio ARDITO silvioard...@gmail.comwrote: I need the following layout: [image: Immagine in linea 2] The result is a copy and paste from 2 .ly. The little up-right staff uses: *#(set-global-staff-size 11)* ; the rest uses:

Re: Layout Set Staff Size

2012-04-20 Thread David Nalesnik
Hi, Also, take a look at this snippet: http://lilypond.org/doc/v2.15/Documentation/snippets/staff-notation That would be the one called Changing the staff size...! ___ lilypond-user mailing list lilypond-user@gnu.org

Re: parenthesizing arpeggios

2012-04-22 Thread David Nalesnik
Hi Urs, On Sun, Apr 22, 2012 at 6:37 PM, Urs Liska li...@ursliska.de wrote: Dear listers, I thought it should be simple and straightforward, but I don't understand how to put an arpeggio in brackets. If I use this code I only get a very small parenthesis: \version 2.15.36 \relative c' {

Re: parenthesizing arpeggios

2012-04-22 Thread David Nalesnik
Hi again! Here's something that works for arpeggios. The attached file is a bit large because I needed to include several functions from stencil.scm to draw the parentheses. Oh, what ever was I thinking! No need at all for all that duplicated code... This is all you need: \version

Re: measure counter engraver

2012-04-24 Thread David Nalesnik
David, On Tue, Apr 24, 2012 at 12:41 AM, David Kastrup d...@gnu.org wrote: David Nalesnik david.nales...@gmail.com writes: The examples are written to work with the latest versions. (I'm using the current release candidate.) Then one could use make-engraver. True, true. My motivation

Re: measure counter engraver

2012-04-24 Thread David Nalesnik
David, .Any problems which might result will only affect that multi-file run? Basically every use of lilypond-book is a multi-file run. So are our regtests. Understood. I also won't upload this to the LSR at the current time since it could potentially cause annoyances the next time it

Re: measure counter engraver

2012-04-24 Thread David Nalesnik
Hi Phil, On Tue, Apr 24, 2012 at 9:13 AM, Phil Holmes m...@philholmes.net wrote: ** You're OK uploading it to the LSR providing you don't tag it with docs - it's only those that are imported into the documentation system. I'm just speaking here from the experience of checking a bunch of LSR

Re: print tie without note it ties to?

2012-04-25 Thread David Nalesnik
Hi, Thank you. \laissezVibrer produces very short ties; is there a way to modify them so that they resemble normal ties? You might find this thread helpful: http://www.mail-archive.com/lilypond-user@gnu.org/msg70030.html -David ___

Re: measure counter engraver

2012-04-25 Thread David Nalesnik
Hi, Unrelated issue: I notice that the original post with attached files hasn't shown up on archive 2 on either -user or -devel, even though I sent that post 13 hours ago. It appears on archive 1, but there the .ly file appears as a binary data file, which I cannot open. Am I guilty of

Re: is shapeSlur broken?

2012-04-27 Thread David Nalesnik
Hi Urs, On Fri, Apr 27, 2012 at 4:23 AM, Urs Liska li...@ursliska.de wrote: Hello Jan-Peter, thank you very much. This seems to solve the problem. Maybe it's not perfectly robust, though. The function now works when the number of lists exactly matches the number of slur fragments. I'm not

Re: is shapeSlur broken?

2012-04-27 Thread David Nalesnik
Hi Urs, On Fri, Apr 27, 2012 at 6:51 AM, David Nalesnik david.nales...@gmail.comwrote: Hi Urs, I've rewritten shape-slur so that you should be able to use lists of offsets which don't match with the number of slur fragments. I've tested it somewhat, but if you run into a problem, let me

Re: \RemoveEmptyStaffContext doesn't remove empty staff

2012-04-27 Thread David Nalesnik
Hi, In some piano music, you may have three different levels, as it were, e.g. a melodic line in the treble, played by the right hand, a deep bass consisting of long notes in the left hand, and in between chords filling in the time between the bass notes, also played by the left hand. In such

Re: is shapeSlur broken?

2012-04-27 Thread David Nalesnik
Hi Urs, On Fri, Apr 27, 2012 at 11:46 AM, Urs Liska li...@ursliska.de wrote: Hi David, thank you for now. I'll look into it. But isn't it very likely that I have to reshape a slur anyway when it changes from broken to unbroken? In that case I'd even say the errors are a 'feature' so you

Re: is shapeSlur broken?

2012-04-28 Thread David Nalesnik
Hi Urs, On Fri, Apr 27, 2012 at 6:05 PM, Urs Liska li...@ursliska.de wrote: Am 27.04.2012 19:30, schrieb David Nalesnik: Hi Urs, On Fri, Apr 27, 2012 at 11:46 AM, Urs Liska li...@ursliska.de wrote: Hi David, thank you for now. I'll look into it. But isn't it very likely that I have

Re: BarNumber-value?

2012-04-29 Thread David Nalesnik
Hi Harm, On Sun, Apr 29, 2012 at 5:55 PM, Thomas Morley thomasmorle...@googlemail.com wrote: Hi, in 2.14.2 I used a function to manipulate the BarNumber-stencil. It calls the value of the BarNumber as a string, via (ly:grob-property grob 'text). This doesn't work no longer with the

Re: lilypond-user Digest, Vol 113, Issue 99

2012-04-29 Thread David Nalesnik
) as suggest by David Nalesnik and I get the following error. Appreciate help. This is how to do it: \relative c'' { \override Score.BarNumber #'break-visibility = #'#(#f #t #t) \override Score.BarNumber #'stencil = #(lambda (grob) (let* ((stil (ly:text

Re: tuplet number placement and ornament

2012-04-30 Thread David Nalesnik
Nick, In the following, even though I've turned off the tuplet bracket stencil, the tuplet number is still placed as though the stencil was there: \version 2.15.37 \relative c'' { \set tupletSpannerDuration = #(ly:make-moment 1 4) \override TupletBracket #'stencil = ##f

Re: tuplet number placement and ornament

2012-04-30 Thread David Nalesnik
Hi again, Since the number is positioned according to where the bracket would be, you could override 'positions of TupletBracket: \relative c'' { \set tupletSpannerDuration = #(ly:make-moment 1 4) \times 2/3 { g8 fis g \override TupletBracket #'positions = #'(3.34 . 3.34)

Re: lilypond-user Digest, Vol 113, Issue 99

2012-04-30 Thread David Nalesnik
Hi Ming, On Mon, Apr 30, 2012 at 11:23 AM, MING TSANG tsan...@rogers.com wrote: Thank you, David. Is it possible not to print other numbers other than the multiple of five's? To to this, you only need to change one line of Harm's function (see below): \relative c'' {

Re: lilypond-user Digest, Vol 113, Issue 99

2012-04-30 Thread David Nalesnik
Err.. ;; if you change 5 to 3 in the line below, you'll get a bar line every three bars; if you change it to 10, every ten ;; bars; etc. That's bar number of course! ___ lilypond-user mailing list lilypond-user@gnu.org

Re: lilypond-user Digest, Vol 113, Issue 99

2012-04-30 Thread David Nalesnik
Hi Ming, On Mon, Apr 30, 2012 at 4:53 PM, MING TSANG tsan...@rogers.com wrote: Hi, David, I asked the wrong question. The right one: Can I just print the multiple of fifth's (or 10's) only - the in between nar number should be blank? OK, I now see what you want. For that you can do

Re: removing sharp sign

2012-05-01 Thread David Nalesnik
Helge, On Tue, May 1, 2012 at 6:03 AM, Eluze elu...@gmail.com wrote: Am 01.05.2012 12:29, schrieb Helge Kruse: Hello, I am transcribing a score. I want to keep it as similar to the original as possible. In the following excerpt the C-sharp is continued with a tie on the next line. The

Re: How to adjust the Y-offset of volta spanners?

2012-05-02 Thread David Nalesnik
Hi Jim, On Wed, May 2, 2012 at 9:59 PM, lilyp...@umpquanet.com wrote: I have a first ending at the end of a line, which is nicely spaced (vertically). The second ending is at the beginning of the next line, and the right end of the spanner is above a rehearsal letter (/mark /default).

Re: Hide time signature numerator?

2012-05-03 Thread David Nalesnik
Even simpler: #(define time-signature-hide-numerator (lambda (grob) (let ((denom (number-string (cdr (ly:grob-property grob 'fraction) (grob-interpret-markup grob (make-lower-markup 2 (make-number-markup denom)) So it is! -David

Re: is shapeSlur broken?

2012-05-08 Thread David Nalesnik
Hi Urs, Hi David, as promised I tried out your updated function(s). Well, you can't call this a complete test suite, but it seems to work perfectly. Many thanks. Attached is a version showing that it also/still works with phrasingSlurs. I find the warnings very useful. I assume it isn't

Re: is shapeSlur broken?

2012-05-09 Thread David Nalesnik
Hi Urs, On Wed, May 9, 2012 at 10:13 AM, Urs Liska li...@ursliska.de wrote: Hi David, now I tested your new function. OK, I didn't test more than the sources you provided, but I think they give all the necessary combinations. So my conclusion is: This is awesome! I won't ever live

Re: Adjustment to tablature output

2012-05-09 Thread David Nalesnik
Hi, On Wed, May 9, 2012 at 10:13 AM, Carl Sorensen c_soren...@byu.edu wrote: On 5/9/12 8:01 AM, Choan Gálvez choan.gal...@gmail.com wrote: Nice. But... it still results in the same ugly (to me) vertical alignments: letters with ascendant strokes look nice, letters with descendant strokes

Re: Adjustment to tablature output

2012-05-10 Thread David Nalesnik
Hi Carl, I'm pretty sure he wants to use the *baseline* of the characters to align relative to the staff line. Ah, OK. Looking at the examples he's provided I see that that's exactly what he wants. So you can't use tab-note-head::print, since it centers the *total extent* of the

Re: Adjustment to tablature output

2012-05-10 Thread David Nalesnik
Hi Choan, This looks very nice and it's _exactly_ what I had in mind :) Glad to hear it! But that's my opinion, I'm not the OP -- Christopher Webster is. Oops--seems I got lost... -David ___ lilypond-user mailing list lilypond-user@gnu.org

Re: is shapeSlur broken?

2012-05-10 Thread David Nalesnik
Hi Harm, On Thu, May 10, 2012 at 6:00 PM, Thomas Morley thomasmorle...@googlemail.com wrote: 2012/5/11 Thomas Morley thomasmorle...@googlemail.com: Hi David, I thought a while about your function. I'd like to suggest some changes. In the attached file you can see: - Elimination of

Re: is shapeSlur broken?

2012-05-11 Thread David Nalesnik
So: \shape #Slur #'( ... Looks awful. Why not call it with the syntax used for any override? \shape Slur #'( ... Yes, it is pretty horrible. I didn't realize that LilyPond would accept strings not enclosed in double quotes. Thanks, David

Re: is shapeSlur broken?

2012-05-11 Thread David Nalesnik
On Thu, May 10, 2012 at 6:53 PM, Thomas Morley thomasmorle...@googlemail.com wrote: Hi David, 2012/5/11 David Nalesnik david.nales...@gmail.com: I don't have 2.14.2 up to test, but this all should work there provided you add the # before the string? So: \shape #Slur #'( ... I

Re: Dashed Stem

2012-05-11 Thread David Nalesnik
Hi Urs, On Fri, May 11, 2012 at 7:06 AM, Urs Liska li...@ursliska.de wrote: Am I right that you can't make a Stem dashed? I didnt find anything in the IR. What would then be the proper way to attach a dashed line to a note in place of the Stem? Here's something I came up with. It's not

Re: Dashed Stem

2012-05-11 Thread David Nalesnik
Hi again, On Fri, May 11, 2012 at 11:24 AM, David Nalesnik david.nales...@gmail.comwrote: Hi Urs, On Fri, May 11, 2012 at 7:06 AM, Urs Liska li...@ursliska.de wrote: Am I right that you can't make a Stem dashed? I didnt find anything in the IR. What would then be the proper way to attach

Re: Dashed Stem

2012-05-11 Thread David Nalesnik
Hi Harm, I suggest the code below. It's very close to your own but it seems to avoid the problems. When I tried your code out, the same problems happened for me! I concluded that this is an issue with the viewer in LilyPondTool, and sure enough, when I view PDF with external PDF-viewer, the

Re: Dashed Stem

2012-05-12 Thread David Nalesnik
Hi, On Sat, May 12, 2012 at 3:05 AM, Urs Liska li...@ursliska.de wrote: Hi David, Hi Thomas, thank you very much! I'm increasingly fascinated by LilyPond - and this mailing list. And I'll definitely have to learn how to write Scheme functions myself ... With your suggestions I can really

Re: Dashed Stem

2012-05-12 Thread David Nalesnik
On Sat, May 12, 2012 at 7:32 AM, David Nalesnik david.nales...@gmail.comwrote: I've come up with a simpler variant which makes use of the 'dashed-line function. (I didn't use this initially because I couldn't figure out how to get the roundedness of the line segments to match the ordinary

Re: Dashed Stem

2012-05-12 Thread David Nalesnik
Hi again, Hmmm, Setting 'blot-diameter like I did actually affects regular stems and the newly-drawn stems not at all... So remove this line if you use the newer function: (ly:output-def-set-variable! (ly:grob-layout grob) 'blot-diameter 0.8) -David

Re: LilyPond wins LoMuS 2012!

2012-05-12 Thread David Nalesnik
On Sat, May 12, 2012 at 6:41 AM, m...@apollinemike.com m...@apollinemike.com wrote: Hey LilyPond users, I have an exciting piece of news to share with you. LilyPond won LoMuS 2012, one of the most prestigious awards in the open source community for musical software. Congratulations!!

Re: Dashed Stem

2012-05-12 Thread David Nalesnik
OK! This should do it. Those functions using 'round-filled-box could be tailored to match the capabilities of 'dashed-line. The rewrite combines both of the approaches above: it uses 'round-filled-box for the stencil, and allows you to specify the length of the dashes and the spaces in

Re: Dashed Stem

2012-05-12 Thread David Nalesnik
On Sat, May 12, 2012 at 1:39 PM, David Kastrup d...@gnu.org wrote: I don't really understand the function, but maybe something like (define (build-pos-list len on off) (let helper ((lst '()) (next 0) (on on) (off off)) (if ( next len) (helper (cons next lst) (+ next on) off on)

Re: Get the positions of a beam (or other grob with positions)

2012-05-17 Thread David Nalesnik
Hi Urs, On Thu, May 17, 2012 at 5:08 AM, Urs Liska li...@ursliska.de wrote: Hi, I am very much enjoying now to tweak slurs and other curves using offsets instead of hardcoded control-points. I wonder if it would be interesting to have a similar approach to grobs with a positions property

Re: Four Bars per Line/System, again :)

2012-05-18 Thread David Nalesnik
Hi, On Fri, May 18, 2012 at 3:40 PM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: p.s. Come to think of it, wouldn't this be a good place for a Scheme engraver [written by someone who, unlike me, knows Scheme well]? To wit, if the measures in a piece aren't all 4/4, then our

Re: Four Bars per Line/System, again :)

2012-05-18 Thread David Nalesnik
On Fri, May 18, 2012 at 6:50 PM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Hi David, I can't believe that this works :) !! 1. Let's thank all the people (Han-Wen, Jan, David K., etc.) who have done such great work on the fundamentals, so that this actually works. Hear, hear!

Re: Four Bars per Line/System, again :)

2012-05-18 Thread David Nalesnik
Hi, On Fri, May 18, 2012 at 7:38 PM, Jay Anderson horndud...@gmail.com wrote: Slightly better would be to get rid of the bars-per-line define so it's self-contained: True, thank you--I've incorporated your suggestion below. Thinking about this some more, I figure the next logical step is to

Re: Four Bars per Line/System, again :)

2012-05-19 Thread David Nalesnik
Hi Janek, On Sat, May 19, 2012 at 4:27 AM, Janek Warchoł janek.lilyp...@gmail.comwrote: David, a couple of thoughts: - what about looping the break pattern? I.e. \consists #(custom-line-breaks-engraver '(2 3 4)) = \consists #(custom-line-breaks-engraver '(2 3 4 2 3 4 2 3 4 ... 2 3 4))?

Re: Four Bars per Line/System, again :)

2012-05-19 Thread David Nalesnik
Hi again Janek, On Sat, May 19, 2012 at 6:40 AM, David Nalesnik david.nales...@gmail.comwrote: Hi Janek, On Sat, May 19, 2012 at 4:27 AM, Janek Warchoł janek.lilyp...@gmail.comwrote: David, a couple of thoughts: - what about looping the break pattern? I.e. \consists #(custom-line

Re: Four Bars per Line/System, again :)

2012-05-19 Thread David Nalesnik
Hi Johan, Please submit to LSR... Will do. The LSR is running 2.14.2 right now, so I'll have to make some changes. (In particular, the function uses David Kastrup's make-engraver macro which is fairly recent.) -David ___ lilypond-user mailing list

Re: Get the positions of a beam (or other grob with positions)

2012-05-19 Thread David Nalesnik
Hi Janek, On Sat, May 19, 2012 at 8:03 AM, Janek Warchoł janek.lilyp...@gmail.comwrote: Hi David all, i want to make arpeggios longer (so that they overshoot the chords a bit). I've modified your offsetBeamPositions function to work on Arpeggios instead of Beams (that was easy), but i'm

Re: Four Bars per Line/System, again :)

2012-05-19 Thread David Nalesnik
Hi Janek, On Sat, May 19, 2012 at 8:17 AM, Janek Warchoł janek.lilyp...@gmail.comwrote: Hi David, On Sat, May 19, 2012 at 2:56 PM, David Nalesnik david.nales...@gmail.com wrote: OK, this incorporates your idea of looping. You specify a list as the argument of the function

Re: TupletNumber placement - can you improve this function?

2012-05-19 Thread David Nalesnik
Hi Janek, today i've found this snippet: http://lsr.dsi.unimi.it/LSR/Item?id=646 The description says that it needs manual beaming to work, but i've tried using it with 2.15.36 and manual beaming was not necessary! The only downside i see is that non-kneed tuplets are positioned wrongly, so

Re: TupletNumber placement - can you improve this function?

2012-05-19 Thread David Nalesnik
On Sat, May 19, 2012 at 5:02 PM, David Nalesnik david.nales...@gmail.comwrote: I'll have to investigate, but possibly the actual override of 'Y-offset (or calling other functions related to Y) is having new effects. (You can see one effect by adding \override TupletBracket #'bracket

Re: TupletNumber placement - can you improve this function?

2012-05-19 Thread David Nalesnik
Hi, today i've found this snippet: http://lsr.dsi.unimi.it/LSR/Item?id=646 The description says that it needs manual beaming to work, but i've tried using it with 2.15.36 and manual beaming was not necessary! The only downside i see is that non-kneed tuplets are positioned wrongly, so one has

  1   2   3   4   5   6   7   8   9   10   >