Browse Source

Bugfix: include capo in csg to tsg conversion

pull/224/head
Oliverpool 9 years ago
parent
commit
a0d0d28351
  1. 4
      patacrep/data/templates/songs/chordpro/latex/song
  2. 1
      test/test_song/metadata.tsg

4
patacrep/data/templates/songs/chordpro/latex/song

@ -51,6 +51,10 @@
(( render(chord) )) (( render(chord) ))
(* endfor *) (* endfor *)
(*- if metadata.capo is defined -*)
\capo{(( metadata.capo ))}
(* endif *)
(* include 'song_body' *) (* include 'song_body' *)
\endsong \endsong

1
test/test_song/metadata.tsg

@ -16,6 +16,7 @@ Subtitle5}[
] ]
\cover \cover
\capo{Capo}
\textnote{Comment} \textnote{Comment}
\musicnote{GuitarComment} \musicnote{GuitarComment}

Loading…
Cancel
Save