Commit Graph

37 Commits

Author SHA1 Message Date
Jim Hague bb936f3705 Change web graphics tune format to SVG. 2023-03-05 12:21:14 +00:00
Jim Hague aa97e0f688 Change web page layout.
Put tune contents under 'tunes/<name>' or 'tunes-<instrument>/<name>'.
That way they won't move if the tune gets moved between Bookes.

For now I have not attempted to redirect old URLs.
2019-08-05 23:25:28 +01:00
Jim Hague 2397148bf9 Don't display tradition on website or print.
Ed doesn't think it's necessary, and it does save space on the A5 page.
2018-04-26 14:07:50 +01:00
Jim Hague 127c0380db Provide full titles for next and previous tunes in web pages. 2017-10-11 17:45:27 +01:00
Jim Hague 9e27b13c6b Add fulltitle to template fields.
fulltitle is title + [(" subtitle ")"] if subtitle is present.

To do: extend full title to next and prev. this means exposing it
in abcfield.py.
2017-10-11 17:09:31 +01:00
Jim Hague d2b405b2a3 Move book and learner tune link to centre of bottom row, and add popup text.
The parts display is not uncomplicated by the images, and they have
explanations - at least some users I've spoken to did not understand
what they do.
2017-10-11 16:18:13 +01:00
Jim Hague dab61c6bbd Add previous and next tune links to website. 2017-10-10 15:01:22 +01:00
Jim Hague 703055e580 Show parts at top left of tune. 2017-10-08 20:34:49 +01:00
Jim Hague 193d7fde2f First attempt at adding Tradition below subtitle in web and print. 2017-10-08 17:06:09 +01:00
Jim Hague e06fd9518e Remove old Windows Media Player embedded object for playing audio.
We're in the world of HTML5 now. And Firefox has started playing
tunes on page download.
2017-02-05 22:51:30 +00:00
Jim Hague a24124e6af Correct large icons on tune pages. 2016-11-08 08:21:41 +00:00
Jim Hague 2219120753 Put banner back onto tune page. 2016-11-06 14:40:26 +00:00
Jim Hague a8854b5170 Set initial viewport settings. 2016-11-06 14:28:08 +00:00
Jim Hague 57ef8f8f67 Attempt revamp of CSS and presentation. Ditch 960. 2016-11-06 13:40:32 +00:00
Jim Hague afc73cd0b3 Sort out column widths for web tune list.
In the process discover display: table-column and use those on
tune headers and footers to set column widths.
2016-11-05 10:46:41 +00:00
Jim Hague 6e79f73b9d Add Dottes History to notes. Currently appears after notes with a gap.
This is intended for longer exposition about a tune.
2016-11-02 18:36:31 +00:00
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