Commit Graph

11 Commits

Author SHA1 Message Date
Jim Hague a38378712a Nerys next: L'Inconnu de Limoise.
No chords. Also fix up title field display to not put a space between
items if 'The' item isn't all alphanumeric. So , L' works.
2017-09-24 23:12:03 +01:00
Jim Hague 945454da9d Give ABC file directory when expanding markdown.
<foo.abc> specifies a file in the same directory as the file being
processed.
2016-11-02 14:59:31 +00:00
Jim Hague c1c7d23c0b Implement custom markdown <foo.abc> to reference tune.
Also ensure filename matches are not greedy, and so work if there are
two filenames on a line.
2016-11-02 14:06:25 +00:00
Jim Hague d9d4e3c157 Convert Markdown in N and H fields. Fix up .abc links. 2016-11-02 08:36:21 +00:00
Jim Hague 262ee6c3e4 Replace sed substitution with Python templating for HTML and LaTeX output. 2016-11-02 00:21:18 +00:00
Jim Hague fbd277f6c9 More abcfield.py updates and mark it Python 3.
- Move title fixups into Python.
- Move key display name expansion into Python.
- Add Dottes-specific header continuation line format. None of the usual
  tools appears to support the official +: continuation.
2016-10-31 23:48:45 +00:00
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