Talk:Volta text markup using repeatCommands
Latest comment: 16 January by Manuela in topic LilyPond rendering error
Isn't this an easier alternative?
In version 2.25 following code is working. Put the following command before the
\override Score.VoltaBracket.text = \markup \volta-number "1.2."