From a0d0d28351f604f9638e804f459f4f9c96beec9c Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Fri, 10 Jun 2016 12:59:27 +0200 Subject: [PATCH 1/2] Bugfix: include capo in csg to tsg conversion --- patacrep/data/templates/songs/chordpro/latex/song | 4 ++++ test/test_song/metadata.tsg | 1 + 2 files changed, 5 insertions(+) diff --git a/patacrep/data/templates/songs/chordpro/latex/song b/patacrep/data/templates/songs/chordpro/latex/song index 08591d3a..af97c285 100644 --- a/patacrep/data/templates/songs/chordpro/latex/song +++ b/patacrep/data/templates/songs/chordpro/latex/song @@ -51,6 +51,10 @@ (( render(chord) )) (* endfor *) +(*- if metadata.capo is defined -*) + \capo{(( metadata.capo ))} +(* endif *) + (* include 'song_body' *) \endsong diff --git a/test/test_song/metadata.tsg b/test/test_song/metadata.tsg index 09c768bf..0f7f1825 100644 --- a/test/test_song/metadata.tsg +++ b/test/test_song/metadata.tsg @@ -16,6 +16,7 @@ Subtitle5}[ ] \cover +\capo{Capo} \textnote{Comment} \musicnote{GuitarComment} From 85a7e836878d52a659e45d2e5027180b2d041838 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Fri, 10 Jun 2016 13:00:47 +0200 Subject: [PATCH 2/2] update news --- NEWS.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NEWS.md b/NEWS.md index a5396036..8df9461f 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,8 @@ +# patacrep {current_master} + +* Bugfixes + * The capo directive of the Chordpro files is now considered + # patacrep 5.0.0 * Songbook file