Improve merge_chord_lyric() to snap chord positions to the start
of the word they fall within, instead of splitting words mid-way.
Fixes artifacts like "Liebespaar \chord{C}e" → "\chord{C}Liebespaare".
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
38 lines
1.2 KiB
TeX
38 lines
1.2 KiB
TeX
\begin{song}{
|
||
title = {Miners Song},
|
||
lyrics = {Colin Wilkie},
|
||
composer = {Colin Wilkie},
|
||
cl = 261,
|
||
libock = 268,
|
||
}
|
||
|
||
\begin{verse}
|
||
\chord{a}No you won’t get me down underground in your \chord{G}mines, \\
|
||
\chord{F}Away from the \chord{C}trees and the \chord{G}flowers so \chord{C}fine. \\
|
||
\chord{F}Down in the \chord{C}dark where the \chord{G}sun never \chord{E7}shines. \\
|
||
No you \chord{a}won’t get me \chord{G}down in your \chord{a}mines.
|
||
\end{verse}
|
||
|
||
\begin{verse}
|
||
They work in the dark for the most of their lives, \\
|
||
Away from the children, away from their wives. \\
|
||
To make others rich, in the heat and the dark. \\
|
||
But who’s going to care when you’re too old to work?
|
||
\end{verse}
|
||
|
||
\begin{verse}
|
||
There’s many a miner has died underground. \\
|
||
Died all alone when the roof tumbled down. \\
|
||
Or choked out his life underneath the great beams. \\
|
||
Or buried and gassed in that lousy coal-seam.
|
||
\end{verse}
|
||
|
||
\begin{verse}
|
||
I’ve worked in your factories, I’ve worked on your farms, \\
|
||
Until all the muscles stood out on my arms \\
|
||
I’ve been in your armies and I’ve been out to sea. \\
|
||
But by Christ you won’t make a coal-miner of me.
|
||
\end{verse}
|
||
|
||
\end{song}
|