From 7f459bab22f680b4ebef6b56322cc6d103eea603 Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Mon, 5 Aug 2013 18:06:19 +0100 Subject: [PATCH] Add Nook-sized PDF output. --- docclass.Nook.tex | 1 + docsetup.A4.tex | 2 ++ docsetup.A5.tex | 2 ++ docsetup.Nook.tex | 21 +++++++++++++++++++++ dottes.html.header | 4 +++- dottes.tex | 1 - makeAll.sh | 2 ++ 7 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 docclass.Nook.tex create mode 100644 docsetup.Nook.tex diff --git a/docclass.Nook.tex b/docclass.Nook.tex new file mode 100644 index 0000000..af48177 --- /dev/null +++ b/docclass.Nook.tex @@ -0,0 +1 @@ +\documentclass[a5paper,11pt,openany]{book} diff --git a/docsetup.A4.tex b/docsetup.A4.tex index e2c9df4..019eba0 100644 --- a/docsetup.A4.tex +++ b/docsetup.A4.tex @@ -1,3 +1,5 @@ +\usepackage[margin=0.75in]{geometry} + % ----- % Title page diff --git a/docsetup.A5.tex b/docsetup.A5.tex index 3e0fe15..e7fa3ba 100644 --- a/docsetup.A5.tex +++ b/docsetup.A5.tex @@ -1,3 +1,5 @@ +\usepackage[margin=0.75in]{geometry} + % ----- % Title page diff --git a/docsetup.Nook.tex b/docsetup.Nook.tex new file mode 100644 index 0000000..549fc0e --- /dev/null +++ b/docsetup.Nook.tex @@ -0,0 +1,21 @@ +\usepackage[paperwidth=4.1in,paperheight=5in,left=0.1in,right=0.1in,top=0.5in,bottom=0.5in]{geometry} + +% ----- + +% Title page +\newfontfamily\havocfont[Scale=1.5]{English Towne} + +\newcommand*{\titleBoD}{\begingroup +\centering +{\Large \havocfont{Ye}}\\[\baselineskip] +{\Huge \havocfont{Crie Havock}}\\[\baselineskip] +{\Large \havocfont{Booke of}}\\[\baselineskip] +{\Huge \havocfont{\instrument Dottes}}\\[\baselineskip] +\vfill +{\huge \input{title.txt}}\\%[\baselineskip] +{\large \input{subtitle.txt}}\\[\baselineskip] +\vfill +\includegraphics[width=0.12\textwidth,keepaspectratio]{buzzard} +\vfill +{Compiled by Jim Hague}\\ +\endgroup} diff --git a/dottes.html.header b/dottes.html.header index 38fa6c4..20fa3de 100644 --- a/dottes.html.header +++ b/dottes.html.header @@ -24,7 +24,9 @@

@INTRO@

You can download a PDF with a booklet of these tunes. There is an A5 landscape book with one - tune per page, or an A4 book with two or + tune per page, a 4x5in portrait book + suitable for use with an eReader like a Kindle, Nook, Kobo etc., + and an A4 book with two or more tunes per page.

If you have a printer that can do duplex (i.e. print on both sides of the paper), you might like the diff --git a/dottes.tex b/dottes.tex index 80f4d6b..e57cf68 100644 --- a/dottes.tex +++ b/dottes.tex @@ -3,7 +3,6 @@ \usepackage{array} \usepackage{color} \usepackage{fontspec} -\usepackage[margin=0.75in]{geometry} \usepackage{graphicx} \usepackage{fancyhdr} \usepackage{tabularx} diff --git a/makeAll.sh b/makeAll.sh index 021809a..cb6b992 100755 --- a/makeAll.sh +++ b/makeAll.sh @@ -14,6 +14,7 @@ makeABooke() ./makeBooke.sh "$1" A4 ./makeBooke.sh "$1" A5 ./makeBooklet.sh "$1" + ./makeBooke.sh "$1" Nook ./makeWebGraphics.sh "$1" ./makeWebAudio.sh "$1" ./makeWeb.sh "$1" "$1" "$2" @@ -26,6 +27,7 @@ makeATransposedBooke() ./makeBooke.sh "$1" A4 ./makeBooke.sh "$1" A5 ./makeBooklet.sh "$1" + ./makeBooke.sh "$1" Nook ./makeWebGraphics.sh "$1" ./makeWeb.sh "$1" "$2" "$3" }