Commit Graph

15 Commits

Author SHA1 Message Date
Jim Hague b6a4389bca Sort LC_ALL=C to get Linux sort to order Beginners as expected.
Remove other unnecessary uses of sort. When generating intermediate
files, it doesn't matter in what order it happens.
2020-02-19 11:14:40 +00:00
Jim Hague 51353e49b9 Correct Mac-ism. find -maxdepth n, not find -depth n. 2017-10-13 17:19:06 +01:00
Jim Hague a5b76de484 Introduce mechanism for having different tune images for compact printed output.
Sort alternate .abc in subdir 'Compact' under the booke dir. Use that as
the graphic for A5 output, assuming it will be vertically more compact.
Use Bear Dance as an example, as it has commentary that currently
overflows an A5 landscape page.

For the moment, transposed Bookes don't transpose and so don't use Compact.
2017-10-13 15:44:15 +01:00
Jim Hague b17a790b77 Create a section title page in the print version.
Move the section comment to that title page.
2016-11-04 00:03:54 +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 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 976ffe9fe1 Fix up some titles starting 'The'.
The Booke standard is that all should end ", The".

Fix tune page generator to do this on subtitles too.
2014-08-14 14:32:06 +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 cdf1efc900 Go back to using the filename as the hyperlink name.
Latex hyperlinks don't cope with having accented characters in the hyperlink name.
2013-07-18 15:37:23 +01:00
Jim Hague d8357c8cec Render tune title, subtitle and composer in Latex/HTML and not in the image.
This way the titles remains a constant size even if the image needs to be scaled.
And we have that text appearance under our control.

I can't find a way of switching off the tune title in abcm2ps, and have worked around
by setting the title format to Y0. Y is not a defined ABC header and is not found in
any Dottes tune.
2013-07-16 16:35:07 +01:00
Jim Hague 8554e9e664 Move tune and first line inclusion code into macros.
Also use tune title, not name, as hyperlink targets. This removes the need to pass
the name into the macros.
2013-07-12 11:36:14 +01:00
Jim Hague 1129f42a8b Revise first lines table.
Stretch music to make it higher and hopefully more legible.

And move the table LHS left slightly and make the RHS fill to the text width.
2013-07-07 20:40:03 +01:00
Jim Hague 1f92bab7c6 Various revisions of printed book presentation.
1. Purple background on the front and and new blank back pages.
2. UK English for hyphenation and date presentation.
3. Dedication and 'About Havoc' section.
4. Footer just page number in centre of page.
5. Revised copyright discussion.
6. Since it's a book, make content, intro and first lines to chapters.
   And prompt individual tunes to sections.
7. Omit 'Tunes' chapter heading. It doesn't look good in A5.
2013-07-05 18:56:34 +01:00
Jim Hague ade3337704 Revise scripts for building printed Bookes.
A lot of stuff was being duplicated between different page size. Consolidate where
possible, and in particular put as much into a single source file (dottes.tex) as
possible. Making a single Booke is now potentially quicker, as the tune pages
don't necessarily have to be regenerate every time.
2013-06-26 23:37:45 +01:00