Mercurial > dottes
comparison abctemplate.py @ 712:7e9d5852c802
Show parts at top left of tune.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Sun, 08 Oct 2017 20:34:49 +0100 |
parents | 7da70e8900ab |
children | 833e6185b6a2 |
comparison
equal
deleted
inserted
replaced
711:461883995d3d | 712:7e9d5852c802 |
---|---|
22 # * title. The tune title. | 22 # * title. The tune title. |
23 # * subtitle. The tune subtitle (second Title field), if any. | 23 # * subtitle. The tune subtitle (second Title field), if any. |
24 # * tradition. The Morris tradition the dance tune is from. | 24 # * tradition. The Morris tradition the dance tune is from. |
25 # * composer. The tune composer. | 25 # * composer. The tune composer. |
26 # * key. The tune key. | 26 # * key. The tune key. |
27 # * parts. The tune parts order (A(AB2)3 etc.). | |
27 # * changefile. The name of the 'change' file, if any. | 28 # * changefile. The name of the 'change' file, if any. |
28 # * changename. The change file base name. | 29 # * changename. The change file base name. |
29 # * changetitle. The change file tune title. | 30 # * changetitle. The change file tune title. |
30 # * changevisibility. "yes" if there's a change value, otherwise "no". | 31 # * changevisibility. "yes" if there's a change value, otherwise "no". |
31 # * credit. The 'credit' value. | 32 # * credit. The 'credit' value. |
68 vars["title"] = getFieldDisplayText(lines, fdir, "T", latex=args.latex) | 69 vars["title"] = getFieldDisplayText(lines, fdir, "T", latex=args.latex) |
69 vars["subtitle"] = getFieldDisplayText(lines, fdir, "T", n=2, latex=args.latex) | 70 vars["subtitle"] = getFieldDisplayText(lines, fdir, "T", n=2, latex=args.latex) |
70 vars["tradition"] = getFieldDisplayText(lines, fdir, "A", latex=args.latex) | 71 vars["tradition"] = getFieldDisplayText(lines, fdir, "A", latex=args.latex) |
71 vars["composer"] = getFieldDisplayText(lines, fdir, "C", latex=args.latex) | 72 vars["composer"] = getFieldDisplayText(lines, fdir, "C", latex=args.latex) |
72 vars["key"] = getFieldDisplayText(lines, fdir, "K", latex=args.latex) | 73 vars["key"] = getFieldDisplayText(lines, fdir, "K", latex=args.latex) |
74 vars["parts"] = getFieldDisplayText(lines, fdir, "P", latex=args.latex) | |
73 vars["notes"] = getFieldDisplayText(lines, fdir, "N", starts="Dottes:", latex=args.latex) | 75 vars["notes"] = getFieldDisplayText(lines, fdir, "N", starts="Dottes:", latex=args.latex) |
74 if vars["notes"]: | 76 if vars["notes"]: |
75 vars["notesvisibility"] = "yes" | 77 vars["notesvisibility"] = "yes" |
76 vars["history"] = getFieldDisplayText(lines, fdir, "H", starts="Dottes:", latex=args.latex) | 78 vars["history"] = getFieldDisplayText(lines, fdir, "H", starts="Dottes:", latex=args.latex) |
77 if vars["history"]: | 79 if vars["history"]: |