view dottes.tex.header @ 120:4b0025be9d22

Try to cope with Squeeze and Sid xetex problems. On Sid, "xdvipdfmx -p a5 -l" outputs its first page in A4 portrait. So guess which we're using and use the appropriate invocation.
author Jim Hague <jim.hague@acm.org>
date Fri, 13 Apr 2012 16:20:43 +0100
parents 8f3b50ede59c
children 295ba8275ab4
line wrap: on
line source

\documentclass[a5paper,landscape,11pt]{article}
\usepackage{fontspec}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{longtable}

\usepackage{hyperref}
\hypersetup{
    bookmarks=true,%
    colorlinks=true,%
    citecolor=black,%
    filecolor=black,%
    linkcolor=black,%
    urlcolor=black
}

% ----- Common variables

\def \build {\input{buildno.txt}}

% ----- Appearance

%\setmainfont{Century Schoolbook L}
\setmainfont{Times New Roman}

% ----- Page setup

\setlength{\parindent}{0pt}

% Adjust margins for A5 landscape. Increase width by 2cm and height by 4cm.
\addtolength{\textwidth}{2cm}
\addtolength{\hoffset}{-1cm}

\addtolength{\textheight}{4cm}
\addtolength{\voffset}{-2cm}

% -----

\begin{document}

% ----- Headers and footers

\pagestyle{fancyplain}
\fancyhf{}
\lfoot{Issue \build}
\rfoot{\thepage}
\renewcommand{\headrulewidth}{0pt}

% ----- Title page and contents

\title{Ye Crie Havock Booke of Dottes \\ \input{subtitle.txt}}

\author{Cry Havoc}

\date{\today}

\maketitle

\newpage

\tableofcontents

\newpage

% -----

\section{Introduction}

\input{intro.txt}

This book is a work in progress. You can download the latest version from
\url{http://lists.cryhavoc.org.uk/dottes}.

% -----

\section{Tunes}

Tunes are arranged in alphabetical order of tune title.

\newpage