Commit Graph

21 Commits

Author SHA1 Message Date
Jim Hague 3061852caf Replace Change and Credit with Markdown-enabled Notes section.
Data in Notes is taken from N: section starting "Dottes:".
2016-11-02 15:02:06 +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 45342eec69 Decide that all links for downloading things should get HTML5 download tags.
The audio players exist to play things on the page. Everything else is to
download the file, really. I think.
2014-06-17 12:32:15 +01:00
Jim Hague ebbdea78f2 Add HTML5 download tag to ABC and XML links in tune page.
You probably want to download these, not view them in the browser.
2014-06-17 09:53:15 +01:00
Jim Hague 30c34782b7 Add MusicXML conversion to tune pages.
Might help someone.
2014-06-17 09:11:38 +01:00
Jim Hague 25d671a132 Change main body font to Open Sans, to match the main Havoc website. 2013-11-11 22:14:00 +00:00
Jim Hague 804f58b4af Remove line between icons. It's a link underline.
So set the link style to not underline links.
2013-10-09 18:06:14 +01:00
Jim Hague f3f95e3ce1 Add book icon to return from tune or learner page to tune index page. 2013-09-26 16:53:36 +01:00
Jim Hague 4c312d7181 Add link from dots page to learner page and vice-versa. 2013-09-03 10:02:59 +01:00
Jim Hague cefbabf8e5 Ratchet up the IE8 attempt.
Thanks to http://www.yourwebskills.com/htmlobject.php.
2013-08-30 23:55:22 +01:00
Jim Hague 03b9bc7ae6 Attempt to allow IE8 to show audio controller to play files.
This might not work well, and get removed in future.
2013-08-30 20:25:01 +01:00
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
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
Jim Hague a1e4f86ed1 Add date of last change to bottom of web tune page. 2013-08-19 09:59:46 +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 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 6c091c1470 Modify Change tune handling.
Change all change notes to reference the filename of the tune to change to.

Modify web and document generators to pull the change note out of the abc
and generate an appropiate bit of content. This is now, in both cases,
a hyperlink.

In the process, remove the tune-specific .tex facility. It wasn't being
used.

I could really do with a proper templating system, and using some sort
of templating in the LaTeX generation.
2013-02-23 13:10:58 +00:00
Jim Hague 36bd2926b5 Make transposed tunes use the original audio.
The aim of MIDI and MP3 is to allow the user to hear what a tune sounds
like. For transposed bookes, I think this should be reused from the main
booke page, because hearing it at the transposed pitch isn't a major help.

And in fact given the way cello transposition is done, the sound won't
be transposed anyway. And Jane hasn't complained.

This will speed up building the bookes by removing audio generation,
the slowest process, from the transposed bookes.
2013-02-22 01:09:37 +00:00
Jim Hague e52dac5422 Tune graphic has title. Remove it from the tune page.
At some point I might get round to removing the title and notes from the graphic
and doing them in LaTeX/HTML. But not yet.
2013-02-18 21:55:33 +00:00
Jim Hague 67f3e594af Set margin on divs so that they leave gaps between themselves.
So 'clear' divs are unnecessary.
2013-02-18 21:50:58 +00:00
Jim Hague 533c08cb4f Finish first version of newly tarted up website. 2013-02-17 00:27:07 +00:00