Commit Graph

5 Commits

Author SHA1 Message Date
Jim Hague 639f6f42df Set exit status on abcfield.py to indicate if anything found. 2016-10-29 23:18:45 +01:00
Jim Hague fcc48a7a58 Revise abcfield.py to recognise continuation fields.
Also default to HTML entity output, and replace --contains with
--starts, which does the same thing but checks only the start of
the line and removes the matched item.
2016-10-29 19:32:53 +01:00
Jim Hague 6427153e8e Add --contains flag to abcfield.py.
Currently we rely on any N: field with a Change: subnotice being the first
N: field. Add --contains field to abcfield.py to remove this restriction.

Also use it to extract new subfield Credit: and add that if present
to the tune information in print and on web.
2013-08-04 22:09:25 +01:00
Jim Hague e6090d8ef4 Add --index parameter to allow selection of nth occurence of field. 2013-07-16 16:25:30 +01:00
Jim Hague 4c8f2a3ade Make output larger where possible.
This is done by

a) reducing the page margins
b) compressing the heading and removing all but Notes: fields.

The latter produced vertically smaller tune PDFs that will scale wider.

In the process, modify abctitle.py to extract the first of any header field, and
move formatting for a single tune into a .fmt file.
2012-04-21 19:47:30 +01:00