Browse Source

Replace # with {\shrp} in nolyrics environment

pull/153/head
Oliverpool 9 years ago
parent
commit
a6a7edcfc8
  1. 2
      patacrep/data/ast_templates/chordpro/latex/content_verse
  2. 2
      test/test_chordpro/nolyrics.tex
  3. 2
      test/test_compilation/datadir.tex.control

2
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

2
test/test_chordpro/nolyrics.tex

@ -14,7 +14,7 @@
\ifchorded
\begin{verse*}
\musicnote {\nolyrics \[A B#]}
\musicnote {\nolyrics \[A B{\shrp}]}
\end{verse*}
\fi

2
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

Loading…
Cancel
Save