Re: parameters in lyrics?

2015-12-18 Thread Graham King
With apologies for continuing to flog this subject... I've taken David Kastrup's advice, and upgraded to 2.19.32, and I might now be able to simplify this problem quite radically, and eliminate some limitations, with a small change of syntax. Below is the germ of the idea. The thing I'm missing

Re: parameters in lyrics?

2015-12-18 Thread David Kastrup
Graham King writes: > With apologies for continuing to flog this subject... > > I've taken David Kastrup's advice, and upgraded to 2.19.32, and I might > now be able to simplify this problem quite radically, and eliminate some > limitations, with a small change of

Re: parameters in lyrics?

2015-12-18 Thread David Kastrup
Graham King writes: > thanks David, > I guess I'm flogging a dead horse, More like an unborn horse. > at least until my understanding is much deeper. I'm really grateful > for your explanation though. -- David Kastrup ___

Re: parameters in lyrics?

2015-12-18 Thread Graham King
thanks David, I guess I'm flogging a dead horse, at least until my understanding is much deeper. I'm really grateful for your explanation though. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: parameters in lyrics?

2015-12-16 Thread David Kastrup
Simon Albrecht writes: > Hello Graham, > > allow me to advertise a feature recently (though before 2.19.21, which > you were using) introduced by David K.: Music functions may now > directly be called as Scheme procedures, so > #{ \italic #syllable #} > may be replaced

Re: parameters in lyrics?

2015-12-16 Thread Simon Albrecht
Hello Graham, allow me to advertise a feature recently (though before 2.19.21, which you were using) introduced by David K.: Music functions may now directly be called as Scheme procedures, so #{ \italic #syllable #} may be replaced with the much more elegant (italic syllable) !!! Revised

Re: parameters in lyrics?

2015-12-16 Thread Graham King
Many thanks to both Davids for their help. In case anyone is remotely interested, here is the working result. There is still a niggling issue with lyrics that are both coloured and editorial, but I can live with that for the time being. -- Graham \version "2.19.21" %{ Allow editorial additions

Re: parameters in lyrics?

2015-12-16 Thread David Kastrup
Graham King writes: > > 143:9: In expression ((# parser " > \\openBracket #syllable " ...)): > > /Users/grahamk/Documents/lilypond/music/testbed/lyric_markup_test2.ly:143:9: > Wrong type to apply: #

Re: parameters in lyrics?

2015-12-16 Thread Graham King
I've finally got back to this problem, and have tried to write a wrapper around Simon's code. However, I now find myself at that peculiarly humiliating stage of grappling with Scheme code, in which one's increasingly-desperate random changes to punctuation are beginning to go round in circles.

Re: parameters in lyrics?

2015-12-16 Thread David Nalesnik
On Wed, Dec 16, 2015 at 9:32 AM, Graham King wrote: > I've finally got back to this problem, and have tried to write a wrapper > around Simon's code. However, I now find myself at that peculiarly > humiliating stage of grappling with Scheme code, in which one's >

Re: parameters in lyrics?

2015-12-04 Thread Simon Albrecht
On 03.12.2015 18:04, David Nalesnik wrote: On Thu, Dec 3, 2015 at 10:54 AM, David Nalesnik > wrote: Hi, On Thu, Dec 3, 2015 at 10:35 AM, Urs Liska > wrote:

Re: parameters in lyrics?

2015-12-04 Thread David Kastrup
Graham King writes: > You've given me another insight into lilypond's internals. The > learning process is a bit discombobulating: perhaps "internals" is the > right word; it feels a bit like the old description of learning > surgery ("see one, do one, teach one.").

Re: parameters in lyrics?

2015-12-04 Thread Graham King
Urs, David, Simon: many thanks. I think I can see a way ahead for new scores. (Migrating old scores will require some editing to change \end from a postfix operator to a prefix operator.) You've given me another insight into lilypond's internals. The learning process is a bit

Re: parameters in lyrics?

2015-12-04 Thread Graham King
On Fri, 2015-12-04 at 12:05 +0100, David Kastrup wrote: > Graham King writes: > > > You've given me another insight into lilypond's internals. The > > learning process is a bit discombobulating: perhaps "internals" is the > > right word; it feels a bit like the old

Re: parameters in lyrics?

2015-12-04 Thread Urs Liska
Am 04.12.2015 um 09:13 schrieb Simon Albrecht: > On 03.12.2015 18:04, David Nalesnik wrote: >> >> >> On Thu, Dec 3, 2015 at 10:54 AM, David Nalesnik >> > wrote: >> >> Hi, >> >> On Thu, Dec 3, 2015 at 10:35 AM, Urs Liska

Re: parameters in lyrics?

2015-12-03 Thread Urs Liska
Am 03.12.2015 um 15:04 schrieb Graham King: > I'm trying to enclose some lyrics within square brackets but, for > reasons too tedious to trouble the list with*, I'd like to > parameterise the brackets using the \foo and \fooEnd constructs in the > following pseudocode. Is there a way to do this

parameters in lyrics?

2015-12-03 Thread Graham King
I'm trying to enclose some lyrics within square brackets but, for reasons too tedious to trouble the list with*, I'd like to parameterise the brackets using the \foo and \fooEnd constructs in the following pseudocode. Is there a way to do this without causing "[" and "]" to be set as separate

Re: parameters in lyrics?

2015-12-03 Thread David Nalesnik
On Thu, Dec 3, 2015 at 10:54 AM, David Nalesnik wrote: > Hi, > > On Thu, Dec 3, 2015 at 10:35 AM, Urs Liska wrote: > >> >> >> Am 03.12.2015 um 17:30 schrieb Graham King: >> >> On Thu, 2015-12-03 at 17:12 +0100, Urs Liska wrote: >> >> >> >> Am

Re: parameters in lyrics?

2015-12-03 Thread Graham King
On Thu, 2015-12-03 at 17:12 +0100, Urs Liska wrote: > > > > Am 03.12.2015 um 17:10 schrieb Graham King: > > > > > On Thu, 2015-12-03 at 16:57 +0100, Urs Liska wrote: > > > > > Ah, forgot: the ending function would also have to be written > > > before the syllable, so > > > > > > Three \foo

Re: parameters in lyrics?

2015-12-03 Thread David Nalesnik
On Thu, Dec 3, 2015 at 11:04 AM, David Nalesnik wrote: > > > On Thu, Dec 3, 2015 at 10:54 AM, David Nalesnik > wrote: > >> Hi, >> >> On Thu, Dec 3, 2015 at 10:35 AM, Urs Liska wrote: >> >>> >>> > Maybe I'm missing

Re: parameters in lyrics?

2015-12-03 Thread Urs Liska
Am 03.12.2015 um 17:30 schrieb Graham King: > On Thu, 2015-12-03 at 17:12 +0100, Urs Liska wrote: >> >> >> Am 03.12.2015 um 17:10 schrieb Graham King: >> >>> On Thu, 2015-12-03 at 16:57 +0100, Urs Liska wrote: Ah, forgot: the ending function would also have to be written before the

Re: parameters in lyrics?

2015-12-03 Thread David Nalesnik
Hi, On Thu, Dec 3, 2015 at 10:35 AM, Urs Liska wrote: > > > Am 03.12.2015 um 17:30 schrieb Graham King: > > On Thu, 2015-12-03 at 17:12 +0100, Urs Liska wrote: > > > > Am 03.12.2015 um 17:10 schrieb Graham King: > > On Thu, 2015-12-03 at 16:57 +0100, Urs Liska wrote: > >

Re: parameters in lyrics?

2015-12-03 Thread Graham King
On Thu, 2015-12-03 at 15:12 +0100, Urs Liska wrote: > > > > Am 03.12.2015 um 15:04 schrieb Graham King: > > > > > I'm trying to enclose some lyrics within square brackets but, for > > reasons too tedious to trouble the list with*, I'd like to > > parameterise the brackets using the \foo and

Re: parameters in lyrics?

2015-12-03 Thread Urs Liska
Am 03.12.2015 um 16:19 schrieb Graham King: > On Thu, 2015-12-03 at 15:12 +0100, Urs Liska wrote: >> >> >> Am 03.12.2015 um 15:04 schrieb Graham King: >> >>> I'm trying to enclose some lyrics within square brackets but, for >>> reasons too tedious to trouble the list with*, I'd like to >>>

Re: parameters in lyrics?

2015-12-03 Thread Urs Liska
Am 03.12.2015 um 16:57 schrieb Urs Liska: > > > Am 03.12.2015 um 16:24 schrieb Urs Liska: >> >> >> Am 03.12.2015 um 16:19 schrieb Graham King: >>> On Thu, 2015-12-03 at 15:12 +0100, Urs Liska wrote: Am 03.12.2015 um 15:04 schrieb Graham King: > I'm trying to enclose some

Re: parameters in lyrics?

2015-12-03 Thread Graham King
On Thu, 2015-12-03 at 16:57 +0100, Urs Liska wrote: > Ah, forgot: the ending function would also have to be written before > the syllable, so > > Three \foo deaf and \bar blind mice are \foobar alive. > > should return > > Three [deaf and blind] mice are [alive] > Uh, no. I'd like it to

Re: parameters in lyrics?

2015-12-03 Thread Urs Liska
Am 03.12.2015 um 16:24 schrieb Urs Liska: > > > Am 03.12.2015 um 16:19 schrieb Graham King: >> On Thu, 2015-12-03 at 15:12 +0100, Urs Liska wrote: >>> >>> >>> Am 03.12.2015 um 15:04 schrieb Graham King: >>> I'm trying to enclose some lyrics within square brackets but, for reasons too

Re: parameters in lyrics?

2015-12-03 Thread Urs Liska
Am 03.12.2015 um 17:10 schrieb Graham King: > On Thu, 2015-12-03 at 16:57 +0100, Urs Liska wrote: >> Ah, forgot: the ending function would also have to be written before >> the syllable, so >> >> Three \foo deaf and \bar blind mice are \foobar alive. >> >> should return >> >> Three [deaf and