Commit Graph

1027 Commits

Author SHA1 Message Date
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 18e13bd98e Do publisher info page based on Dad's book. 2013-08-04 21:28:05 +01:00
Jim Hague 78d4c39dad Revise printed Booke.
Introduce vestigial copyright page and move instroduction before the contents,
so on A4 it appears on the verso to the content recto. Tunes then start double
page spread on the next page.

Add a \cleardoublepage before the index of first lines to force that to start on
a new double page. This minimises the page turning necessary to see all the index
lines.
2013-07-20 20:40:02 +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 e26974292c Add abcrange.py to return the range of a tune, and use it in instrument transposition.
This lets us transpose on boundaries that aren't octave boundaries.
2013-07-18 15:27:57 +01:00
Jim Hague 0bea7c9b59 Generate different tune PDF for web site download.
For website download, generate a tune PDF with the tune title and composer.
Seems a bit silly to download a PDF giving an anonymouse tune.
2013-07-17 18:28:07 +01:00
Jim Hague eb85854d78 Fix up graphics overflow caused by change to Latex headers.
This reduces the height the graphics can use. Compensate by decreasing the page
margins by 0.25" all round.
2013-07-16 17:21:42 +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 470ad386fc Use PDFs as input sources for PNG generation.
The PDFs are cropped, so don't have a margin. Thus margins can be the concern of
CSS only.
2013-07-16 16:27:49 +01:00
Jim Hague 31a8cf479b Back out accidental change. 2013-07-16 16:26:41 +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 6f50649440 Revise first line table.
Treat the tune title as a paragraph (ragged right). Set the column widths to give
a wider and hence larger first line tune graphic.

Keep using the cropped first line graphic, and introduce our own gaps between lines
to keep the tune separations clear. I did look at using the grpahics borders, but that
gives left and right margins too.
2013-07-12 14:27:41 +01:00
Jim Hague 784a015b18 Make some bools 'false' not 0. 2013-07-12 14:25:18 +01:00
Jim Hague 8bd1c512c6 Use a abcm2pc format file to format the single lines. 2013-07-12 14:25:05 +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 7bf24bc921 Remove topskip0pt.
It was disturbing the vertical spacing of the first tune.
2013-07-11 17:52:11 +01:00
Jim Hague ff86d30789 Add openany parameter to book.
I want a chapter to start on any page, not just a recto page.
2013-07-11 17:51:51 +01:00
Jim Hague e6b292e8f2 % added to buildno.txt needs to be removed for web. 2013-07-08 14:57:15 +01:00
Jim Hague b78413c488 Revise intro wording on documents and website. 2013-07-08 10:35:23 +01:00
Jim Hague f64f1c9dd8 Change how page geometry is handled.
Instead of setting margins by hand, use the geometry package. Set a 1" margin
generally, and a 0.5" margin for the title page.
2013-07-07 20:41:05 +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 5046aa7c7a Welcome musicians and reformat about section.
The email address flowed over the RHS of the paragraph.
2013-07-07 20:38:29 +01:00
Jim Hague e88593f22f Replace buzzard EPS with cropped PDF. 2013-07-07 20:29:10 +01:00
Jim Hague 22d10243d5 Crop PDFs after generation so that they don't have white borders - document can do that. 2013-07-07 20:27:27 +01:00
Jim Hague 5039ce0be5 Regularise session tune title capitalisation. 2013-07-07 20:26:41 +01:00
Jim Hague 7a5325d60c Correct second bar in B tune of Banks of the Dee. 2013-07-07 20:26:10 +01:00
Jim Hague 5e6cf4c841 Buildno.txt needs trailing % to suppress the following newline.
Otherwise \build, leaves a space between build no and the comma.
2013-07-07 08:17:22 +01:00
Jim Hague 6d405fb24d Relegate Polska Fran Lovstabruk to the Library.
I don't recognise it at all.

Ironically, it required all the work on special character handling
which no other tune now uses. Ah well. It's there for the future.
2013-07-05 22:23:48 +01:00
Jim Hague bb0bbfdf89 Add timing for Davy Davy Knick Knack. 2013-07-05 22:22:18 +01:00
Jim Hague b6b99eba55 Add timing to Bear Dance. 2013-07-05 22:15:07 +01:00
Jim Hague 642ee1c623 I think Paul Hardy's Buttered Peas is closer to what Susie plays. 2013-07-05 20:49:49 +01:00
Jim Hague 91df562d8f Remove composer Trad. 2013-07-05 20:49:09 +01:00
Jim Hague 2ac1621998 Make only post-tune list items back matter.
The list is part of the main content, after all.
2013-07-05 20:29:44 +01:00
Jim Hague 6317f70028 Move Moll In The Wad and Mrs Casey to the Library. 2013-07-05 20:22:28 +01:00
Jim Hague 17af768037 Add timing to Fiery Clock Face. 2013-07-05 20:21:03 +01:00
Jim Hague fd50bf44e7 Add timing to Caddam Wood. 2013-07-05 20:19:53 +01:00
Jim Hague 338fccaf76 Add timing to Captain Lanoe. 2013-07-05 20:18:46 +01:00
Jim Hague bdbd488412 Add timing to a load of tunes. 2013-07-05 20:17:04 +01:00
Jim Hague 7bfb6c7115 Demote Staffordshire Hornpipe and Sonny Brogan's Mazurka to the Library. 2013-07-05 20:16:46 +01:00
Jim Hague 9bb81cdea9 Add timing and chords to Springvals. 2013-07-05 20:10:14 +01:00
Jim Hague 359c0d4ad8 Add timing and chords to Sherrifs Ride. 2013-07-05 19:46:38 +01:00
Jim Hague d351f4bee2 I had the wrong Orange In Bloom.
Replace with Paul Hardy's version.
2013-07-05 19:29:21 +01:00
Jim Hague 109c7653bc Add timing and guitar chords to Mazurka De Lapleau. 2013-07-05 19:21:20 +01:00
Jim Hague 41d582cbba When I listen to Three Around Three in a session, it sounds slightly simpler. 2013-07-05 19:00:28 +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 31d21e9b7d Remove all composers who are 'Trad.' or 'Anon.'.
From now on, only put real people in the composer field.
2013-07-03 22:14:09 +01:00
Jim Hague e497ed0eba Revise some details of the tune and all the chords in From Night Till Morn. 2013-07-03 22:10:47 +01:00
Jim Hague afc072b8ec Standardise O: field on country or area name, not adjective. 2013-07-03 21:08:10 +01:00
Jim Hague 4d54db85fe Correct spelling of Schottische.
Also, since chords have been changed, remove Nick Barber attribution.
2013-07-03 21:05:46 +01:00
Jim Hague a2ccb1a8b8 Amend composer to 'arr.'. I didn't understand 'efter'. 2013-07-03 21:02:38 +01:00