1 % \iffalse meta-comment
3 % Copyright (C) 1992 by David Carlisle, Frank Mittelbach.
6 % This file is part of the validate package.
10 % You are not allowed to change this file. In case of error
11 % write to the email address mentioned in the file readme.val.
15 % Test file for latex.tex containing checks for the bug fixes
16 % 178-179-181-207-213-218 from latex.bug
21 \ADDRESS{flipo@alea.citilille.fr}
23 \FORMAT{LaTeX2e<1994/06/01>}
28 \documentclass{article}
30 \pagestyle{headings}% for bug 218
31 %\pagestyle{myheadings}% for bug 218
34 \nonstopmode\tracingonline1
40 \typeout{*** Bug 178 ***}
47 %178. Added \reset@font at several places where \rm appears: the number
48 %of an equation, for the \LaTeX and \SLiTeX logos, and for the text of
49 %footnotes. (Change made 29 Sep 91.)
52 \LaTeX{}\footnote{How does equation~\ref{Euler} look like in \LaTeX?}
53 enables to number equations:
55 e^{i\pi}=-1\label{Euler}
60 %179. Changed \output to reset \par to its default value. This avoids
61 %problems when the output routine is called within a list where \par
62 %may be a no-op. (Reported by Eberhard Mattes. Fix suggested by Chris
63 %Rowley. Change made 29 Sep 91.)
65 %213. Added \@nmbrlistfalse to \trivlist. This fixes some weird problem
66 %occuring with multiline running heads and a page break in a numbered
67 %list. (Suggested by Alexander Durner. Corrected 18 Mar 92.)
70 \typeout{*** Bug 179-213 ***}
89 %181. \protect'ed the \LaTeX and \SLiTeX logos, as a consequence of
90 %change 178. (Change made 17 Oct 91.)
93 \typeout{*** Bug 181 ***}
97 \section{\LaTeX{} logo}
99 Nothing to say about it.
101 \newpage% check the page headings (this page and the next one)
103 %207. A \tableoffigures (\listoffigures ???) at the end of the document
104 %would sometimes not typeset the table. (Reported by Friedrich Haubensak.
105 % Corrected 14 Jan92.)
108 \typeout{*** Bug 207 ***}
114 This is a figure labelled~\ref{Fig1}
116 \begin{figure}[hb]\label{Fig1}
118 \framebox[4in]{\rule{0pt}{0.5in}}
120 \caption{Dummy figure}
122 % see just before \end{document}: \listoffigures
124 %218. A \protect\\ in the optional argument of a sectioning command
125 %leads to extra rubber space in the running head in the myheadings
126 %pagestyle. (Found by Robert Bittl.)
128 % Not corrected yet? What kind of stuff goes into the headings with
129 % `myheadings' pagestyle? Tried here with \pagestyle{headings}, there is
130 % indeed some rubber space between `line 1' and `line 2' in the running
134 \typeout{*** Bug 218 ***}
140 \section[Line~1\protect\\line~2]{Two lines section-title (in the toc only)}
142 %%%%%%%%%%%%%%%%%%%%%%%%%%%
143 \tableofcontents%for bug 181 and 218
147 \listoffigures%for bug 207