diff --git a/abctemplate.py b/abctemplate.py index 6b9d6f9..6c4e0fd 100755 --- a/abctemplate.py +++ b/abctemplate.py @@ -21,6 +21,7 @@ # * name. The file base name. Base filename without extension. # * title. The tune title. # * subtitle. The tune subtitle (second Title field), if any. +# * tradition. The Morris tradition the dance tune is from. # * composer. The tune composer. # * key. The tune key. # * changefile. The name of the 'change' file, if any. @@ -66,6 +67,7 @@ if __name__ == "__main__": vars["name"] = fname vars["title"] = getFieldDisplayText(lines, fdir, "T", latex=args.latex) vars["subtitle"] = getFieldDisplayText(lines, fdir, "T", n=2, latex=args.latex) + vars["tradition"] = getFieldDisplayText(lines, fdir, "A", latex=args.latex) vars["composer"] = getFieldDisplayText(lines, fdir, "C", latex=args.latex) vars["key"] = getFieldDisplayText(lines, fdir, "K", latex=args.latex) vars["notes"] = getFieldDisplayText(lines, fdir, "N", starts="Dottes:", latex=args.latex) diff --git a/dottes.html.tune b/dottes.html.tune index 32af4dc..c2831cd 100644 --- a/dottes.html.tune +++ b/dottes.html.tune @@ -37,6 +37,7 @@