diff --git a/patacrep/data/ast_templates/chordpro/latex/content_verse b/patacrep/data/ast_templates/chordpro/latex/content_verse index ae3aa34f..72859732 100644 --- a/patacrep/data/ast_templates/chordpro/latex/content_verse +++ b/patacrep/data/ast_templates/chordpro/latex/content_verse @@ -6,7 +6,7 @@ \ifchorded \begin{verse*} (* for line in content.lines *) - \musicnote {\nolyrics (( render(line) ))} + \musicnote {\nolyrics (( render(line)|replace("#", "{\shrp}") ))} (* endfor *) \end{verse*} \fi diff --git a/test/test_chordpro/nolyrics.tex b/test/test_chordpro/nolyrics.tex index 343f4e63..3ce5d6b3 100644 --- a/test/test_chordpro/nolyrics.tex +++ b/test/test_chordpro/nolyrics.tex @@ -14,7 +14,7 @@ \ifchorded \begin{verse*} - \musicnote {\nolyrics \[A B#]} + \musicnote {\nolyrics \[A B{\shrp}]} \end{verse*} \fi diff --git a/test/test_compilation/datadir.tex.control b/test/test_compilation/datadir.tex.control index 9444d4de..0e37b1e7 100644 --- a/test/test_compilation/datadir.tex.control +++ b/test/test_compilation/datadir.tex.control @@ -117,7 +117,7 @@ Chordpro}[ \ifchorded \begin{verse*} - \musicnote {\nolyrics \[Am C#m]} + \musicnote {\nolyrics \[Am C{\shrp}m]} \end{verse*} \fi