Commit Graph

12 Commits

Author SHA1 Message Date
Jim Hague 7f09e796d9 Remove the 'already generated' checks.
Let's make sure all content gets generated.

I really, really need to do a proper build system for this lot.
2020-02-19 10:48:56 +00:00
Jim Hague 94aee4ec02 Changes to get Beginners booke building.
The web pages include prev and next links, so to get those right we
have to make the tune filenames distinct from the main booke names.
So fall back to taking the easy way, and just prefix all tune names with
@ or _.
2020-02-18 15:13:38 +00:00
Jim Hague 441c321487 Fix target generation for transposed booke web items. 2019-08-06 08:48:39 +01: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 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 d8eb6deee0 Up the resolution of the web graphics.
This will result in increased image size, on the order of 18k->32k, but
I'm fed up with the blurriness of the current images. Ideally I'd move
to SVG for the web images, but Mick reckons that SVG support on mobile
browsers is still limited. Suspect he's probably right.
2016-11-04 23:31:40 +00:00
Jim Hague 6d6fffa050 Fix typo in filename to delete. 2015-12-13 22:46:55 +00:00
Jim Hague f606229dda Small cleanup. Remove .eps file once web PDF is generated. 2013-09-02 10:02:07 +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 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 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