% This is the UK TeX FAQ
%
\documentclass[a4paper]{faq}
%
\setcounter{errorcontextlines}{999}
%
% read the first two definitions of faqbody.tex for the file version
% and date
\afterassignment\endinput\input faqbody
%
\typeout{The UK TeX FAQ, v\faqfileversion, date \faqfiledate}
%
% let's not be too fussy while we're developing...
\hfuzz10pt
\emergencystretch10pt
%
\begin{document}
\title{The \acro{UK} \TeX{} \acro{FAQ}\\
  Your \ifpdf\ref*{lastquestion}\else\protect\ref{lastquestion}\fi
  \ Questions Answered\\
       version \faqfileversion, date \faqfiledate}
\author{} 
\maketitle

\centerline{\textsc{Note}}

\begin{quotation}\small
  This document is an updated and extended version of the \acro{FAQ} article
  that was published as the December 1994 and 1995, and March 1999
  editions of the \acro{UK}\,\acro{TUG} magazine \BV{} (which weren't
  formatted like this).

  The article is also available via the World Wide Web.
\end{quotation}

\ifsinglecolumn
  \tableofcontents
\else
  \begin{multicols}{2}
  \tableofcontents
  \end{multicols}
\fi

\Dings

% label list for later processing
\labellist

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% load the CTAN references if necessary
\input{dirctan}
\input{filectan}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ifsinglecolumn
  \input{faqbody}
\else
  \begin{multicols}{2}
  \input{faqbody}
  \end{multicols}
\fi

\typeout{*** That makes \thequestion\space questions ***}
\end{document}
