changeset 331:583c06d0e9ef

Add Nook-sized PDF output.
author Jim Hague <jim.hague@acm.org>
date Mon, 05 Aug 2013 18:06:19 +0100
parents 473d335235b8
children 419c5e1a6fb0
files docclass.Nook.tex docsetup.A4.tex docsetup.A5.tex docsetup.Nook.tex dottes.html.header dottes.tex makeAll.sh
diffstat 7 files changed, 31 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docclass.Nook.tex	Mon Aug 05 18:06:19 2013 +0100
@@ -0,0 +1,1 @@
+\documentclass[a5paper,11pt,openany]{book}
--- a/docsetup.A4.tex	Mon Aug 05 18:06:00 2013 +0100
+++ b/docsetup.A4.tex	Mon Aug 05 18:06:19 2013 +0100
@@ -1,3 +1,5 @@
+\usepackage[margin=0.75in]{geometry}
+
 % -----
 
 % Title page
--- a/docsetup.A5.tex	Mon Aug 05 18:06:00 2013 +0100
+++ b/docsetup.A5.tex	Mon Aug 05 18:06:19 2013 +0100
@@ -1,3 +1,5 @@
+\usepackage[margin=0.75in]{geometry}
+
 % -----
 
 % Title page
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docsetup.Nook.tex	Mon Aug 05 18:06:19 2013 +0100
@@ -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}
--- a/dottes.html.header	Mon Aug 05 18:06:00 2013 +0100
+++ b/dottes.html.header	Mon Aug 05 18:06:19 2013 +0100
@@ -24,7 +24,9 @@
       <p>@INTRO@
       <p>You can download a PDF with a booklet of these tunes. There is an
         <a href="@BOOK@-A5.pdf">A5 landscape book</a> with one
-        tune per page, or an <a href="@BOOK@-A4.pdf">A4 book</a> with two or
+        tune per page, a <a href="@BOOK@-Nook.pdf">4x5in portrait book</a>
+        suitable for use with an eReader like a Kindle, Nook, Kobo etc.,
+        and an <a href="@BOOK@-A4.pdf">A4 book</a> with two or
         more tunes per page.
       <p>If you have a printer that can do duplex (i.e. print on both sides
         of the paper), you might like the
--- a/dottes.tex	Mon Aug 05 18:06:00 2013 +0100
+++ b/dottes.tex	Mon Aug 05 18:06:19 2013 +0100
@@ -3,7 +3,6 @@
 \usepackage{array}
 \usepackage{color}
 \usepackage{fontspec}
-\usepackage[margin=0.75in]{geometry}
 \usepackage{graphicx}
 \usepackage{fancyhdr}
 \usepackage{tabularx}
--- a/makeAll.sh	Mon Aug 05 18:06:00 2013 +0100
+++ b/makeAll.sh	Mon Aug 05 18:06:19 2013 +0100
@@ -14,6 +14,7 @@
     ./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 @@
     ./makeBooke.sh "$1" A4
     ./makeBooke.sh "$1" A5
     ./makeBooklet.sh "$1"
+    ./makeBooke.sh "$1" Nook
     ./makeWebGraphics.sh "$1"
     ./makeWeb.sh "$1" "$2" "$3"
 }