# HG changeset patch # User Jim Hague # Date 1478111791 0 # Node ID ed823ea54c831fa7983545efb6190fbc4bec4f0c # Parent 60da844ec2614d9646145585c40117831ccc9ed7 Add Dottes History to notes. Currently appears after notes with a gap. This is intended for longer exposition about a tune. diff -r 60da844ec261 -r ed823ea54c83 Session/BearDance.abc --- a/Session/BearDance.abc Wed Nov 02 17:59:25 2016 +0000 +++ b/Session/BearDance.abc Wed Nov 02 18:36:31 2016 +0000 @@ -2,6 +2,12 @@ T:Bear Dance R:polka S: Nick Barber +H:Dottes: A foot stomping pulse behind this Flemish polka and its inevitable +H:+ predecessor typically marks the end, or somewhere +H:+ near the end, of a Havoc evening. +H:+ +H:+ Unless we're feeling contrary, in which case it'll happen somewhere +H:+ near the start of a session. M:2/4 L:1/16 Q:1/4=120 diff -r 60da844ec261 -r ed823ea54c83 abctemplate.py --- a/abctemplate.py Wed Nov 02 17:59:25 2016 +0000 +++ b/abctemplate.py Wed Nov 02 18:36:31 2016 +0000 @@ -61,6 +61,7 @@ vars = dict() vars["notesvisibility"] = "no" + vars["historyvisibility"] = "no" vars["name"] = fname vars["title"] = getFieldDisplayText(lines, fdir, "T", latex=args.latex) @@ -70,6 +71,9 @@ vars["notes"] = getFieldDisplayText(lines, fdir, "N", starts="Dottes:", latex=args.latex) if vars["notes"]: vars["notesvisibility"] = "yes" + vars["history"] = getFieldDisplayText(lines, fdir, "H", starts="Dottes:", latex=args.latex) + if vars["history"]: + vars["historyvisibility"] = "yes" for val in args.values: keyval = val.partition("=") diff -r 60da844ec261 -r ed823ea54c83 dottes.html.tune --- a/dottes.html.tune Wed Nov 02 17:59:25 2016 +0000 +++ b/dottes.html.tune Wed Nov 02 18:36:31 2016 +0000 @@ -46,6 +46,9 @@
${notes}
+
+ ${history} +