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 \ifchorded
\begin{verse*} \begin{verse*}
(* for line in content.lines *) (* for line in content.lines *)
\musicnote {\nolyrics (( render(line) ))} \musicnote {\nolyrics (( render(line)|replace("#", "{\shrp}") ))}
(* endfor *) (* endfor *)
\end{verse*} \end{verse*}
\fi \fi

2
test/test_chordpro/nolyrics.tex

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

2
test/test_compilation/datadir.tex.control

@ -117,7 +117,7 @@ Chordpro}[
\ifchorded \ifchorded
\begin{verse*} \begin{verse*}
\musicnote {\nolyrics \[Am C#m]} \musicnote {\nolyrics \[Am C{\shrp}m]}
\end{verse*} \end{verse*}
\fi \fi

Loading…
Cancel
Save