Re: Automatic lyric extenders

2020-08-19 Thread Jon Arnold
gt; Hi all- > > > > I was trying to find if it was possible to do lyric extensions > automatically, and found this thread: > http://lilypond.1069038.n5.nabble.com/Automatic-Lyric-Extenders-td198194.html > > > > Did anything ever come of this project? The workaround in tha

Re: Automatic lyric extenders

2020-08-18 Thread Fr. Samuel Springuel
> On 17 Aug, 2020, at 5:27 PM, Jon Arnold wrote: > > Hi all- > > I was trying to find if it was possible to do lyric extensions automatically, > and found this thread: > http://lilypond.1069038.n5.nabble.com/Automatic-Lyric-Extenders-td198194.html > > Did anythin

Automatic lyric extenders

2020-08-17 Thread Jon Arnold
Hi all- I was trying to find if it was possible to do lyric extensions automatically, and found this thread: http://lilypond.1069038.n5.nabble.com/Automatic-Lyric-Extenders-td198194.html Did anything ever come of this project? The workaround in that thread throws an error for me. I have a

Re: extenders over bar lines in 2.19.55 [was: Automatic Lyric Extenders]

2017-02-20 Thread Gerdau, Michael
> `extendersOverRest` is a context property (not a grob property). In a > case, where I faced this bug, I used successfully: > > %%% > \layout { >\context { > \Lyrics > extendersOverRests = ##t >} > } > %%% Thank you, that's what I was looking for :) Kind regards, Michael -- M

Re: extenders over bar lines in 2.19.55 [was: Automatic Lyric Extenders]

2017-02-19 Thread Jan-Peter Voigt
... this is almost OK. Try \set Lyrics.extendersOverRests = ##t HTH Jan-Peter Am 20.02.2017 um 07:30 schrieb Gerdau, Michael: \set LyricExtender.extendersOverRest = ##t ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mai

Re: extenders over bar lines in 2.19.55 [was: Automatic Lyric Extenders]

2017-02-19 Thread Jan-Peter Voigt
Hello Michael, `extendersOverRest` is a context property (not a grob property). In a case, where I faced this bug, I used successfully: %%% \layout { \context { \Lyrics extendersOverRests = ##t } } %%% HTH Jan-Peter Am 20.02.2017 um 07:30 schrieb Gerdau, Michael: [LyricExtender

Re: extenders over bar lines in 2.19.55 [was: Automatic Lyric Extenders]

2017-02-19 Thread Gerdau, Michael
[LyricExtender having changed their default behavior in 2.19.55] > This is a consequence of > > commit 6c6d1f6ac9e6a7a9aba760dcbb41b4fbbc8f0536 > Author: David Kastrup > Date: Sat Feb 4 14:43:47 2017 +0100 > > Issue 5053/2: Fix extendersOverRests property > > This previously beha

Re: extenders over bar lines in 2.19.55 [was: Automatic Lyric Extenders]

2017-02-19 Thread David Kastrup
Michael Gerdau writes: > Am 18.02.2017 um 21:15 schrieb Alexander Kobel: >> [Bug report summary:] >> >> Extenders are not drawn anymore for melismata that include notes that >> are not bar-aligned, starting somewhere between 2.19.50 and 2.19.55. >> M(N)WE attached - the first and second score sh

Re: extenders over bar lines in 2.19.55 [was: Automatic Lyric Extenders]

2017-02-19 Thread Michael Gerdau
Am 18.02.2017 um 21:15 schrieb Alexander Kobel: > [Bug report summary:] > > Extenders are not drawn anymore for melismata that include notes that > are not bar-aligned, starting somewhere between 2.19.50 and 2.19.55. > M(N)WE attached - the first and second score should have extenders until > the

Re: extenders over bar lines in 2.19.55 [was: Automatic Lyric Extenders]

2017-02-19 Thread Davide Liessi
2017-02-18 21:15 GMT+01:00 Alexander Kobel : > Extenders are not drawn anymore for melismata that include notes that are > not bar-aligned, starting somewhere between 2.19.50 and 2.19.55. M(N)WE > attached - the first and second score should have extenders until the last > note. All extenders are

extenders over bar lines in 2.19.55 [was: Automatic Lyric Extenders]

2017-02-18 Thread Alexander Kobel
[Bug report summary:] Extenders are not drawn anymore for melismata that include notes that are not bar-aligned, starting somewhere between 2.19.50 and 2.19.55. M(N)WE attached - the first and second score should have extenders until the last note. Hi Michael, On 2017-02-18 18:59, Michael

Re: Automatic Lyric Extenders

2017-02-18 Thread Michael Gerdau
> I actually meant using an include file like the attached and not having > to add the music function locally at all. Since this include file had been posted I've been using it with great pleasure and like it very much. There is one problem I'd like to vanish. It seems extender lines stop at the

Re: Automatic Lyric Extenders

2016-12-20 Thread Br. Samuel Springuel
On 2016-12-20 5:04 AM, Alexander Kobel wrote: Great. Just out of curiosity (and because we need to pick a default of the equivalent variable for the release version at some point): which value for minimum-length did you prefer? I'm using 0 at the moment. I may lengthen that later, but I genera

Re: Automatic Lyric Extenders

2016-12-20 Thread Alexander Kobel
On 2016-12-20 02:44, Br. Samuel Springuel wrote: On 2016-12-19 6:27 PM, Simon Albrecht wrote: I actually meant using an include file like the attached and not having to add the music function locally at all. Beautiful - didn't know that this was possible at all. #(set! toplevel-music-functio

Re: Automatic Lyric Extenders

2016-12-19 Thread Br. Samuel Springuel
On 2016-12-19 6:27 PM, Simon Albrecht wrote: I actually meant using an include file like the attached and not having to add the music function locally at all. This is definitely an idea I like, as it means I'm less likely to forget it as I continue to add to the project and will make it easie

Re: Automatic Lyric Extenders

2016-12-19 Thread Simon Albrecht
On 19.12.2016 23:48, Alexander Kobel wrote: Maybe the autoextenders function could be added to toplevel-music-functions (a list of functions which will be applied to all music in the score). [...] Simon, very good catch. Indeed this will work; \autoextenders only touches lyrics. Replace \ne

Re: Automatic Lyric Extenders

2016-12-19 Thread Alexander Kobel
Hi again Samuel, great that you find it useful. Yes, the minimum-length is well-tweakable; the default will likely be different in the "final" version. This version for killing extenders is my old and home-grown solution for my use cases and by no means optimized. It's not been long since Jor

Re: Automatic Lyric Extenders

2016-12-19 Thread Simon Albrecht
On 19.12.2016 23:18, Br. Samuel Springuel wrote: It'll take a bit to apply the autoextenders to all my scores in this project, Maybe the autoextenders function could be added to toplevel-music-functions (a list of functions which will be applied to all music in the score). You should be able

Re: Automatic Lyric Extenders

2016-12-19 Thread Br. Samuel Springuel
I've included the files as instructed and it seems to be working fine when applied to the first case. I did need to tweak LyricExtender.minimum-length, as I wanted them to show up more often than they were, but a simple override in my score fixed that nicely (I assume that I'll need to keep th

Re: Automatic Lyric Extenders

2016-12-19 Thread Alexander Kobel
On 2016-12-19 21:09, Br. Samuel Springuel wrote: Is there a way to get lyric extenders to appear automatically when lyrics have been applied to a voice using `\lyricsto`? I know how to manually get them to appear (with `__`), but I'm wondering if there is a simple setting that can be changed in

Automatic Lyric Extenders

2016-12-19 Thread Br. Samuel Springuel
Is there a way to get lyric extenders to appear automatically when lyrics have been applied to a voice using `\lyricsto`? I know how to manually get them to appear (with `__`), but I'm wondering if there is a simple setting that can be changed in an included style file that would allow me to m

Re: Automatic lyric extenders

2016-12-14 Thread Alexander Kobel
On 2016-12-14 11:03, Urs Liska wrote: Am 14.12.2016 um 10:45 schrieb Alexander Kobel: On 2016-12-14 07:50, Knut Petersen wrote: Hi Alexander! add-lyric-extenders = #(define-music-function (parser location lyrics) (ly:music?) You don't need "parser location". Hi Knut, I think I do - see

Re: Automatic lyric extenders

2016-12-14 Thread Alexander Kobel
On 2016-12-14 07:12, Knut Petersen wrote: Am 13.12.2016 um 22:43 schrieb Alexander Kobel: On 2016-12-12 13:48, Knut Petersen wrote: Hi everybody! Please test and comment, patch and examples attached. Hi Knut, works beautifully, as far as your code is concerned. But I found a bug in my funct

Re: Automatic lyric extenders

2016-12-14 Thread Urs Liska
Am 14.12.2016 um 10:45 schrieb Alexander Kobel: > On 2016-12-14 07:50, Knut Petersen wrote: >> Hi Alexander! >> >>> add-lyric-extenders = >>> #(define-music-function (parser location lyrics) (ly:music?) >> >> You don't need "parser location". > > Hi Knut, > > I think I do - see the post on lily-d

Re: Automatic lyric extenders

2016-12-14 Thread Alexander Kobel
On 2016-12-14 07:50, Knut Petersen wrote: Hi Alexander! add-lyric-extenders = #(define-music-function (parser location lyrics) (ly:music?) You don't need "parser location". Hi Knut, I think I do - see the post on lily-devel. AFAIK, the type check (here: ly:music?) is applied to the third

Re: Automatic lyric extenders

2016-12-13 Thread Knut Petersen
Hi Alexander! add-lyric-extenders = #(define-music-function (parser location lyrics) (ly:music?) You don't need "parser location". cu, Knut ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Automatic lyric extenders

2016-12-13 Thread Knut Petersen
Am 13.12.2016 um 22:43 schrieb Alexander Kobel: On 2016-12-12 13:48, Knut Petersen wrote: Hi everybody! Please test and comment, patch and examples attached. Hi Knut, works beautifully, as far as your code is concerned. But I found a bug in my function (add-lyric-extenders): Unintuitively,

Re: Automatic lyric extenders

2016-12-13 Thread Alexander Kobel
On 2016-12-12 13:48, Knut Petersen wrote: Hi everybody! Please test and comment, patch and examples attached. Hi Knut, works beautifully, as far as your code is concerned. But I found a bug in my function (add-lyric-extenders): Unintuitively, adding an extender after _ makes extenders disap

Automatic lyric extenders

2016-12-12 Thread Knut Petersen
Hi everybody! Please test and comment, patch and examples attached. Cheers, Knut >From 456cee254df6133a611f108d2e9ca3671b01886f Mon Sep 17 00:00:00 2001 From: Knut Petersen Date: Mon, 12 Dec 2016 13:13:13 +0100 Subject: [PATCH] Enhance and clean lyric-extender.cc, add force-extender property