Re: Markup functions and punctuation in lyrics

2021-11-06 Thread Fr. Samuel Springuel
I’ve done some work to clean up my code and also modified the interface to be fairly intuitive and non-intrusive. Hopefully I’ll have some time this week to integrate this into my project, but if anyone sees anything that could be improved, I’d love to hear about it. ✝✝

Re: Markup functions and punctuation in lyrics

2021-11-04 Thread Fr. Samuel Springuel
On Nov 2, 2021, at 11:26 PM, Aaron Hill wrote: > > Okay, would text replacement be viable as opposed to writing a bunch of > individual functions? That does sound nice. There would need to be some helper functions to handle the formatting issue that Jean pointed out, but I can get that mostly

Re: Markup functions and punctuation in lyrics

2021-11-03 Thread Jean Abou Samra
Le 03/11/2021 à 04:26, Aaron Hill a écrit : Okay, would text replacement be viable as opposed to writing a bunch of individual functions? feminine = #'(("man/woman" . "woman")    ("his/her" . "her")    ("he/she" . "she")) \markup \replace \feminine {   The man/woman, tightly clutching

Re: Markup functions and punctuation in lyrics

2021-11-02 Thread Aaron Hill
On 2021-11-02 2:56 pm, R. Padraic Springuel wrote: On Nov 2, 2021, at 1:00 PM, Aaron Hill wrote: Not sure if this was already suggested, but could you use something like this to concatenate arbitrary markup? I think that what you’re suggesting is in the spirit of what David was suggesting,

Re: Markup functions and punctuation in lyrics

2021-11-02 Thread R. Padraic Springuel
On Nov 2, 2021, at 1:00 PM, Aaron Hill wrote: > > Not sure if this was already suggested, but could you use something like this > to concatenate arbitrary markup? I think that what you’re suggesting is in the spirit of what David was suggesting, but I’m trying to reduce the input overhead at t

Re: Markup functions and punctuation in lyrics

2021-11-02 Thread Jean Abou Samra
Le 02/11/2021 à 16:23, R. Padraic Springuel a écrit : On Oct 31, 2021, at 6:02 PM, David Kastrup wrote: If the ugliness of juxtaposition is ok, you may use things like \,\man for concatenating stuff, too. What about event functions? Can a command which does the concatenation be written as

Re: Markup functions and punctuation in lyrics

2021-11-02 Thread Aaron Hill
On 2021-11-02 8:23 am, R. Padraic Springuel wrote: On Oct 31, 2021, at 6:02 PM, David Kastrup wrote: If the ugliness of juxtaposition is ok, you may use things like \,\man for concatenating stuff, too. Not sure if this was already suggested, but could you use something like this to concate

Re: Markup functions and punctuation in lyrics

2021-11-02 Thread R. Padraic Springuel
> On Oct 31, 2021, at 6:02 PM, David Kastrup wrote: > > If the ugliness of juxtaposition is ok, you may use things like > > \,\man > > for concatenating stuff, too. What about event functions? Can a command which does the concatenation be written as an event function so that the juxtaposit

Re: Markup functions and punctuation in lyrics

2021-10-31 Thread David Kastrup
"R. Padraic Springuel" writes: >> On Oct 18, 2021, at 5:57 PM, David Kastrup wrote: >> >> I'd lean towards defining \man like in the question and a function \maN >> that takes the following markup and concatenates it. That's viciously >> unclever but sometimes not having to worry whether the c

Re: Markup functions and punctuation in lyrics

2021-10-31 Thread R. Padraic Springuel
> On Oct 18, 2021, at 5:57 PM, David Kastrup wrote: > > I'd lean towards defining \man like in the question and a function \maN > that takes the following markup and concatenates it. That's viciously > unclever but sometimes not having to worry whether the computer gets > everything right is its

Re: Markup functions and punctuation in lyrics

2021-10-18 Thread David Kastrup
Jean Abou Samra writes: > Le 18/10/2021 à 21:22, R. Padraic Springuel a écrit : >> I’m using some functions to allow me to select words in the lyrics >> of some hymns in a systematic way so that the same hymn can be used >> referring to one or more persons (and in some cases, either a man or >> a

Re: Markup functions and punctuation in lyrics

2021-10-18 Thread Jean Abou Samra
Le 18/10/2021 à 21:22, R. Padraic Springuel a écrit : I’m using some functions to allow me to select words in the lyrics of some hymns in a systematic way so that the same hymn can be used referring to one or more persons (and in some cases, either a man or a woman). These functions work just

Markup functions and punctuation in lyrics

2021-10-18 Thread R. Padraic Springuel
I’m using some functions to allow me to select words in the lyrics of some hymns in a systematic way so that the same hymn can be used referring to one or more persons (and in some cases, either a man or a woman). These functions work just fine when they appear in the lyrics by themselves, but