Commit Graph

33 Commits

Author SHA1 Message Date
Jim Hague b17a790b77 Create a section title page in the print version.
Move the section comment to that title page.
2016-11-04 00:03:54 +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 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
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 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 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
Jim Hague eb85854d78 Fix up graphics overflow caused by change to Latex headers.
This reduces the height the graphics can use. Compensate by decreasing the page
margins by 0.25" all round.
2013-07-16 17:21:42 +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 31a8cf479b Back out accidental change. 2013-07-16 16:26:41 +01:00
Jim Hague 6f50649440 Revise first line table.
Treat the tune title as a paragraph (ragged right). Set the column widths to give
a wider and hence larger first line tune graphic.

Keep using the cropped first line graphic, and introduce our own gaps between lines
to keep the tune separations clear. I did look at using the grpahics borders, but that
gives left and right margins too.
2013-07-12 14:27:41 +01:00
Jim Hague 8554e9e664 Move tune and first line inclusion code into macros.
Also use tune title, not name, as hyperlink targets. This removes the need to pass
the name into the macros.
2013-07-12 11:36:14 +01:00
Jim Hague 7bf24bc921 Remove topskip0pt.
It was disturbing the vertical spacing of the first tune.
2013-07-11 17:52:11 +01:00
Jim Hague b78413c488 Revise intro wording on documents and website. 2013-07-08 10:35:23 +01:00
Jim Hague f64f1c9dd8 Change how page geometry is handled.
Instead of setting margins by hand, use the geometry package. Set a 1" margin
generally, and a 0.5" margin for the title page.
2013-07-07 20:41:05 +01:00
Jim Hague 1129f42a8b Revise first lines table.
Stretch music to make it higher and hopefully more legible.

And move the table LHS left slightly and make the RHS fill to the text width.
2013-07-07 20:40:03 +01:00
Jim Hague 5046aa7c7a Welcome musicians and reformat about section.
The email address flowed over the RHS of the paragraph.
2013-07-07 20:38:29 +01:00
Jim Hague 2ac1621998 Make only post-tune list items back matter.
The list is part of the main content, after all.
2013-07-05 20:29:44 +01:00
Jim Hague 1f92bab7c6 Various revisions of printed book presentation.
1. Purple background on the front and and new blank back pages.
2. UK English for hyphenation and date presentation.
3. Dedication and 'About Havoc' section.
4. Footer just page number in centre of page.
5. Revised copyright discussion.
6. Since it's a book, make content, intro and first lines to chapters.
   And prompt individual tunes to sections.
7. Omit 'Tunes' chapter heading. It doesn't look good in A5.
2013-07-05 18:56:34 +01:00
Jim Hague eadf6f466b Convert from article to a one-sided book.
Add \frontmatter, \mainmatter etc. This gets the contents and intro page
numbering separately and printed in Roman.
2013-06-29 11:18:53 +01:00
Jim Hague 4842408b63 Revise introduction and add vestigial 'About Cry Havoc' section. 2013-06-29 10:14:29 +01:00
Jim Hague a4e61c0263 Change paragraph formatting - no indent, gaps between paragraphs. 2013-06-29 10:13:48 +01:00
Jim Hague ade3337704 Revise scripts for building printed Bookes.
A lot of stuff was being duplicated between different page size. Consolidate where
possible, and in particular put as much into a single source file (dottes.tex) as
possible. Making a single Booke is now potentially quicker, as the tune pages
don't necessarily have to be regenerate every time.
2013-06-26 23:37:45 +01:00