Browse Source

Merge pull request #224 from patacrep/capo_support

Capo support in Chordpro files
pull/226/head
Luthaf 9 years ago
committed by GitHub
parent
commit
49fc8fce86
  1. 5
      NEWS.md
  2. 4
      patacrep/data/templates/songs/chordpro/latex/song
  3. 1
      test/test_song/metadata.tsg

5
NEWS.md

@ -1,3 +1,8 @@
# patacrep {current_master}
* Bugfixes
* The capo directive of the Chordpro files is now considered
# patacrep 5.0.0 # patacrep 5.0.0
* Songbook file * Songbook file

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