Re: Text-spanner text repeated at start of line

2015-10-27 Thread David Nalesnik
Hi, On Tue, Oct 27, 2015 at 9:54 AM, David Sumbler wrote: Has any of the material > > developed in connection with the "Text centralized above a TextSpan" > thread actually been incorporated into v2.19.30, or is that yet to come? > > Yet to come. This is just something floating around the user l

Re: multiple TextSpanners per voice

2015-10-20 Thread David Nalesnik
On Tue, Oct 20, 2015 at 11:50 AM, David Kastrup wrote: > Trevor Bača writes: > > > Hi, > > > > I'd like to add that I'm *incredibly* excited by this work. The ability > to > > have multiple text spanners in a voice -- and to tweak each independently > > -- is something I've wanted in LilyPond fo

Re: Syntax for multiple slurs per Voice?

2015-10-20 Thread David Nalesnik
Hi Trevor, On Tue, Oct 20, 2015 at 11:31 AM, Trevor Bača wrote: > Hi, > > I'm coming late to this discussion, but potentially *very* excited about > what this might mean. Will the available of spanner IDs mean that a single > voice will (eventually) be able to carry multiple *text spanners*??? >

Re: Trill spanner minimum length problem

2015-10-10 Thread David Nalesnik
Hi Jacques, On Sat, Oct 10, 2015 at 10:58 AM, Menu Jacques wrote: > Hello folks, > > In a Poulenc score, I have the trill displayed in the attached PNG, but > narrower due to LP’s setting of the line breaks, which makes the prall > quite short: > > I tried to set a minimum length with the follow

Re: Stem-to-stem slurs

2015-10-07 Thread David Nalesnik
On Tue, Oct 6, 2015 at 11:36 PM, Javier Ruiz-Alma wrote: > Other than adding \shape overrides, is there a way to tell LP to anchor > the slurs to the stems instead of noteheads? > > > > %%---Begin snippet > > \version “2.18.2” > > <<{ \clef bass 2 }\\{ f'4( e') d'( c') }>> > Try: <<{ \clef b

Re: multiple TextSpanners per voice

2015-10-05 Thread David Nalesnik
Ok, this should do it. The intention is to provide extra functionality to text spanners. By using this code, you have all the functionality of normal text spanners, but you are able to have multiple spanners per voice. You simply need to swap the regular engraver for this one in a layout block,

Re: multiple TextSpanners per voice

2015-10-03 Thread David Nalesnik
On Sat, Oct 3, 2015 at 12:02 PM, David Nalesnik wrote: > > > So here is a revised version of the TextSpanner code. > > Oh *drat* Attached the wrong file. Apologies... DN \version "2.19" %% Based on the rewrite of Text_spanner_engraver in %% input/regression/scheme-

Re: multiple TextSpanners per voice

2015-10-03 Thread David Nalesnik
On Fri, Oct 2, 2015 at 5:59 PM, David Nalesnik wrote: > > > On Fri, Oct 2, 2015 at 5:49 PM, David Nalesnik > wrote: > >> >> Horizontal_bracket_engraver achieves correct ordering of nested brackets >> through the side-position-interface array 'side-positi

Re: multiple TextSpanners per voice

2015-10-02 Thread David Nalesnik
On Fri, Oct 2, 2015 at 5:49 PM, David Nalesnik wrote: > > Horizontal_bracket_engraver achieves correct ordering of nested brackets > through the side-position-interface array 'side-position-elements. > Brackets closer to the staff are added to the support of brackets further

Re: multiple TextSpanners per voice

2015-10-02 Thread David Nalesnik
On Fri, Oct 2, 2015 at 12:09 PM, David Nalesnik wrote: > David, > > On Fri, Oct 2, 2015 at 11:26 AM, David Kastrup wrote: > >> David Nalesnik writes: >> >> > Hi all, >> > >> > I'm experimenting with a way to support multiple text s

Re: multiple TextSpanners per voice

2015-10-02 Thread David Nalesnik
Michael, On Fri, Oct 2, 2015 at 11:33 AM, Michael Gerdau wrote: > > > The second example shows that tweaks can mess up this reversed ordering > > > even further. > > > > > > Does anyone know what is happening here? I really have no idea :( > > > > Here's an image. > > > > (I'm running 2.19.27 w

Re: multiple TextSpanners per voice

2015-10-02 Thread David Nalesnik
David, On Fri, Oct 2, 2015 at 11:26 AM, David Kastrup wrote: > David Nalesnik writes: > > > Hi all, > > > > I'm experimenting with a way to support multiple text spanners in a > single > > voice, using the 'spanner-id property which already enab

multiple TextSpanners per voice

2015-10-02 Thread David Nalesnik
Hi all, I'm experimenting with a way to support multiple text spanners in a single voice, using the 'spanner-id property which already enables multiple slurs and phrasing slurs. The attached code works--until the spanners cross a line break. Then the order of the spanners is reversed. I've expe

Re: multiple TextSpanners per voice

2015-10-02 Thread David Nalesnik
On Fri, Oct 2, 2015 at 10:00 AM, David Nalesnik wrote: > Hi all, > > I'm experimenting with a way to support multiple text spanners in a single > voice, using the 'spanner-id property which already enables multiple slurs > and phrasing slurs. > > The attached code

Re: [Mei2ly-application] Re: Defining basic requirements, overview of existing efforts

2015-10-01 Thread David Nalesnik
On Thu, Oct 1, 2015 at 3:35 PM, David Nalesnik wrote: > > > Here's an alternate engraver for TextSpanner which works with spanner-id. > > Here's an image. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists

Re: Box around multiple markups

2015-10-01 Thread David Nalesnik
Hi Urs, On Mon, Sep 28, 2015 at 9:19 AM, Urs Liska wrote: > Hi David, > > thank you very much! > You're welcome! > > Am 26.09.2015 um 01:25 schrieb David Nalesnik: > > Hi, > > ... > > To do what you want, it would be best of course to have a new

Re: [Mei2ly-application] Re: Defining basic requirements, overview of existing efforts

2015-10-01 Thread David Nalesnik
Hi, On Fri, Sep 25, 2015 at 2:28 PM, David Kastrup wrote: > Kieren MacMillan writes: > > > Hi David, > > > >>> I’m currently working on a solution for Schenker graphs, > >>> and the “one-slur-per-voice” limitation is killing me. > >> > >> There is no such limitation. Just use \tweak to give ea

Re: Box around multiple markups

2015-09-25 Thread David Nalesnik
On Fri, Sep 25, 2015 at 6:25 PM, David Nalesnik wrote: > > Dashed lines may now (as of 2.19.27) be created using the function > ly:line-interface::line. This takes a grob argument from which it extracts > layout information. So you'd just override the 'style property. D

Re: Box around multiple markups

2015-09-25 Thread David Nalesnik
Hi, On Fri, Sep 25, 2015 at 5:58 PM, Klaus Blum wrote: > Hi Urs, > > the only thing I can offer is to use HorizontalBracket and replace its > stencil by a box as shown in > http://lsr.di.unimi.it/LSR/Item?id=1000 You could adapt ("coopt") an existing engraver, or ... (see below) > > Two dra

Re: ‘new text-spanner’ development

2015-09-24 Thread David Nalesnik
On Thu, Sep 24, 2015 at 9:23 AM, David Nalesnik wrote:, > > > I don't have a solution for the problem you began the thread with. > > Even if it can be done, a redefinition of \startSpanText is going to require a bit more work to be usable with both multitexted spanners and &qu

Re: ‘new text-spanner’ development

2015-09-24 Thread David Nalesnik
Hi, On Wed, Sep 23, 2015 at 7:35 AM, David Nalesnik wrote: > > > On Wed, Sep 23, 2015 at 6:54 AM, David Kastrup wrote: > > the following open-coded loop is >> both opaque and inefficient (namely O(n^2) as _appending_ to a list is >> an O(n) operation): >&

Re: ‘new text-spanner’ development

2015-09-23 Thread David Nalesnik
On Wed, Sep 23, 2015 at 6:54 AM, David Kastrup wrote: [...] > > Well, I don't know who is responsible for this particular idiom > encountered frequently in here, That would be me > but the following open-coded loop is > both opaque and inefficient (namely O(n^2) as _appending_ to a lis

Re: Text centralized above a TextSpan

2015-09-22 Thread David Nalesnik
On Tue, Sep 22, 2015 at 4:23 PM, Simon Albrecht wrote: I made an essay on a simpler input interface, which redefines > \startTextSpan as a music function. That would be much preferable at least > in my eyes. What do you think? If you can get this working, it would be a nice improvement! ___

Re: Text centralized above a TextSpan

2015-09-22 Thread David Nalesnik
Hi Trevor, On Tue, Sep 22, 2015 at 3:03 PM, Trevor Daniels wrote: > > ... and hardly any need for the text-spanner-line-count, as it's easy > to split up the text by system (since manual breaks are needed > anyway to control the placement) like this: > > music = \relative { > % \override TextS

Re: Text centralized above a TextSpan

2015-09-21 Thread David Nalesnik
On Mon, Sep 21, 2015 at 11:13 AM, David Nalesnik wrote: > > > I'm attaching a rewrite of the code which allows an easy mix of > markups/strings and interprets hyphens as connectors. Now there's no need > for a TextSpanner.connectors property. > > I should ment

Re: Text centralized above a TextSpan

2015-09-21 Thread David Nalesnik
On Mon, Sep 21, 2015 at 8:41 AM, David Kastrup wrote: > David Nalesnik writes: > > > Here's a preliminary experiment with using \lyricmode as an input device > > for text spanner details. It could easily be incorporated into the > larger > > function, but I'

Re: Text centralized above a TextSpan

2015-09-21 Thread David Nalesnik
On Mon, Sep 21, 2015 at 9:09 AM, David Kastrup wrote: > David Nalesnik writes: > > > Definitely softens the blow! (While we're here--though it doesn't > > affect the user--I should have omitted the "parser location" from the > > extractTexts fun

Re: Text centralized above a TextSpan

2015-09-21 Thread David Nalesnik
On Mon, Sep 21, 2015 at 8:17 AM, Simon Albrecht wrote: > On 21.09.2015 15:04, David Nalesnik wrote: > >> Hi, >> >> On Sat, Sep 19, 2015 at 7:09 PM, David Nalesnik > <mailto:david.nales...@gmail.com>> wrote: >> >> >> OK, I see. Using \ly

Re: Text centralized above a TextSpan

2015-09-21 Thread David Nalesnik
Hi, On Sat, Sep 19, 2015 at 7:09 PM, David Nalesnik wrote: > David, > > On Sat, Sep 19, 2015 at 3:48 PM, David Kastrup wrote: > >> David Nalesnik writes: >> >> > (As an aside: I must say that David's suggestion of using lyrics >> > produces mirac

Re: Text centralized above a TextSpan

2015-09-19 Thread David Nalesnik
David, On Sat, Sep 19, 2015 at 3:48 PM, David Kastrup wrote: > David Nalesnik writes: > > > (As an aside: I must say that David's suggestion of using lyrics > > produces miraculous results without the hundreds and hundreds of lines > > of new code! Don't wan

Re: Text centralized above a TextSpan

2015-09-19 Thread David Nalesnik
Hi Trevor, On Sat, Sep 19, 2015 at 1:49 PM, Trevor Daniels wrote: > > David Nalesnik wrote Saturday, September 19, 2015 7:14 PM > > On Sat, Sep 19, 2015 at 12:10 PM, David Kastrup wrote: > > [...] > > Right now LyricHyphen will draw something resembling the spanner li

Re: Text centralized above a TextSpan

2015-09-19 Thread David Nalesnik
On Sat, Sep 19, 2015 at 1:14 PM, David Nalesnik wrote: Right now LyricHyphen will draw something resembling the spanner line, but > comprised of a succession of round-filled boxes. An enhancement of the > stencil callback would be needed to allow for all the possibilities of > Te

Re: Text centralized above a TextSpan

2015-09-19 Thread David Nalesnik
e. > > > > Trevor > > > > - Original Message - > > From: David Nalesnik > > To: Simon Albrecht > > Cc: lilypond-user > > Sent: Friday, September 18, 2015 11:58 PM > > Subject: Re: Text centralized above a TextSpan > > &

Re: Text centralized above a TextSpan

2015-09-19 Thread David Nalesnik
Hi Kieren, On Sat, Sep 19, 2015 at 9:10 AM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi David, > > > Sure, no problem. I added a 'line-Y-offset property which just > raises/lowers the line without any reference to the texts. > > Perfect! Thanks. > (To my eye, a setting of about

Re: Text centralized above a TextSpan

2015-09-19 Thread David Nalesnik
Hi Kieren, On Sat, Sep 19, 2015 at 5:56 AM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > > > Change the distance from text to line with TextSpanner.line-offset, > which defaults to #'(0.0 . 0.0). > > Love this. Is there a tweak for the vertical position of the line > (independent of

Re: Text centralized above a TextSpan

2015-09-18 Thread David Nalesnik
Hi, Alright! This should do it... You can: --Adapt this for versions < 2.19.27 with a loss of overriding power (style, dash-fraction, etc.)--see comments beginning in line 435 --Use/mix markups and strings. --Specify any number of texts >= 2 for your spanner. --Break it across an arbitrary n

Re: Access grob name?

2015-09-17 Thread David Nalesnik
Hi Simon, On Thu, Sep 17, 2015 at 7:20 AM, David Kastrup wrote: > Simon Albrecht writes: > > > Hello, > > > > I’ve written a music function which applies some tweaks on dynamics to > > offset them. Unfortunately, it’s not possible to use the offset music > > function on X-offset, because it is

Re: Text centralized above a TextSpan

2015-09-16 Thread David Nalesnik
Hi Simon, On Mon, Sep 14, 2015 at 7:41 AM, Simon Albrecht wrote: > David, > > This is tremendous! Thank you very much. > You're very welcome! I was inspired to fix some of the issues with this last version. Texts are better distributed among the pieces of broken spanners. (The algorithm in p

Re: Text centralized above a TextSpan

2015-09-14 Thread David Nalesnik
On Sun, Sep 6, 2015 at 12:17 PM, David Nalesnik wrote: > > > Hopefully another step forward! > > Attached is an improvement. 2.19.27 has been released, and you need this version to get the full functionality here. (There is provision for earlier versions--see note far do

Re: Text centralized above a TextSpan

2015-09-06 Thread David Nalesnik
On Sun, Sep 6, 2015 at 12:17 PM, David Nalesnik wrote: > > Image attached in further post. > > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Text centralized above a TextSpan

2015-09-06 Thread David Nalesnik
Hi, > On Thu, Sep 3, 2015 at 2:42 PM, Caio Giovaneti de Barros < > caio.bar...@gmail.com> wrote: > >> Hello David! >> >> On 02-09-2015 10:19, David Nalesnik wrote: >> >>> >>> Try this out: >>> >>> http://lists.gnu.org/arc

Fwd: Text centralized above a TextSpan

2015-09-03 Thread David Nalesnik
Sorry...didn't reply all.. -- Forwarded message -- From: David Nalesnik Date: Thu, Sep 3, 2015 at 5:51 PM Subject: Re: Text centralized above a TextSpan To: Caio Giovaneti de Barros Hi Caio On Thu, Sep 3, 2015 at 2:42 PM, Caio Giovaneti de Barros < caio.bar...@g

Re: Text centralized above a TextSpan

2015-09-02 Thread David Nalesnik
Hi Caio, On Wed, Sep 2, 2015 at 8:08 AM, Andrew Bernard wrote: there is various discussion in the archives. Try this out: http://lists.gnu.org/archive/html/lilypond-user/2013-05/msg00405.html Best, David ___ lilypond-user mailing list lilypond-use

Re: Analysis brackets with text [was: how to get notes without tails?]

2015-09-01 Thread David Nalesnik
On Tue, Sep 1, 2015 at 4:01 PM, Paul Morris wrote: > Hi David, > > On Aug 31, 2015, at 8:20 AM, David Nalesnik > wrote: > > Which of course makes them unsuitable for showing phrase elision. > > Or longer overlaps: \relative c'' { c\startGroup d c\st

Re: centerPaperColumn

2015-08-31 Thread David Nalesnik
On Mon, Aug 31, 2015 at 7:58 AM, David Nalesnik wrote: > Victor, > > On Sun, Aug 30, 2015 at 8:12 PM, Víctor wrote: > >> Dear David and lilyponders: >> >> I'm glad to see that you are around here again, so now I hope it will >> be not much of a

Re: centerPaperColumn

2015-08-31 Thread David Nalesnik
notes. For those who don't know what I'm > talking about, David Nalesnik programed a very useful function that centers > notes when they occupy the whole measure. The problem seems to be that > tie's length is not recalculated after the note column has been moved; and >

Re: Analysis brackets with text [was: how to get notes without tails?]

2015-08-31 Thread David Nalesnik
Hi Paul. On Sun, Aug 30, 2015 at 10:10 PM, Paul Morris wrote: > Oh, one other thing I noticed. There seems to be no way to have one > bracket end at a note and another bracket start at that same note. > ("warning: conflicting note group events”) I tried spacer rests, but no > luck. It seems t

Re: Analysis brackets with text [was: how to get notes without tails?]

2015-08-30 Thread David Nalesnik
Hi Paul, On Sun, Aug 30, 2015 at 4:51 PM, Paul Morris wrote: > Hi David, > > On Aug 30, 2015, at 3:16 PM, David Nalesnik > wrote: > >> >> LilyPond already has the ability to make analysis brackets, which are >> attached to note columns and can nest as in the li

Re: how to get notes without tails?

2015-08-30 Thread David Nalesnik
Hi, On Sun, Aug 30, 2015 at 1:40 PM, David Nalesnik wrote: > > > On Sun, Aug 30, 2015 at 11:08 AM, Andrew Bernard > wrote: > >> Greetings All, >> >> Not that it is relevant to the OP’s question in any way, but I can’t help >> noticing out that thi

Re: how to get notes without tails?

2015-08-30 Thread David Nalesnik
Andrew, On Sun, Aug 30, 2015 at 11:08 AM, Andrew Bernard wrote: > Greetings All, > > Not that it is relevant to the OP’s question in any way, but I can’t help > noticing out that this didactic example makes copious use of horizontal > bracket spanners with centred text on every note - the very t

Re: lyric-text::interpolate-alignment

2015-08-25 Thread David Nalesnik
Simon, On Tue, Aug 25, 2015 at 5:40 PM, Simon Albrecht wrote: > Am 26.08.2015 um 00:04 schrieb Simon Albrecht: > >> Hello, >> >> with my current project I wanted to avoid making too many manual >> adjustments on LyricText.self-alignment-X, and so I made an essay at having >> this done automatica

Re: Equal spacing of notes in a bar

2015-08-24 Thread David Nalesnik
On Mon, Aug 24, 2015 at 7:51 PM, William Marchant wrote: > Thanks to Simon and Abraham. I found the quoted reference on my own, but > I need something which can be applied to several single bars throughout > the music. It is the lyrics which are distorting just a few bars. I had > hoped there

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 >> whe

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 sug

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 Sch

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: Randomness in layout

2015-08-21 Thread David Nalesnik
On Fri, Aug 21, 2015 at 6:56 PM, David Nalesnik wrote: > See attached patch. >> >> (Try it out with Harm's function attached above.) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Randomness in layout

2015-08-21 Thread David Nalesnik
On Fri, Aug 21, 2015 at 5:18 PM, tisimst wrote: > > > On 8/21/2015 4:14 PM, David Nalesnik-2 [via Lilypond] wrote: > > Hi, > > On Fri, Aug 21, 2015 at 2:37 PM, David Kastrup <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=179907&i=0>>

Re: Randomness in layout

2015-08-21 Thread David Nalesnik
pies. David From 720b2a7bd29334c1ecb9348c024a381d11253768 Mon Sep 17 00:00:00 2001 From: David Nalesnik Date: Fri, 21 Aug 2015 17:02:13 -0500 Subject: [PATCH] Suicide extra flags --- lily/flag.cc | 6 ++ 1 file changed, 6 insertions(+) diff --git a/lily/flag.cc b/lily/flag.cc index 4b90

Re: Coloring of key signature accidentals based on their pitch

2015-08-21 Thread David Nalesnik
Hi Paul, On Thu, Aug 20, 2015 at 9:26 PM, Paul Morris wrote: > Hi David, > > > On Aug 19, 2015, at 10:27 PM, David Nalesnik > wrote: > > > > Thanks for doing this! (I should have thought to write it this way in > the first place!) > > Glad to! Thanks f

Re: Coloring of key signature accidentals based on their pitch

2015-08-20 Thread David Nalesnik
Hi Paul, On Wed, Aug 19, 2015 at 8:56 PM, Paul Morris wrote: > On Aug 18, 2015, at 9:20 AM, David Nalesnik > wrote: > > In the attached file, I've recoded the print routine in Scheme > > > The attached file contains David’s Scheme recoding with the original C++ >

Re: Coloring of key signature accidentals based on their pitch

2015-08-19 Thread David Nalesnik
On Tue, Aug 18, 2015 at 5:34 PM, David Nalesnik wrote: > > > Something else I can't explain: the spacing appears to be slightly > different between the default and modified stencils in both files. This > only affects the positioning of naturals: Padding should only be a

Re: Coloring of key signature accidentals based on their pitch

2015-08-18 Thread David Nalesnik
On Tue, Aug 18, 2015 at 8:11 PM, Paul Morris wrote: > > On Aug 18, 2015, at 7:13 PM, Thomas Morley > wrote: > > > >> I wonder if this function would better be defined in Scheme than C++. > If > >> someone wanted to do something like you're doing, it wouldn't be a > trivial > >> matter to first r

Re: Coloring of key signature accidentals based on their pitch

2015-08-18 Thread David Nalesnik
Hi, On Tue, Aug 18, 2015 at 3:43 PM, Heikki Junes wrote: > Thanks David! > > Yes, it provides the exactly the desired result! > Glad I could help! See the attached for a completed adaptation. I wonder if this function would better be defined in Scheme than C++. If someone wanted to do someth

Re: Coloring of key signature accidentals based on their pitch

2015-08-18 Thread David Nalesnik
Hi Heikki, On Mon, Aug 17, 2015 at 7:47 AM, Heikki Junes wrote: > > 2015-08-17 15:34 GMT+03:00 David Kastrup : >> >> >> Key signature is a single grob. Your best bet probably is recoding the >> print routine in lily/key-signature-interface.cc in Scheme (it appears >> rather straightforward) and

Re: guile-question: how to do (apply ly:stencil-combine-at-edge args)?

2015-08-18 Thread David Nalesnik
Hi Harm, On Mon, Aug 17, 2015 at 6:44 PM, Thomas Morley wrote: > Hi all, > > I want to "put together" an arbitrary number of stencils, > pseudo-code: > (apply > some-put-together-procedure > stil-list) > > While using `ly:stencil-add', it's quite simple: > > #(define (stils n) > (map >

Re: Text spanner text in the middle

2015-08-14 Thread David Nalesnik
Hi, On Fri, Aug 14, 2015 at 7:11 AM, Malte Meyn wrote: > > One could go even further and have text spanners with not only two or, > with centered text, three but an arbitrary number of texts evenly > distributed over the length of the spanner. > This is a topic that has come up fairly often and

Re: Text spanner text in the middle

2015-08-14 Thread David Nalesnik
Hi, On Fri, Aug 14, 2015 at 4:40 AM, Malte Meyn wrote: > > > Am 14.08.2015 um 04:40 schrieb Andrew Bernard: > >> Hello Ponderers, >> >> I need a custom text spanner with text centred in the middle of the >> spanner. I know you can provide text at the left or the right with the >> bound-details a

Re: Center paper column

2015-08-08 Thread David Nalesnik
Hi Victor, On Sat, Aug 8, 2015 at 11:13 AM, Víctor wrote: > Hello Lilyponders: > > I've already made this question, but now it's lost under a ton of mails, > so I'll ask again: > I can't work with Lilypond for a couple weeks, so hopefully someone else will be able to take a look at this for you

Re: \offset and mutable properties

2015-07-21 Thread David Nalesnik
On Tue, Jul 21, 2015 at 7:43 PM, David Nalesnik wrote: > > > On Tue, Jul 21, 2015 at 6:18 PM, Simon Albrecht > wrote: > >> >> So a ‘mutable property’ would be one that is unset by default? >> > > My understanding is that immutable properties store defa

Re: \offset and mutable properties

2015-07-21 Thread David Nalesnik
On Tue, Jul 21, 2015 at 6:18 PM, Simon Albrecht wrote: > > So a ‘mutable property’ would be one that is unset by default? > My understanding is that immutable properties store default values--such as a procedure to be applied when calculating Stem.thickness or whatever, and immutable propertie

Re: \offset and mutable properties

2015-07-21 Thread David Nalesnik
Hi Simon, On Tue, Jul 21, 2015 at 6:25 PM, Simon Albrecht wrote: > And I forgot to mention: Unfortunately, your offIIb.ly file doesn’t place > the dynamics in the middle of the staff symbol as they should be – probably > because of outside-staff-priority? > > No, the Y-offset callback will retu

Re: \offset and mutable properties

2015-07-21 Thread David Nalesnik
On Tue, Jul 21, 2015 at 3:17 PM, David Nalesnik wrote: (See attached.) > Sorry about the extra brace at the end! ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: \offset and mutable properties

2015-07-21 Thread David Nalesnik
Hi Simon, On Tue, Jul 21, 2015 at 12:26 PM, Simon Albrecht wrote: > Hello, > > while developing a workaround (or solution?) for issue 4316 < > https://code.google.com/p/lilypond/issues/detail?id=4316>, I encountered > the following problem: \offset cannot be used on X and Y offset properties, >

Re: How to combine staccatissimo signs with tremolo repeats

2015-07-01 Thread David Nalesnik
Hi Wim, On Wed, Jul 1, 2015 at 5:18 AM, Wim van Dommelen wrote: > I'm trying to combine the staccatissimo sign(s) (as generated with the -! > articuulation) with a tremolo repeat (with the g2:8 notation). > Possibly you could do something with this snippet: http://lsr.di.unimi.it/LSR/Item?id=77

Re: Nashville notation as chord symbols

2015-06-17 Thread David Nalesnik
One more thing... This one, however, requires a translator object as input. In >> the documentation, I haven't found a proper explanation what exactly >> constitutes a translator object. >> >> A translator is either an engraver or a performer (dealing with MIDI output). David

Re: Nashville notation as chord symbols

2015-06-17 Thread David Nalesnik
Hi Amelie, On Wed, Jun 17, 2015 at 4:52 AM, Amelie Zapf wrote: > Hi all, > > > What's left now is to isolate this function and put it into the other > > code we already have. > > Rather, you need to put your code into an engraver. You then "consist" the engraver to a context. You can't get at

Re: After-line-breaking behavior?

2015-06-16 Thread David Nalesnik
On Tue, Jun 16, 2015 at 5:51 PM, Steven Weber wrote: > Interesting – how did you get the location information? > > > I added (display (grob::rhythmic-location g)) to your function. This is only available in the last few development releases. David __

Re: After-line-breaking behavior?

2015-06-16 Thread David Nalesnik
On Tue, Jun 16, 2015 at 5:30 PM, Thomas Morley wrote: > 2015-06-17 0:12 GMT+02:00 Steven Weber : > > Is there any way to guarantee that the order of items processed through > > after-line-breaking is the exact order they are in the score? I’m doing > > some fun things with bar lines, and I’m hav

Re: Q: How to resize a VaticanaVoice Staff ?

2015-06-15 Thread David Nalesnik
Hi Michael, On Mon, Jun 15, 2015 at 4:40 AM, Michael Gerdau wrote: > Hi list, > > I'm trying to resize a gregorian style engraving. However what works > nicely for "normal" Staffs does not seem to work for gregorian. > > See the following example: > <-- snip -- snip -- snip -- snip --> > \versio

Re: Problem with shaping chord ties held over several measures

2015-06-06 Thread David Nalesnik
Hi Knute, On Sat, Jun 6, 2015 at 7:38 PM, Colin Campbell wrote: > On 2015-06-06 06:21 PM, Knute Snortum wrote: > >> Hello LilyPonders, >> >> I'm having a problem shaping ties of chords after more than one measure. >> I have an internal voice that comes in on the third measure and the ties go >>

Re: Center note column bug

2015-06-05 Thread David Nalesnik
Hi Victor, On Fri, Jun 5, 2015 at 11:10 AM, Víctor wrote: > Hi David, > > I've been using your new function to center paper column of notes, > however, under certain circumstances a bug appears. > Thanks again for all the help, I hope this can be fixed without much > trouble. > That's a proble

Re: Dynamic mark at the end of a bar

2015-06-02 Thread David Nalesnik
Hi David, On Tue, Jun 2, 2015 at 10:47 AM, David Sumbler wrote: > Thanks to all for your consideration of the problem I have been having > in placing a dynamic at the end of a bar. > > Stephen's 2 solutions are quite effective in some cases, but so far as I > can see cannot be made to work when

Re: VoltaBracket flipped vertically

2015-05-31 Thread David Nalesnik
Hi, On Sun, May 31, 2015 at 10:20 AM, Thomas Morley wrote: > 2015-05-26 18:09 GMT+02:00 Thomas Morley : > > 2012-12-19 16:15 GMT+01:00 Daniel Rosen : > >> I'm trying to get VoltaBrackets to appear both above and below the > Score. I've come up with the solution below, which works quite well, but

Re: Center note column bug

2015-05-31 Thread David Nalesnik
Hi Victor, On Sun, May 31, 2015 at 8:51 AM, Víctor wrote: > > El 31/05/15 a las 08:43, David Nalesnik escibió: > >> Hi Victor, >> >> Yes, you do. However, the second version I posted should work with >> earlier versions as I factored out ly:item-get-column.

Re: Center note column bug

2015-05-31 Thread David Nalesnik
Hi Victor, On Sun, May 31, 2015 at 8:29 AM, Víctor wrote: > Hello again, > > I've tried your solution, but I get this error: > > Dibujando los sistemas... > /tmp/frescobaldi-Fwsk3s/tmpR0qdla/document.ly:6:22 : In > expression (ly:item-get-column grob): > > /tmp/frescobaldi-Fwsk3s/tmpR0qdla/docu

Re: Center note column bug

2015-05-30 Thread David Nalesnik
Hi, > > El 30/05/15 a las 13:31, Thomas Morley escibió: > >> >> I'd deprecate the old one! >> > Well, this one doesn't have quite the same amount of testing so you'd best keep it around! Attached you'll find a more streamlined version. Note that it's now an override of PaperColumn, not NoteColum

Re: Color note heads outside nominal instrument range

2015-05-30 Thread David Nalesnik
Hi, Am 30.05.2015 um 12:38 schrieb Peter Gentry: > >> >> FWIW >> >> I have attached a slightly simplified and better version of >> instrument_ranges.ly >> > >> Have you seen http://lsr.di.unimi.it/LSR/Item?id=773? David ___ lilypond-user mailing list li

Re: Center note column bug

2015-05-30 Thread David Nalesnik
Hi Victor, On Fri, May 29, 2015 at 5:34 PM, Víctor wrote: > I've been using "center note column" function written by Thomas Morley, > for some time now, and today I've spotted a bug. Notice the position of the > dots in the last measure. > > I hope this can be fixed. > Regards. Víctor. > > I don

Re: Dynamic mark at the end of a bar

2015-05-28 Thread David Nalesnik
Hi Simon, On Thu, May 28, 2015 at 2:28 AM, Simon Albrecht wrote: This sounds like a usecase for \afterGrace. I cooked up a music function > for that, which works quite fine. Does that help you? > > This is nice. I should point out that \afterGrace places the grace notes using SimultaneousMusic

Re: Notehead color on programmed pitch change

2015-05-28 Thread David Nalesnik
On Thu, May 28, 2015 at 6:43 AM, Peter Gentry wrote: > Thankyou David but how is color associated with NoteHead? > > I hope these ramblings of a gnarled old scheme/Lily tyro can be of general > interest > > I'm guessing that 'tweaks is some sort of switch to open up properties of > the cur

Re: Dynamic mark at the end of a bar

2015-05-27 Thread David Nalesnik
On Wed, May 27, 2015 at 5:19 PM, Mats Bengtsson wrote: As has already been discussed, the question is what the musical meaning of > such a notation would be. Certainly, I can think of printed music, not to > mention hand-written manuscripts, where dynamic marks are placed far from > the note they

Re: Dynamic mark at the end of a bar

2015-05-27 Thread David Nalesnik
Hi David, On Wed, May 27, 2015 at 3:03 PM, David Sumbler wrote: > > > > But both of these are "work-arounds" for something which is actually > fairly normal musical notation. They are work-arounds because one > method implies that a note is not really the length that it appears to > be, and the

Re: Notehead color on programmed pitch change

2015-05-27 Thread David Nalesnik
On Wed, May 27, 2015 at 4:15 AM, Peter Gentry wrote: [...] > (make-music > 'SequentialMusic > 'elements > (list (make-music > 'NoteEvent > 'duration > (ly:make-duration 0) > 'pitch > (ly:make-pitch 0 0)) > (make-music > '

Re: Dynamic mark at the end of a bar

2015-05-26 Thread David Nalesnik
Hi David, On Tue, May 26, 2015 at 10:32 AM, David Sumbler wrote: > I often use 's1*0\!' to end a hairpin just before a barline. > > But how can a get a dynamic mark (e.g. 'ff') to appear at the end of a > bar? In the following example, the first hairpin behaves as I want. > The second one ends

Re: time signature magic

2015-05-23 Thread David Nalesnik
Alex, On Sat, May 23, 2015 at 6:08 PM, Alex Jones wrote: > This worked like a charm, thanks to everyone! > > Great! Thought of something. Why specify the numbers of the time signature in effect? Not that it saves much time, but you could do this for a slightly shorter input: #(define ((time

Re: time signature magic

2015-05-23 Thread David Nalesnik
Hi Alex, On Sat, May 23, 2015 at 5:41 PM, Alex Jones wrote: > Thank you, this works! > > It does look a little clunky. > I agree--there's too much space. A simple fix is to use \concat, which puts items directly beside each other, instead of \line in the original function: \version "2.18" #(

Re: a proper whiteout function

2015-05-18 Thread David Nalesnik
On Mon, May 18, 2015 at 1:14 PM, David Nalesnik wrote: > Hi Paul, > > On Mon, May 18, 2015 at 1:10 PM, Paul Morris wrote: > >> > On May 18, 2015, at 3:59 AM, Wilbert Berendsen wrote: >> > >> > this looks very nice! One thing I notice is that the size o

Re: a proper whiteout function

2015-05-18 Thread David Nalesnik
Hi Paul, On Mon, May 18, 2015 at 1:10 PM, Paul Morris wrote: > > On May 18, 2015, at 3:59 AM, Wilbert Berendsen wrote: > > > > this looks very nice! One thing I notice is that the size of the > > objects changes, influencing the spacing. But that's probably easy to > > fix. > > Thanks! Yes I n

Re: opinions?

2015-05-18 Thread David Nalesnik
On Mon, May 18, 2015 at 9:42 AM, Stephen MacNeil wrote: > Luca > Thanks for the help. I couldn't get minimum-length to do anything, however > I was able to solve the problem using a modified version of shapeSlur (is > that the predecessor of shape?) in conjunction with other things, > > It is, bu

<    1   2   3   4   5   6   7   8   9   10   >