Commit Graph

523 Commits

Author SHA1 Message Date
Jim Hague e7940011ca Correct location of audio files for audio player.
On cello and horn get from main booke pages.
2013-08-28 15:47:21 +01:00
Jenkins Build Manager 23473de4cf Added tag build-default-165 for changeset ecc62b487e57 2013-08-28 15:22:49 +01:00
Jim Hague 457d17d121 Some empty "" chords may be causing trouble with Jenkins.
Jenkins builds are stalling when generating PDFs for some morris tunes. I suspect the problem
may be an empty chord "" and abc2abc's attempt to transpose it.

I've been meaning to remove the chords from the horn output, because abc2abc transposes them too,
which renders them not terribly useful. So get on and do it. Also remove "" from the morris
tunes where it occurs.
2013-08-28 14:57:11 +01:00
Jim Hague e049dc77a9 Add audio player to tune web page.
Add an <audio> tag to the bottom centre of the tune web page. Give it options for MP3 and
OGG files. Most browsers will play MP3, and the ones that won't (Firefox) will play OGG.

Since we now have to generate OGGs, add a download link as well.
2013-08-28 11:54:45 +01:00
Jenkins Build Manager ecbe58dd21 Added tag build-default-162 for changeset 355074af9910 2013-08-21 14:21:38 +01:00
Jim Hague 49210cb63c Automated merge with ssh://hg.cryhavoc.org.uk/dottes 2013-08-21 13:51:55 +01:00
Jim Hague 4499d9fe53 Don't mark SSI files executable.
We now archive to publish, and archiving loses the executable bit, so I've
had to enable SSI for all .html anyway.
2013-08-21 13:51:52 +01:00
Jenkins Build Manager 551079c65c Added tag build-default-161 for changeset 7240535f9fa7 2013-08-21 13:36:03 +01:00
Jim Hague cfc19f7de6 Automated merge with ssh://hg.cryhavoc.org.uk/dottes 2013-08-21 11:03:36 +01:00
Jim Hague 24dee81de5 Fix typo. I managed to not remove the old INTO includer in the book web page. 2013-08-21 11:03:32 +01:00
Jenkins Build Manager 6fe383ce86 Added tag build-default-159 for changeset 265539086836 2013-08-21 11:01:59 +01:00
Jim Hague 9b6c57d997 Automated merge with ssh://hg.cryhavoc.org.uk/dottes 2013-08-21 10:32:59 +01:00
Jim Hague 8766830f70 Use server-side includes (with Apache XBitHack setting) in web.
This means that we can have one main web page, dottes.html, for each
book and include the intro and tunelist to make the page. This removes
the separate header and footer components.

Perhaps we should use a template engine instead to generate the output.
That means choosing one. And preferably one that isn't aimed only at
HTML so we could use it for the printed books. More research required.
2013-08-21 10:32:50 +01:00
Jim Hague ed0ef9ce66 Use txt2tags to format intro text.
That way we can include basic markup in the into text and use it in
both LaTeX and HTML.

Take advantage of this to expand the wording of the intro text in all
books.
2013-08-21 10:28:10 +01:00
Jim Hague 7befd21cf4 Change wording to say some tunes MAY have an identifiable author.
There's a chance that a book will have no tunes with an identifiable author.
2013-08-21 10:21:19 +01:00
Jenkins Build Manager 3654732c08 Added tag build-default-158 for changeset 6d4b2dab5fcc 2013-08-19 10:31:23 +01:00
Jim Hague 7220eeea94 Corrections from Mick.
1. Add missing two last notes in final bar of B tune.
2. Move 'no chord' marker to start of 2nd repeat in A tune.
3. Mark middle B in last line of Horse's Brawl as Bb.
4. Last note of 4th bar of King of the Fairies should be quaver.
5. 4th bar of B tune should be same as 4th bar of A tune in Plane Tree.
6. Railway has change to Fiery Clock Face.
2013-08-19 10:09:02 +01:00
Jim Hague a1e4f86ed1 Add date of last change to bottom of web tune page. 2013-08-19 09:59:46 +01:00
Jim Hague 01a656aaba Reduce speed a tad on Winster Gallop.
It did sound a bit frantic.
2013-08-19 09:59:28 +01:00
Jenkins Build Manager d70b122e4e Added tag build-default-157 for changeset c79382d6026b 2013-08-13 12:09:43 +01:00
Jenkins Build Manager 33fcc039bc Added tag build-default-156 for changeset 6bcafbfac674 2013-08-13 11:41:25 +01:00
Jim Hague 4362163e75 Now fix logic error in makeHornInF.sh.
And we get some playable tunes. We might be able to improve the transposition
further by taking the Cello approach of calculating the minimum distance outside
the comfortable range. One for the future.
2013-08-13 01:48:21 +01:00
Jim Hague 2509e70c1c Fix up syntax error in makeHornInF.sh. 2013-08-13 01:06:24 +01:00
Jim Hague 5dcb49f712 Try to be cleverer when transposing for cello.
Jane says: Am most comfortable between the bottom G (the bottom line of the bass clef) and top D (the note above middle C), but can play from bottom C upwards (the C string is a bit growly) and at a push can get as high as the A above middle C.

Implement the following rule:

1. If range is G to d', transpose down 2 octaves.
2. If lowest note is < C, transpose down 1 octave.
3. Otherwise calculate the distance above d for the highest note on a one
   octave transposition, and the distance below G on a two octave
   transposition. Find the smallest, and use the corresponding
   transposition.
2013-08-13 00:51:43 +01:00
Jim Hague db5e5dfe4c Correct arithmetic expression in makeHornInF.sh. 2013-08-13 00:50:02 +01:00
Jim Hague 3fae31f75f Move Canal En Octobre into 4 lines.
Last line looks a bit squashed.
2013-08-12 20:24:33 +01:00
Jim Hague a8fb51402c Adjust A4 margins.
We were getting close to the bottom of the pages and leaving large gaps
of white in the middle. So bring the top and bottom margins in a bit.
2013-08-12 20:14:08 +01:00
Jim Hague db46099ba1 Reformat Green Mountain Petronella.
There's no need to have it squished into 3 lines now.
2013-08-12 20:11:06 +01:00
Jim Hague 189e42f203 Remove parts repeat spec from Gathering Peasecods.
The parts aren't marked, as per rules, and music didn't repeat on first
line.

Also extend value of first repeat first time to fill bar.
2013-08-12 19:27:01 +01:00
Jim Hague 5f5a6e0515 Add tune markers to Green Mountain Petronella.
The tune changes in the middle of a line.
2013-08-12 19:19:47 +01:00
Jim Hague 721513bfd3 Reformat Captain Rock slightly. 2013-08-12 18:58:05 +01:00
Jim Hague 02b1f8360a Remove start repeat sign superfluous under rules. 2013-08-12 18:57:33 +01:00
Jim Hague 8435d10927 Regularise use of repeats, tune (A/B/C etc.) markers and final bar.
1. Only show tune markers when a tune change is in the middle of a line.
2. Only show repeat starts |: if the repeat start is in the middle of a line.
3. Final bar end mark must be a thick line.

The official rules for a repeat are that if there is no left repeat
marker |: then the repeat starts at the previous double bar.
2013-08-12 18:40:44 +01:00
Jim Hague f1d031d358 Change licence to by-nc-sa on Buttered Peas. 2013-08-12 18:29:53 +01:00
Jim Hague 651676d765 Rufty Tufty - Inject some repeats and so reduce to one line per A/B/C tune. 2013-08-12 17:53:44 +01:00
Jim Hague 960cc08a79 Revise A4 and A5 to have inside title page.
Decide to have an inside title page, with the copyright and stuff following
on the A4 verso, A5 top page.
2013-08-12 12:10:37 +01:00
Jim Hague e1d1417a1f Automated merge with ssh://hg.cryhavoc.org.uk/dottes 2013-08-12 11:53:32 +01:00
Jim Hague d65f0d3056 Caddam Wood and Si Beag relegated to Library. 2013-08-12 11:53:20 +01:00
Jim Hague a16ad7de0c Move cover page colour and blank coloured end page to doc-specific files.
That way output where the colour isn't appropriate, such as Nook or the newly introduced
A4Lulu output (which is the A4 book but with white cover page and no end coloured page, and so
suitable for using as the content on Lulu, where the cover is separate) can omit the colour.
2013-08-09 13:55:59 +01:00
Jim Hague ff01539526 Transcribe Susie's Buttered Peas.
It's different to the others I've found.
2013-08-09 10:59:03 +01:00
Jim Hague cfc4e2d032 Oops. Move \vfill between tunes to before the tune.
Doesn't have the desired effect on A4 otherwise.
2013-08-05 18:09:46 +01:00
Jim Hague 7f459bab22 Add Nook-sized PDF output. 2013-08-05 18:06:19 +01:00
Jim Hague f74f9cc59c Put tune title, image and following content into a table.
Use tabularx to put tune title, image and any following content into
a table. This should (a) get the following content closer to the tune image,
and (b) stop LaTeX splitting them over a page.
2013-08-05 18:06:00 +01:00
Jim Hague 53b947e75a Reindent tune macro. 2013-08-05 13:42:36 +01:00
Jim Hague 76a29f9aa8 Make target of hyperlink the tune title.
A slight rearrangement of the tune macro.
2013-08-05 13:39:43 +01:00
Jim Hague c0a0fd45d9 Make emails \url{} to that they will wrap at the end of a line.
Also remove unused reference to graphics dir.
2013-08-05 13:30:08 +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 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