1 % \iffalse meta-comment
3 % Copyright (C) 1995 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 #1596.
16 % Unterminated glue spec bug in seccntformat.
18 % Input the test macros for LaTeX2e
21 \documentclass{article}
23 % Everything before this is ignored by the test system.
26 \AUTHOR{Michael Downes}
28 % Declare the format used on the original run, as printed by
31 \FORMAT{LaTeX2e<1995/06/01>}
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.
39 \title{Test of seccntformat}
40 \author{Michael Downes}
43 % \@startsection with a negative value for arg 5 has a bug if the
44 % section title starts with "plus" or "minus".
45 \renewcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
46 {-3.25ex\@plus -1ex \@minus -.2ex}%
48 {\reset@font\large\bfseries}}
61 % Uncomment for tracing:
62 %\global\tracingmacros2\global\tracingcommands2\global\tracingonline0
63 \section{Plus or minus}
64 \subsection{Minus or plus}
65 If there's a bug, that should have produced an error.
66 %\global\tracingmacros0\global\tracingcommands0\global\tracingonline0