% 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 gather-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} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %\showthe\currentgrouplevel \begin{multicols}{2} %\expandafter\show\csname @currenvir\endcsname %\tracingnesting=2 \input{gather-faqbody} \end{multicols} %\showthe\currentgrouplevel %% (should be 0) % %\expandafter\show\csname @currenvir\endcsname %% (should be "document" \typeout{*** That makes \thequestion\space questions ***} \end{document}