1 % \iffalse meta-comment
3 % Copyright (C) 1994 by Rainer Schoepf.
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 LaTeX2e bug report #9.
16 % \label not producing correct labels in eqnarray.
18 \documentclass{article}
20 % Input the test macros for LaTeX2e
23 % Everything before this is ignored by the test system.
28 % Declare the format used on the original run, as printed by
31 \FORMAT{LaTeX2e<1993/12/24>}
33 % Article document style for this test. We need to have a
34 % minimal font setup, for the last few tests, otherwise we
35 % could have done this with no documentclass.
45 \chapter{Demonstration of eqnarray bug}
47 x_1 &=& y_1 \label{eqn-1} \\
48 x_2 &=& y_2 \label{eqn-2} \\
49 x_3 &=& y_3 \label{eqn-3}
51 The three equations above are apparently labelled \ref{eqn-1}, \ref{eqn-2} and