Received: by nummer-3.proteosys id <01C19443.9D5F1DEC@nummer-3.proteosys>; Thu, 3 Jan 2002 11:44:26 +0100 Return-Path: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C19443.9D5F1DEC" x-vm-v5-data: ([nil nil nil nil nil nil nil nil nil][nil nil nil nil nil nil nil nil nil nil nil nil "^From:" nil nil nil]) X-MimeOLE: Produced By Microsoft Exchange V6.5 x-vm-vheader: ("From:" "Sender:" "Resent-From" "To:" "Apparently-To:" "Cc:" "Subject:" "Date:" "Resent-Date:") nil x-vm-bookmark: 1 Content-class: urn:content-classes:message Subject: {1} example validation file Date: Mon, 2 Mar 1992 17:57:45 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Frank Mittelbach" Sender: "LaTeX-L Mailing list" To: "Multiple recipients of" Reply-To: "LaTeX-L Mailing list" Status: R X-Status: X-Keywords: X-UID: 602 This is a multi-part message in MIME format. ------_=_NextPart_001_01C19443.9D5F1DEC Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Here is a file that tests some of the last bugs corrected (or not = corrected) in latex.tex. This is more or less the way I hope to get test files from you. (Only additional with the log file checked already by you :-) Frank ---------- \def\dotrace{{\globaldefs1\tracingall}} % % test files for latex.tex testing bugs: % % 207-205 % 200-199 % 195-193 % 191-190 % 184 % 181 % 179 % 177 % 174 % 170 \typeout{OMIT} \documentstyle{article} \typeout{TIMO} \setlength{\textheight}{.5\textheight} \scrollmode % 176. \maketitle or other commands that internally invoke a list % environment would not be detected before \begin{document}. (Corrected % 26 Aug 91.) NOTE: THIS CHANGE AFFECTS ALL STYLES AND STYLE OPTIONS % THAT CHANGE THE \begin{document} COMMAND! IT IS NECESSARY TO ADD % \@noskipsecfalse. % \author{FMi} \title{\LaTeX{} bug fix test} \maketitle \begin{center} Still found? \end{center} % 174. Extra blank space between the second and third mandatory argument % of \newenvironment and \renewenvironment would lead to an % unintelligible error message. (Long known. Change made 26 Aug 91.) % \newenvironment{messy} {start messy} {stop messy} % 205. Use of a nonexisting theorem environment in the first optional % argument to \newtheorem led to an incomprehensible error message. % (Reported by Luzia Dietsche. Fixed 10 Jan 92.) % % bug (205) this is not a fix but a bug! \newtheorem{foo}[xyzbar]{FOO} \newtheorem{xyzbar}{BAR} \begin{document} \maktitle % 200. Corrected an obscure bug in the output routine that could cause a % division by zero when \twocolumn[] was used. (Suggested by Chris % Rowley. Corrected 22 Nov 91.) % % bug (200) not sure if this really tests 200! \twocolumn[] % 181. \protect'ed the \LaTeX and \SLiTeX logos, as a consequence of % change 178. (Change made 17 Oct 91.) % % 177. Moved the \SLiTeX logo to latex.tex so that it can be used in % LaTeX as well. (Change made 29 Sep 91.) % % bug (181) + (177) \section{A \LaTeX{} logo} \subsection{A \SliTeX{} logo} % bug (205) cont. \begin{foo} A test \end{foo} % bug (174) cont. jo, \begin{messy} jo \end{messy} jo % 199. Changed definition of \item to call \makelabel only once instead % of twice. This solves a number of problems with side effects in % \makelabel, and is even more efficient. (Change made 22 Nov 91.) % % bug (199) \begin{enumerate} \item[\stepcounter{enumi}\theenumi.] should start with 1 not 2! \item \end{enumerate} % 195. \cite will now ignore leading blanks in a citation key. (Change % made 6 Nov 91.) % % bug (195) not fully corrected so far! \cite{ abc} and \cite{abc, abc} % 163. When a double-column figure or table that is too large to fit on % a page is encountered when producing two-column output, that figure = and % all subsequent ones are never printed. (Reported 13 Mar 91 by David % Long. Corrected 15 Mar 91.) % % 194. Added warning message when height of single column float exceeds % \textheight. (Change made 6 Nov 91.) % % bug (163) + (194) \begin{figure} \framebox[\linewidth]{% \parbox{\textwidth}{\vspace{1.2\textheight}}} \caption{Too long} \end{figure} \begin{figure} \tiny tiny \caption{Real small} \end{figure} % 170. A \samepage declaration would not prevent a verbatim environment % from being broken across pages. (Corrected 27 Jul 91.) % % bug (170) \begin{samepage} \begin{verbatim} q w e r t y u i o p a s d f g h j k l enough? \end{verbatim} \end{samepage} % 193. Added a lot of missing \m@th (mathsurround=3D0pt) assignments. % (Changes made 4 Nov 91.) % % bug (193) % not tested \@dottedtocline \onecolumn { \setlength{\mathsurround}{27pt} \{ \} \frame{\parbox{1cm}{A}} \frame{\begin{minipage}{1cm}B\end{minipage}} \underline{C} E \begin{tabular}{|c|}D\end{tabular} E % shows ignore bug! \[ F\begin{array}{|r|}G\end{array}H \] I\footnote{J} K$x$L \showoutput \scrollmode % who added \errorstopmode inti \showoutput? \newpage } % 191. Added default definition of \makelabel, so that an \item command % outside a list environment gives a sensible error message instead of % messing up the whole job. (Change made 4 Nov 91.) % % bug (191) \item % 190. Fragile commands in the definition of \thefootnote led to an % error, even with the use of \protect. (Found by Chris Hamlin. % Corrected 1 Nov 91.) % % bug (190) not okay! % %\renewcommand{\thefootnote}{\protect\framebox{\arabic{footnote}}} %A\footnote{B} % 184. Added \reset@font in \ref, \pageref, and \@citex. (Suggested by % Bernd Raichle. Change made 25 Oct 91.) % % bug (184) only NFSS {\sc A \ref{notfound} to \pageref{notfound} in \cite{notfound}.} % 179. Changed \output to reset \par to its default value. This avoids % problems when the output routine is called within a list where \par % may be a no-op. (Reported by Eberhard Mattes. Fix suggested by Chris % Rowley. Change made 29 Sep 91.) % % bug (179) % we need \def here! {\def\def{\typeout{Go to jail}} \newpage } % bug (195) cont. \begin{thebibliography}{ABCDEFG} \bibitem{abc} the entry abc % 206. As a consequence of change 66 in the styles (see below) labels in % the bibliography environment would now come out left aligned. % (Reported by Andy Fyfe. Corrected 14 Jan 92.) % % bug (206) I question this being a bug. It's rather a style change, but % anyway. \bibitem[ABC]{x1} check align \bibitem[ABCDE]{x2} check align \end{thebibliography} final text! % 207. A \tableoffigures at the end of the document would sometimes not % typeset the table. (Reported by Friedrich Haubensak. Corrected 14 Jan % 92.) % % bug (207) I hope I got it right: \newpage \def\section*#1{} \listoffigures \end{document} ------_=_NextPart_001_01C19443.9D5F1DEC Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable {1} example validation file

Here is a file that tests some of the last bugs = corrected (or not corrected)
in latex.tex. This is more or less the way I hope to = get test files from
you. (Only additional with the log file checked = already by you :-)

Frank


----------

\def\dotrace{{\globaldefs1\tracingall}}
%
% test files for latex.tex testing bugs:
%
% 207-205
% 200-199
% 195-193
% 191-190
% 184
% 181
% 179
% 177
% 174
% 170

\typeout{OMIT}
\documentstyle{article}
\typeout{TIMO}


\setlength{\textheight}{.5\textheight}

\scrollmode

% 176. \maketitle or other commands that internally = invoke a list
% environment would not be detected before = \begin{document}. (Corrected
% 26 Aug 91.) NOTE: THIS CHANGE AFFECTS ALL STYLES = AND STYLE OPTIONS
% THAT CHANGE THE \begin{document} COMMAND! IT IS = NECESSARY TO ADD
% \@noskipsecfalse.
%

\author{FMi}
\title{\LaTeX{} bug fix test}
\maketitle

\begin{center}
 Still found?
\end{center}

% 174. Extra blank space between the second and third = mandatory argument
% of \newenvironment and \renewenvironment would lead = to an
% unintelligible error message. (Long known. Change = made 26 Aug 91.)
%

\newenvironment{messy}
          &nbs= p;    {start messy}
          &nbs= p;    {stop messy}


% 205. Use of a nonexisting theorem environment in the = first optional
% argument to \newtheorem led to an incomprehensible = error message.
% (Reported by Luzia Dietsche. Fixed 10 Jan = 92.)
%
% bug (205) this is not a fix but a bug!

\newtheorem{foo}[xyzbar]{FOO}
\newtheorem{xyzbar}{BAR}

\begin{document}

\maktitle

% 200. Corrected an obscure bug in the output routine = that could cause a
% division by zero when \twocolumn[] was used. = (Suggested by Chris
% Rowley. Corrected 22 Nov 91.)
%
% bug (200) not sure if this really tests 200!

\twocolumn[]

% 181. \protect'ed the \LaTeX and \SLiTeX logos, as a = consequence of
% change 178. (Change made 17 Oct 91.)
%
% 177. Moved the \SLiTeX logo to latex.tex so that it = can be used in
% LaTeX as well. (Change made 29 Sep 91.)
%
% bug (181) + (177)

\section{A \LaTeX{} logo}
\subsection{A \SliTeX{} logo}

% bug (205) cont.

\begin{foo}
 A test
\end{foo}

% bug (174) cont.

jo, \begin{messy} jo \end{messy} jo

% 199. Changed definition of \item to call \makelabel = only once instead
% of twice. This solves a number of problems with = side effects in
% \makelabel, and is even more efficient. (Change = made 22 Nov 91.)
%
% bug (199)

\begin{enumerate}
\item[\stepcounter{enumi}\theenumi.]
  should start with 1 not 2!
\item
\end{enumerate}


% 195. \cite will now ignore leading blanks in a = citation key. (Change
% made 6 Nov 91.)
%
% bug (195) not fully corrected so far!

\cite{ abc} and \cite{abc, abc}



% 163.  When a double-column figure or table that = is too large to fit on
% a page is encountered when producing two-column = output, that figure and
% all subsequent ones are never printed.  = (Reported 13 Mar 91 by David
% Long. Corrected 15 Mar 91.)
%
% 194. Added warning message when height of single = column float exceeds
% \textheight. (Change made 6 Nov 91.)
%
% bug (163) + (194)

\begin{figure}
\framebox[\linewidth]{%
   = \parbox{\textwidth}{\vspace{1.2\textheight}}}
\caption{Too long}
\end{figure}

\begin{figure}
\tiny tiny
\caption{Real small}
\end{figure}


% 170. A \samepage declaration would not prevent a = verbatim environment
% from being broken across pages. (Corrected 27 Jul = 91.)
%
% bug (170)

\begin{samepage}
\begin{verbatim}
q
w
e
r
t
y
u
i
o
p
a
s
d
f
g
h
j
k
l
enough?
\end{verbatim}
\end{samepage}




% 193. Added a lot of missing \m@th = (mathsurround=3D0pt) assignments.
% (Changes made 4 Nov 91.)
%
% bug (193)
% not tested \@dottedtocline

\onecolumn

{
\setlength{\mathsurround}{27pt}

\{ \}
\frame{\parbox{1cm}{A}}
\frame{\begin{minipage}{1cm}B\end{minipage}}
\underline{C}
E \begin{tabular}{|c|}D\end{tabular} E  % shows = ignore bug!
\[
   F\begin{array}{|r|}G\end{array}H
\]
I\footnote{J} K$x$L

\showoutput
\scrollmode         = ;  % who added \errorstopmode inti \showoutput?

\newpage

}

% 191. Added default definition of \makelabel, so that = an \item command
% outside a list environment gives a sensible error = message instead of
% messing up the whole job. (Change made 4 Nov = 91.)
%
% bug (191)

\item

% 190. Fragile commands in the definition of = \thefootnote led to an
% error, even with the use of \protect. (Found by = Chris Hamlin.
% Corrected 1 Nov 91.)
%
% bug (190) not okay!
%
%\renewcommand{\thefootnote}{\protect\framebox{\arabic{footnote}= }}
%A\footnote{B}

% 184. Added \reset@font in \ref, \pageref, and = \@citex. (Suggested by
% Bernd Raichle. Change made 25 Oct 91.)
%
% bug (184) only NFSS

{\sc A \ref{notfound} to \pageref{notfound} in = \cite{notfound}.}


% 179. Changed \output to reset \par to its default = value. This avoids
% problems when the output routine is called within a = list where \par
% may be a no-op. (Reported by Eberhard Mattes. Fix = suggested by Chris
% Rowley. Change made 29 Sep 91.)
%
% bug (179)
% we need \def here!

{\def\def{\typeout{Go to jail}}

\newpage
}

% bug (195) cont.

\begin{thebibliography}{ABCDEFG}
\bibitem{abc} the entry abc

% 206. As a consequence of change 66 in the styles = (see below) labels in
% the bibliography environment would now come out = left aligned.
% (Reported by Andy Fyfe. Corrected 14 Jan = 92.)
%
% bug (206) I question this being a bug. It's rather = a style change, but
% anyway.

\bibitem[ABC]{x1} check align
\bibitem[ABCDE]{x2} check align
\end{thebibliography}

final text!

% 207. A \tableoffigures at the end of the document = would sometimes not
% typeset the table. (Reported by Friedrich = Haubensak. Corrected 14 Jan
% 92.)
%
% bug (207) I hope I got it right:

\newpage
\def\section*#1{}
\listoffigures

\end{document}

------_=_NextPart_001_01C19443.9D5F1DEC--