This repository has been archived by the owner on Sep 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
newfaq.tex
67 lines (59 loc) · 1.64 KB
/
newfaq.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
% 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}