Commit Graph

18 Commits

Author SHA1 Message Date
Jim Hague 552709a281 Ensure tune graphic is confined to a single page.
Set a maximum height for the graphic of 0.9 text area as well as the current
target width of the text width. And also keep the aspect ratio. So if the
height is small enough, you get full width. Otherwise the graphic is
shrunk enough to keep it all on one page.

Perhaps one can then go back and edit the tune to fit it into fewer
lines.
2012-03-16 10:40:09 +00:00
Jim Hague 694eac1077 Add internal hyperlinks to the book.
Don't put the links in a different colour, so it still prints well.
2012-03-16 10:37:48 +00:00
Jim Hague 19e9f59ff2 Add basic diacritic handling for LaTeX and web.
It would be nice if everyone used UTF-8, but it doesn't look like that
works at present.
2012-03-15 14:32:53 +00:00
Jim Hague 25aea9f0c9 First line width again - make it a fraction of the text width. 2012-03-14 15:53:10 +00:00
Jim Hague 42dbba03e2 Increase width of first music line to just under text width. 2012-03-14 15:46:28 +00:00
Jim Hague a7e4500773 Fix renaming of the A4 booklet. 2012-03-05 14:49:17 +00:00
Jim Hague 2351348471 Add list of tune first lines.
Add a list of tune first lines to the Booke. First, a small Python script to
filter a .abc file and spit out just enough to give a graphic of the first line
without the title. Then generate these graphics and generate a new section in the Booke
with a longtable of tune name and the first line graphic.
2012-03-04 20:16:48 +00:00
Jim Hague fc446fb0ae Put making tune graphics required by web and book into separate dir and make separately.
Web and book both require the tune PDF graphics. Break these out into a separate
direction and make with a separate process.
2012-03-04 12:00:30 +00:00
Jim Hague f7d2212e41 Revise page footers, and add build number. 2012-03-03 16:06:23 +00:00
Jim Hague 6dc31caa77 Change subtitle and intro files to .txt extension. 2012-03-03 15:24:59 +00:00
Jim Hague 87713505c8 Quick attempt to parameterise different book builds.
Move subtitle and intro text into book directory.
Do all building in build directory.
Name output by the book name.
2012-03-03 14:08:41 +00:00
Jim Hague c81cce41dd Fix up troubles with \. echo -E disables expansion. 2012-03-03 12:00:35 +00:00
Jim Hague fbbce04c6f Remove use of abc pacakge and do the graphics outselves.
Make book building time a lot quicker, because converting from abc to
eps/pdf is done only once.
2012-03-02 12:30:43 +00:00
Jim Hague 37b89efc47 Revert to putting Change: notices into the notes.
W: is for words/lyrics. None at present in Session tunes, but they do
exist in Morris tunes, and who knows what might happen in sessions in
future. I want to keep the option of adding words.

So move Change: notices back to N:, and have all notes printed.
2012-03-02 10:46:43 +00:00
Jim Hague 9f3510c4b2 Produce an A4 PDF document with the A5 pages in booklet form.
Print the A4 with long edge duplex to get a ready booklet.
2012-02-29 14:05:18 +00:00
Jim Hague 7ffc756929 Update book making command.
Switched to A5 portrait. In landscape it stretches the image to fit the
width, and that causes a lot of longer tunes to become too high to fit
properly on the page.

Build the book in a separate build directory. The build generates lots
of .abc files and so forth, which it is convenient to have elsewhere
so you can ignore them. I did experimend with \abcinclude, but that has
a lot of expectations about the files being in the current directory.

If a tune has multiple titles, pick the first.

Adjust abcm2ps options to preserve the line breaks in the ABC.
2012-02-27 13:04:37 +00:00
Jim Hague dd61d2757f First go at LaTeX booklet. 2012-02-27 08:50:45 +00:00
Jim Hague 5811641ba0 Beginnings. 2012-02-25 14:32:23 +00:00