Re: Text centralized above a TextSpan

2015-09-23 Thread Simon Albrecht
On 23.09.2015 01:20, David Kastrup wrote: Simon Albrecht writes: 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? (I hope there wouldn’t be any merge

Re: Text centralized above a TextSpan

2015-09-22 Thread Trevor Daniels
David Nalesnik wrote Monday, September 21, 2015 5:13 PM > 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. ... and hardly any need for the

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

Re: Text centralized above a TextSpan

2015-09-22 Thread Simon Albrecht
On 21.09.2015 18:13, David Nalesnik wrote: On Mon, Sep 21, 2015 at 8:41 AM, David Kastrup > wrote: David Nalesnik > writes: > Here's a preliminary experiment with using \lyricmode as

Re: Text centralized above a TextSpan

2015-09-22 Thread Simon Albrecht
On 22.09.2015 22:03, Trevor Daniels wrote: David Nalesnik wrote Monday, September 21, 2015 5:13 PM 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. ... and hardly

Re: Text centralized above a TextSpan

2015-09-22 Thread David Kastrup
Simon Albrecht writes: > 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? > (I hope there wouldn’t be any merge conflicts here…) > However, I’m

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 =

Re: Text centralized above a TextSpan

2015-09-21 Thread David Kastrup
Simon Albrecht writes: > On 19.09.2015 22:48, David Kastrup wrote: >> However, (re-)using engravers for the "picking apart" bit in a context >> without its own vertical axis group might be an interesting option. >> Want several text spanners? Use several contexts. > >

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 > > wrote: >> >> >> OK, I see. Using

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

Re: Text centralized above a TextSpan

2015-09-21 Thread Simon Albrecht
On 21.09.2015 15:04, David Nalesnik wrote: Hi, On Sat, Sep 19, 2015 at 7:09 PM, David Nalesnik > wrote: OK, I see. Using \lyricmode would be a user-friendly way to specify markups/strings, connectors/no connectors, and

Re: Text centralized above a TextSpan

2015-09-21 Thread David Kastrup
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 function. New tricks, old dog.) In Germany, there is a sort of New Year's Eve tradition

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,

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 mention that

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 function.

Re: Text centralized above a TextSpan

2015-09-21 Thread David Kastrup
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've pared this down to ask a question. > > Is it possible to avoid needing to

Re: Text centralized above a TextSpan

2015-09-21 Thread David Kastrup
Michael Gerdau writes: >> Hastening the end of the sketch? ;) > > For those not knowing this classic, here is a YT link of not too good > quality but which does transport the important parts: > https://www.youtube.com/watch?v=NDqD0Dz_J-M Ah, the Swiss recording. It's rather

Re: Text centralized above a TextSpan

2015-09-21 Thread Michael Gerdau
> Hastening the end of the sketch? ;) For those not knowing this classic, here is a YT link of not too good quality but which does transport the important parts: https://www.youtube.com/watch?v=NDqD0Dz_J-M Kind regards, Michael -- Michael Gerdau email: m...@qata.de GPG-keys available on

Re: Text centralized above a TextSpan

2015-09-20 Thread Simon Albrecht
On 19.09.2015 22:48, David Kastrup wrote: However, (re-)using engravers for the "picking apart" bit in a context without its own vertical axis group might be an interesting option. Want several text spanners? Use several contexts. This reminds me: the ‘standard’ use case for this kind of text

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!

Re: Text centralized above a TextSpan

2015-09-19 Thread Trevor Daniels
David Nalesnik wrote Saturday, September 19, 2015 7:14 PM On Sat, Sep 19, 2015 at 12:10 PM, David Kastrup wrote: > "Trevor Daniels" writes: > >> http://www.lilypond.org/doc/v2.19/Documentation/notation/opera-and-stage-musicals#dialogue-over-music >> >> I'd

Re: Text centralized above a TextSpan

2015-09-19 Thread Kieren MacMillan
Hi Trevor (et al.), > Actually for the purpose I had in mind (words over music but spoken and out > of rhythm) > we wouldn't need a spanner line, just the spaced-out text. After David N. made his wonderful MeasureAttachedSpanner for me, we spoke (briefly) of how it might be taken “to the goal

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

Re: Text centralized above a TextSpan

2015-09-19 Thread David Nalesnik
d like to see this developed and added to LP core. > > > > Trevor > > > > - Original Message - > > From: David Nalesnik > > To: Simon Albrecht > > Cc: lilypond-user > > Sent: Friday, September 18, 2015 11:58 PM > >

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

Re: Text centralized above a TextSpan

2015-09-19 Thread Kieren MacMillan
Hi David, > Alright! This should do it… Amazing! (As always…) > 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 the text)? > P.S. One area of further

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

Re: Text centralized above a TextSpan

2015-09-19 Thread Kieren MacMillan
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 0.0875 is right.) > For consistency, I renamed 'line-offset to 'line-X-offset. Makes sense. Thanks again,

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

Re: Text centralized above a TextSpan

2015-09-19 Thread David Kastrup
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 want a connector line? Don't write a hyphen. > Etc.) Actually, we might have had

Re: Text centralized above a TextSpan

2015-09-19 Thread Kieren MacMillan
Hi Trevor (et al.), > This looks potentially very useful for adding spoken words which need to be > said during a passage of music, often required in musical theatre. If we do this, let’s do it right… I’m willing to pay some sponsorship for it. Cheers, Kieren.

Re: Text centralized above a TextSpan

2015-09-19 Thread Trevor Daniels
#dialogue-over-music I'd like to see this developed and added to LP core. 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 Hi, Alright

Re: Text centralized above a TextSpan

2015-09-19 Thread David Kastrup
t; From: David Nalesnik > To: Simon Albrecht > Cc: lilypond-user > Sent: Friday, September 18, 2015 11:58 PM > Subject: Re: Text centralized above a TextSpan > > > Hi, > > > Alright! This should do it... > > > You can: > > > --A

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

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

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

Re: Text centralized above a TextSpan

2015-09-14 Thread BB
Tried to compile with version 2.19.25 .../tmp/frescobaldi-6V3LoT/tmpI8U_qS/text-spanner-centered-text.ly:152:20 <0>: In expression (ly:line-interface::line grob (caar exts) ...): /tmp/frescobaldi-6V3LoT/tmpI8U_qS/text-spanner-centered-text.ly:152:20 <1>: Unbound variable:

Re: Text centralized above a TextSpan

2015-09-14 Thread Simon Albrecht
David, This is tremendous! Thank you very much. This should definitely make it’s way into the official installation once it’s reasonably finished. Yours, Simon Am 14.09.2015 um 14:22 schrieb David Nalesnik: On Sun, Sep 6, 2015 at 12:17 PM, David Nalesnik

Re: Text centralized above a TextSpan

2015-09-14 Thread Simon Albrecht
Am 14.09.2015 um 14:34 schrieb BB: Tried to compile with version 2.19.25 .../tmp/frescobaldi-6V3LoT/tmpI8U_qS/text-spanner-centered-text.ly:152:20 <0>: In expression (ly:line-interface::line grob (caar exts) ...): /tmp/frescobaldi-6V3LoT/tmpI8U_qS/text-spanner-centered-text.ly:152:20 <1>:

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/archive/html/lilypond-user/2013-05/msg00405.html >>> >>> >> This looks ok, but

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-03 Thread Caio Giovaneti de Barros
On 02-09-2015 10:08, Andrew Bernard wrote: I am not sure how long you may have been following things, but this topic came up for me recently, and there is various discussion in the archives. Yes, I made a search through the list the best I could, but I didn't find this (maybe the titles

Re: Text centralized above a TextSpan

2015-09-02 Thread Andrew Bernard
Hi Caio, Welcome to the list. I am not sure how long you may have been following things, but this topic came up for me recently, and there is various discussion in the archives. In a nutshell, the answer is not really. It’s possible of course, but can it be done simply and easily, that’s the

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 ___