Closed tkruse closed 2 years ago
Using leadsheets 0.6a on ubuntu
Still debugging, but I get an error for this snippet:
\begin{song}{title={What like}, interpret={Everlast}}\index{What like} what it's l\chord{C}ike\chord{Dm} \end{song}
Error:
! Argument of \__leadsheets_set_chord:nwn has an extra }. <inserted text> \par <to be read again> } <argument> ...mpa_box \l__leadsheets_song_body_tl \leadsheets_set_property:n... \use_ii:nnn #1#2#3->#2 \__leadsheets_start_measuring:nw ...{height}{0pt}} \__leadsheets_stop_measuri... \leadsheets_end_song:n ...dsheets_stop_measuring: \tl_use:N \l__leadsheets_s... <argument> ...-1}{\leadsheets_end_song:n {song-1}} \group_end: \end {song} \use_ii:nnn #1#2#3->#2 l.3 \end{song}
It only happens sometimes if the last thing before \end{song} is a \chord
\end{song}
\chord
Some guidance: https://texfaq.org/FAQ-extrabrace
You need a space before the chord or rather after a word with a chord above:
\begin{song}{title={What like}, interpret={Everlast}}\index{What like} what it's l\chord{C}ike \chord{Dm} \end{song}
Using leadsheets 0.6a on ubuntu
Still debugging, but I get an error for this snippet:
Error:
It only happens sometimes if the last thing before
\end{song}
is a\chord
Some guidance: https://texfaq.org/FAQ-extrabrace