On 2020/03/08 15:21:22, hanwenn wrote: > I think it would be better to do this as something that doesn't require special > syntax at first, ie. some identifier. >
One of my motivations for introducing '->' is that it keeps the lyrics clean and easy to read. Music that uses vowel transitions can have a _lot_ of them. > Also, it looks like the transition-engraver is almost a literal copy of the > hyphen engraver. Wouldn't this be much simpler if you'd implement the transition > as a layout tweak to a hyphen? I thought it might be best to separate transitions from hyphens, and use the line-spanner-interface to draw the arrow. The requirements for spacing are slightly different (transitions should never be omitted even in tight spacing), and also some other properties differ (e.g. minimum-space). So even though transitions are similar in many ways to hyphens I wonder if they are distinct enough to be separated. But I will certainly look into tweaking hyphens instead, as -- as you have pointed out -- there is currently a lot of duplicated code. Thank you both for the feedback! I'll have another go at this. https://codereview.appspot.com/565750043/