\documentclass[a4paper,twocolumn,dvips]{book}
\usepackage[dvips=false,pdftex=false,vtex=false]{geometry}
\usepackage{ifpdf}
\ifpdf
  \usepackage[pdftex]{graphicx,color}
\else
  \usepackage{graphicx,color}
\fi
\usepackage{times}
\usepackage{fancyhdr}
\usepackage{ifthen}

\input{mydefs}

\fancyhead{} % clear all fields
\fancyhead[LE,RO]{\leftmark}		% left-even, right-odd
\fancyhead[RE,LO]{VIPS Manual}		% right-even, left-odd
\fancyfoot[LE,RO]{\thepage}		% left-even, right-odd
\fancyfoot[RE,LO]{November 2014}		

\begin{document}

\pagenumbering{roman}

\begin{titlepage}
\thispagestyle{empty}
\begin{center}
\huge
VIPS Manual\\
\large Version 7.42\\
\vspace{0.5in}
\large
John Cupitt,
Kirk Martinez\\
\end{center}

VIPS is currently (v. 7.42, November 2014) in an API transition. The API as
documented in 7.24 is still complete and supported and is the one you should
use. The 8.0 API is not yet done and may still change before completion.

% hmm ... must be a better way to get the quote at the bottom of the page
\vspace{5in}

This manual formatted \today
\setcounter{page}{1}
\end{titlepage}

% \blankpage
\tableofcontents
\thispagestyle{plain}

% \blankpage
\listoffigures
\thispagestyle{plain}

% \blankpage
\listoftables
\thispagestyle{plain}

% \blankpage
\pagenumbering{arabic}
\thispagestyle{plain}
\cfoot{}

\chapter{VIPS from C++ and Python}

\input{cppintro}
\input{fileformat}
\input{vimage}
\input{vmask}
\input{vdisplay}
\input{verror}

\chapter{VIPS for C programmers}

\input{applintro}
\input{iosys}
\input{func}
\input{object}
\input{format}
\input{interpolate}

\chapter{Writing VIPS operations}

\input{operintro}
\input{wio}
\input{pio}
\input{ipio}

\chapter{VIPS reference}

\input{refintro}
\input{packages}

\end{document}
