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 LaTeX2.09 testing latex.bug (style) entries:
17 % 55. Style options files twocolumn and titlepage shortened to 8 chars.
18 % User interface preserved by adding \ds@titlepage etc. to input the
19 % coded name. This supports (most) OS with file length restrictions.
20 % (Change made 30 Mar 91.)
21 % 63. Change 55 caused the twocolumn document style option to no longer
22 % work since twocolumn.sty was read in too early. (Reported by Bernard
23 % Gaulle. Corrected 15 Oct 91.)
25 \documentstyle[twocolumn,titlepage]{report}
26 \title{Testing changes to {\tt twocolumn} and {\tt titlepage} option file
31 % Input the test macros for LaTeX2e
34 % Everything before this is ignored by the test system.
39 % Declare the format used on the original run, as printed by
42 \FORMAT{LaTeX Version 2.09 <18 March 1992>}
44 % Article document style for this test. We need to have a
45 % minimal font setup, for the last few tests, otherwise we
46 % could have done this with no documentstyle.
48 % \STYLE{article <14 Jan 92>}
49 \STYLE{report <14 Jan 92>}
50 % \STYLE{book <14 Jan 92>}
51 % \STYLE{letter <25 Mar 92>}
53 % no document style options for this test
55 \STYLEOPTIONS{twocolumn,titlepage}
57 % We are using a format based on basefont.tex - possible values
58 % here are: original oldlfont newlfont basefont
60 \FONTSELECTION{basefont}
62 % Optionally declare commands which are (or might be)
63 % defined in this `module' of LaTeX. Each command declared
64 % will be recorded in the .tlg file as Defined, Undefined,
65 % or Relaxed (ie \let to \relax, which LaTeX treats for most
66 % purposes as being undefined)
68 \declare@command\ds@twocolumn
69 \typeout{\meaning\ds@twocolumn}
70 \declare@command\ds@titlepage
71 \typeout{\meaning\ds@titlepage}
73 \chapter{be of some he commands insideally it should set}
76 The test should be written to show that the command meets its
77 specification. Ideally it should not fail if the command is correctly
78 re-implemented in a different way. This means that the primitive tracing
79 facilities like and should
80 probably not be used, as these reveal the implementation details of the
83 If the command involves visual formatting, one way to get information
84 into the file is to do all the commands inside
85 and then. Before showing
86 the box you should set and
87 to suitable values so that just the right amount of information
88 displayed. has a command called which can
91 might also be used (with
92 care), say if you were testing section headings at the top and bottom
93 of pages. Other useful commands are
94 which is like, but puts less junk in the file, and, which is like.
96 Please remember that it isn't sufficient to produce a test file that
97 shows the desired behavior in the file since this file will
98 not be inspected by the test system later on. Nevertheless, it is
99 often helpful to check the when creating a test file but you
100 have to make sure that the relevant information is also displayed in
103 The command involves like and should
104 probable values so then. Ideally it sure that the relp here.
106 mitive tracing a test file but you
109 into the file is like and should be written top and bottom
110 of the command called whication. Before showing
111 the desired behavior in the relevant it isn't suffich is like,
112 behavior in thelp here.
114 might also displayed in
115 the in the ee written to show that the command meets its
116 specification. Ideally it should not fail if the command is correctly
117 re-implemented in a different way. This means that the primitive tracing
118 facilities like and should
119 probably not be used, as these reveal the implementation details of the
122 If the command involves visual formatting, one way to get information
123 into the file is to do all the commands inside
124 and then. Before showing
125 the box you should set and
126 to suitable values so that just the right amount of information
127 displayed. has a command called which can
128 be of some help here.