Re: Making lyrics quicker

2020-08-11 Thread David Kastrup
Paul McKay writes: >> On Tue, 11 Aug 2020, 17:53 David Kastrup, wrote: >> >>> Paul McKay writes: >>> >>> > Hi Aaron. >>> > Many thanks for this. I can now write functions like this: >>> > mock = #(define-music-function >>> >( punct) >>> >( markup?) >>> >#{ \addPunct \lyricmode { He

Re: Making lyrics quicker

2020-08-11 Thread Paul McKay
Cool! Thanks On Tue, 11 Aug 2020, 17:53 David Kastrup, wrote: > Paul McKay writes: > > > Hi Aaron. > > Many thanks for this. I can now write functions like this: > > mock = #(define-music-function > >( punct) > >( markup?) > >#{ \addPunct \lyricmode { He mock -- eth at us } $punct #

Re: Making lyrics quicker

2020-08-11 Thread David Kastrup
Paul McKay writes: > Hi Aaron. > Many thanks for this. I can now write functions like this: > mock = #(define-music-function >( punct) >( markup?) >#{ \addPunct \lyricmode { He mock -- eth at us } $punct #}) That one's just mock = \addPunct \lyricmode { He mock -- eth at us } \etc

Re: Making lyrics quicker

2020-08-11 Thread Paul McKay
Hi Aaron. Many thanks for this. I can now write functions like this: mock = #(define-music-function ( punct) ( markup?) #{ \addPunct \lyricmode { He mock -- eth at us } $punct #}) and sopranoVerse = \lyricmode { \mock ; \mock ! } Ace! On Tue, 11 Aug 2020 at 10:03, Aaron Hill wrote: > On

Re: Making lyrics quicker

2020-08-11 Thread Aaron Hill
On 2020-08-11 1:57 am, Aaron Hill wrote: On 2020-08-11 1:48 am, Aaron Hill wrote: (last (car (take-right elts 1))) And in my haste to reply, I overlooked simplifying the car/take-right 1 to being just a call to the SRFI-1 "last" procedure: (last (last elts)) Though, I pro

Re: Making lyrics quicker

2020-08-11 Thread Aaron Hill
On 2020-08-11 1:48 am, Aaron Hill wrote: (last (car (take-right elts 1))) And in my haste to reply, I overlooked simplifying the car/take-right 1 to being just a call to the SRFI-1 "last" procedure: (last (last elts)) Though, I probably should pick a better local variabl

Re: Making lyrics quicker

2020-08-11 Thread Aaron Hill
On 2020-08-11 1:08 am, Paul McKay wrote: I'm working on transcribing some movements of an oratorio. In common with that genre, the same words (more or less) get repeated over and over again. I'm trying to minimize both typing and errors and have come up with the following which does most of wha