From 882967afda9e175c2b107de89eb738930d08eb5a Mon Sep 17 00:00:00 2001 From: Louis Date: Mon, 31 Aug 2015 22:35:21 +0200 Subject: [PATCH] rdpro] Extra, custom keys are correctly rendered --- patacrep/songs/chordpro/data/latex/song | 3 +++ patacrep/songs/chordpro/test/metadata.tex | 1 + 2 files changed, 4 insertions(+) diff --git a/patacrep/songs/chordpro/data/latex/song b/patacrep/songs/chordpro/data/latex/song index ccc2742a..eaa2a86d 100644 --- a/patacrep/songs/chordpro/data/latex/song +++ b/patacrep/songs/chordpro/data/latex/song @@ -27,6 +27,9 @@ (( key ))={(( metadata[key] ))}, (* endif *) (* endfor *) + (* for key in metadata.keys *) + (( key.keyword ))={(( key.argument ))}, + (* endfor *) ] (* if (metadata.cov is defined) or (metadata.vcov is defined) *) diff --git a/patacrep/songs/chordpro/test/metadata.tex b/patacrep/songs/chordpro/test/metadata.tex index 6bb1f6eb..fbe53fae 100644 --- a/patacrep/songs/chordpro/test/metadata.tex +++ b/patacrep/songs/chordpro/test/metadata.tex @@ -13,6 +13,7 @@ Subtitle5}[ copyright={Copyright}, cov={DIRNAME/Cover}, vcov={VCover}, + foo={Foo}, ] \cover