Debian Codegraph @

test/okay/testbib4.out

raw
1 % /u/sy/beebe/tex/bibclean/testbib4.org, Mon Jan 18 09:52:55 1993
2 % Edit by Nelson H. F. Beebe <[email protected]>
3
4 % This file stress-tests bibclean and biblex by
5 % presenting them with input that has spaces
6 % liberally sprinkled throughout, especially
7 % between tokens. It is designed as a useful test
8 % of a proposed grammar for BibTeX.
9
10 %=================================================
11 % Test 1: simple case without extra spaces
12
13 @Preamble{"anythinggoes"}
14
15 @Include{a-file-name-goes-here}
16
17 @String{abb = "abbreviation"}
18
19 @Article{the-key,
20 author = "A. U. Thor",
21 title = "The Title",
22 journal = "The Journal",
23 year = "1993",
24 volume = "23",
25 number = "1",
26 pages = "17--21",
27 month = jan,
28 bibdate = "Mon Jan 18 09:59:44 1993",
29 }
30
31 %=================================================
32 % Test 2: simple one-line cases with intervening
33 % spaces
34
35 @Preamble{"anything goes"}
36
37 @Include{ a-file-name-goes-here}
38
39 @String{abb = "abbreviation"}
40
41 @Article{the-key,
42 author = "A. U. Thor",
43 title = "The Title",
44 journal = "The Journal",
45 year = "1993",
46 volume = "23",
47 number = "1",
48 pages = "17--21",
49 month = jan,
50 bibdate = "Mon Jan 18 09:59:44 1993",
51 }
52
53 %=================================================
54 % Test 3: change blanks to newlines in previous
55 % test
56
57 @Preamble{"anything goes"}
58
59 @Include{
60 a-file-name-goes-here}
61
62 @String{abb = "abbreviation"}
63
64 @Article{the-key,
65 author = "A. U. Thor",
66 title = "The Title",
67 journal = "The Journal",
68 year = "1993",
69 volume = "23",
70 number = "1",
71 pages = "17--21",
72 month = jan,
73 bibdate = "Mon Jan 18 09:59:44 1993",
74 }
75
76 %=================================================
77 % Test 4: change newlines to doubled newlines in
78 % previous test
79
80 @Preamble{"anything goes"}
81
82 @Include{
83
84 a-file-name-goes-here}
85
86 @String{abb = "abbreviation"}
87
88 @Article{the-key,
89 author = "A. U. Thor",
90 title = "The Title",
91 journal = "The Journal",
92 year = "1993",
93 volume = "23",
94 number = "1",
95 pages = "17--21",
96 month = jan,
97 bibdate = "Mon Jan 18 09:59:44 1993",
98 }
99
100 %=================================================
101 % Test 5: Change newline to
102 % newline-comment-newline in previous test.
103
104 @
105 % this is a comment
106 Preamble
107 % this is a comment
108 {% this is a comment
109 "anything" # % this is a comment
110 "goes"% this is a comment
111 }
112
113 % this is a comment
114
115 % this is a comment
116 @
117 % this is a comment
118 Include
119 % this is a comment
120 {
121 % this is a comment
122 a-file-name-goes-here
123 % this is a comment
124 }
125
126 % this is a comment
127
128
129 % this is a comment
130 @
131 % this is a comment
132 String
133 % this is a comment
134 {% this is a comment
135 abb% this is a comment
136 = % this is a comment
137 "abbreviation"% this is a comment
138 }
139
140 % this is a comment
141
142 % this is a comment
143
144 % this is a comment
145 @
146 % this is a comment
147 Article
148 % this is a comment
149 {the-key% this is a comment
150 ,
151 % this is a comment
152 author% this is a comment
153 = % this is a comment
154 "A. U. Thor"% this is a comment
155 ,
156 % this is a comment
157 title% this is a comment
158 = % this is a comment
159 "The Title"% this is a comment
160 ,
161 % this is a comment
162 journal% this is a comment
163 = % this is a comment
164 "The Journal"% this is a comment
165 ,
166 % this is a comment
167 year% this is a comment
168 = % this is a comment
169 "1993"% this is a comment
170 ,
171 % this is a comment
172 volume% this is a comment
173 = % this is a comment
174 "23"% this is a comment
175 ,
176 % this is a comment
177 number% this is a comment
178 = % this is a comment
179 "1"% this is a comment
180 ,
181 % this is a comment
182 pages% this is a comment
183 = % this is a comment
184 "17--21"% this is a comment
185 ,
186 % this is a comment
187 month% this is a comment
188 = % this is a comment
189 jan% this is a comment
190 ,
191 % this is a comment
192 bibdate% this is a comment
193 = % this is a comment
194 "Mon Jan 18 09:59:44 1993"% this is a comment
195 ,
196 % this is a comment
197 }
198
199 % this is a comment
200
201 %=================================================
202 % Test 7: other kinds of embedded space characters
203 % We add CR before LF, and insert FF VT before
204 % each entry.
205
206 @Preamble{"anythinggoes"}
207
208 @Include{a-file-name-goes-here}
209
210 @String{abb = "abbreviation"}
211
212 @Article{the-key,
213 author = "A. U. Thor",
214 title = "The Title",
215 journal = "The Journal",
216 year = "1993",
217 volume = "23",
218 number = "1",
219 pages = "17--21",
220 month = jan,
221 bibdate = "Mon Jan 18 09:59:44 1993",
222 }