summaryrefslogtreecommitdiff
path: root/biblio/bibtex/utils/bibextract/bibextract.txt
blob: 74ccb26360171454b5548fda6a41f63a58b2d5dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
%!PS-Adobe-3.0
%%Creator: groff version 1.16.1
%%CreationDate: Sat Aug 25 18:47:50 2001
%%DocumentNeededResources: font Times-Roman
%%+ font Times-Bold
%%+ font Times-Italic
%%DocumentSuppliedResources: procset grops 1.16 1
%%Pages: 2
%%PageOrder: Ascend
%%Orientation: Portrait
%%EndComments
%%BeginProlog
%%BeginResource: procset grops 1.16 1
/setpacking where{
pop
currentpacking
true setpacking
}if
/grops 120 dict dup begin
/SC 32 def
/A/show load def
/B{0 SC 3 -1 roll widthshow}bind def
/C{0 exch ashow}bind def
/D{0 exch 0 SC 5 2 roll awidthshow}bind def
/E{0 rmoveto show}bind def
/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def
/G{0 rmoveto 0 exch ashow}bind def
/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/I{0 exch rmoveto show}bind def
/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def
/K{0 exch rmoveto 0 exch ashow}bind def
/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/M{rmoveto show}bind def
/N{rmoveto 0 SC 3 -1 roll widthshow}bind def
/O{rmoveto 0 exch ashow}bind def
/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/Q{moveto show}bind def
/R{moveto 0 SC 3 -1 roll widthshow}bind def
/S{moveto 0 exch ashow}bind def
/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/SF{
findfont exch
[exch dup 0 exch 0 exch neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
/MF{
findfont
[5 2 roll
0 3 1 roll
neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
/level0 0 def
/RES 0 def
/PL 0 def
/LS 0 def
/MANUAL{
statusdict begin/manualfeed true store end
}bind def
/PLG{
gsave newpath clippath pathbbox grestore
exch pop add exch pop
}bind def
/BP{
/level0 save def
1 setlinecap
1 setlinejoin
72 RES div dup scale
LS{
90 rotate
}{
0 PL translate
}ifelse
1 -1 scale
}bind def
/EP{
level0 restore
showpage
}bind def
/DA{
newpath arcn stroke
}bind def
/SN{
transform
.25 sub exch .25 sub exch
round .25 add exch round .25 add exch
itransform
}bind def
/DL{
SN
moveto
SN
lineto stroke
}bind def
/DC{
newpath 0 360 arc closepath
}bind def
/TM matrix def
/DE{
TM currentmatrix pop
translate scale newpath 0 0 .5 0 360 arc closepath
TM setmatrix
}bind def
/RC/rcurveto load def
/RL/rlineto load def
/ST/stroke load def
/MT/moveto load def
/CL/closepath load def
/FL{
currentgray exch setgray fill setgray
}bind def
/BL/fill load def
/LW/setlinewidth load def
/RE{
findfont
dup maxlength 1 index/FontName known not{1 add}if dict begin
{
1 index/FID ne{def}{pop pop}ifelse
}forall
/Encoding exch def
dup/FontName exch def
currentdict end definefont pop
}bind def
/DEFS 0 def
/EBEGIN{
moveto
DEFS begin
}bind def
/EEND/end load def
/CNT 0 def
/level1 0 def
/PBEGIN{
/level1 save def
translate
div 3 1 roll div exch scale
neg exch neg exch translate
0 setgray
0 setlinecap
1 setlinewidth
0 setlinejoin
10 setmiterlimit
[]0 setdash
/setstrokeadjust where{
pop
false setstrokeadjust
}if
/setoverprint where{
pop
false setoverprint
}if
newpath
/CNT countdictstack def
userdict begin
/showpage{}def
}bind def
/PEND{
clear
countdictstack CNT sub{end}repeat
level1 restore
}bind def
end def
/setpacking where{
pop
setpacking
}if
%%EndResource
%%IncludeResource: font Times-Roman
%%IncludeResource: font Times-Bold
%%IncludeResource: font Times-Italic
grops begin/DEFS 1 dict def DEFS begin/u{.001 mul}bind def end/RES 72
def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron
/scaron/zcaron/Ydieresis/trademark/quotesingle/.notdef/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent
/ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen
/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon
/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O
/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/circumflex
/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y
/z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase/guillemotleft
/guillemotright/bullet/florin/fraction/perthousand/dagger/daggerdbl
/endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut
/dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash
/quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen
/brokenbar/section/dieresis/copyright/ordfeminine/guilsinglleft
/logicalnot/minus/registered/macron/degree/plusminus/twosuperior
/threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior
/ordmasculine/guilsinglright/onequarter/onehalf/threequarters
/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE
/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex
/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn
/germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash
/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
/Times-Italic@0 ENC0/Times-Italic RE/Times-Bold@0 ENC0/Times-Bold RE
/Times-Roman@0 ENC0/Times-Roman RE
%%EndProlog
%%Page: 1 1
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(BIBEXTRA)72 48 Q 317.42(CT\(1\) BIBEXTRA)-.4 F
(CT\(1\))-.4 E/F1 10.95/Times-Bold@0 SF -.219(NA)72 84 S(ME).219 E F0
(bibe)108 96 Q(xtract \255 e)-.15 E(xtract BibT)-.15 E
(eX entries from a list of .bib \214les)-.7 E F1(SYNOPSIS)72 112.8 Q/F2
10/Times-Bold@0 SF(bibextract)108 124.8 Q/F3 10/Times-Italic@0 SF -.1
(ke)2.5 G(ywor)-.2 E(d-r)-.37 E -1.8 -.4(eg e)-.37 H(xp value-r).2 E
-1.8 -.4(eg e)-.37 H(xp bib\214le\(s\)).2 E F1(DESCRIPTION)72 141.6 Q F2
(bibextract)108 153.6 Q F0 -.15(ex)2.791 G .291(tracts from a list of B)
.15 F/F4 8/Times-Roman@0 SF(IB)A F0(T)A(E)-1.667 2.4 M(X)-1.25 -2.4 M F3
(.bib)2.791 E F0 .291(\214les those bibliograph)2.791 F 2.791(ye)-.05 G
.291(ntries that match a pair of speci\214ed)-2.791 F(re)108 165.6 Q
.586(gular e)-.15 F .586(xpressions, sending them to)-.15 F F3(stdout)
3.086 E F0 3.086(,t).68 G .586(ogether with all B)-3.086 F F4(IB)A F0(T)
A(E)-1.667 2.4 M 3.087(X`)-1.25 -2.4 O -.834(`@Preamble{. . .}')-3.827 F
3.087('c)-.74 G .587(ommands, and)-3.087 F(just those `)108 177.6 Q
-.834(`@String{. . .}')-.74 F 2.5('c)-.74 G
(ommands that are actually used by the matched entries.)-2.5 E .148
(If no bibliograph)108 194.4 R 2.648<798c>-.05 G .148
(les are speci\214ed on the command line, then)-2.648 F F3(stdin)2.648 E
F0 .148(is read instead, so that)2.648 F F2(bibextract)2.647 E F0(can)
2.647 E(be used in a UNIX pipeline.)108 206.4 Q .627
(The order of entries, and spacing within `)108 223.2 R -.834
(`@Name{. . .}')-.74 F 3.127('t)-.74 G -.15(ex)-3.127 G .627
(t, is preserv).15 F .627(ed e)-.15 F(xactly)-.15 E 5.627(.S)-.65 G
(uccessi)-5.627 E .927 -.15(ve e)-.25 H .627(ntries are).15 F
(separated by a single blank line.)108 235.2 Q .586(The \214rst re)108
252 R(gular)-.15 E(-e)-.2 E .586(xpression pattern,)-.15 F F3 -.1(ke)
3.086 G(ywor)-.2 E(d-r)-.37 E -1.8 -.4(eg e)-.37 H(xp).2 E F0 3.086(,i)
.19 G 3.086(su)-3.086 G .586(sed to select which)-3.086 F F3 -1.11(``)
3.086 G -.1(ke)1.11 G(ywor)-.2 E 3.085(d=")-.37 G(value"')-3.085 E(')
-1.11 E F0 .585(pairs to)3.085 F -.15(ex)108 264 S .409
(amine further; it matches ag).15 F .409(ainst the k)-.05 F -.15(ey)-.1
G -.1(wo).15 G .409(rd part only).1 F 5.409(.I)-.65 G 2.909(tm)-5.409 G
.41(ay include alternate k)-2.909 F -.15(ey)-.1 G -.1(wo).15 G .41
(rds separated by).1 F -.15(ve)108 276 S .219(rtical bar).15 F 2.719(,s)
-.4 G .219(uch as "author|editor".)-2.719 F .218
(If it is an empty string, then the entire bibliographic entry te)5.218
F .218(xt, includ-)-.15 F(ing the entry type name, is e)108 288 Q
(xamined.)-.15 E 1.774(The second re)108 304.8 R(gular)-.15 E(-e)-.2 E
1.774(xpression pattern,)-.15 F F3(value-r)4.274 E -1.8 -.4(eg e)-.37 H
(xp).2 E F0 4.274(,i).19 G 4.274(su)-4.274 G 1.774
(sed to further select from the v)-4.274 F 1.775(alue strings of)-.25 F
F3 -1.11(``)108 316.8 S -.1(ke)1.11 G(ywor)-.2 E 2.637(d=")-.37 G
(value"')-2.637 E(')-1.11 E F0 .137(pairs the bibliograph)2.637 F 2.637
(ye)-.05 G .137(ntries to be output.)-2.637 F .137
(It too may contain alternates separated by)5.137 F -.15(ve)108 328.8 S
.032(rtical bar).15 F 2.532(,s)-.4 G .032(uch as "bro)-2.532 F 2.532
(wn|smith". The)-.25 F .033
(selection algorithm therefore consists of the logical AND of match)
2.533 F(successes ag)108 340.8 Q(ainst the k)-.05 E -.15(ey)-.1 G -.1
(wo).15 G(rd and v).1 E(alue strings.)-.25 E 3.273
(Letter case is ignored in re)108 357.6 R(gular)-.15 E(-e)-.2 E 3.273
(xpression matches, so that "Bro)-.15 F 3.272(wn|Smith", "BR)-.25 F -.35
(OW)-.4 G 3.272(N|smith", and).35 F("bro)108 369.6 Q(wn|smith" are equi)
-.25 E -.25(va)-.25 G 2.5(lent. The).25 F
(original letter case of the output entries is al)2.5 E -.1(wa)-.1 G
(ys preserv).1 E(ed.)-.15 E 1.019(If the input B)108 386.4 R F4(IB)A F0
(T)A(E)-1.667 2.4 M 3.52(Xd)-1.25 -2.4 O 1.02(ata comes from \214les na\
med on the command line, each output entry will contain a)-3.52 F
(\214nal k)108 398.4 Q -.15(ey)-.1 G(/v).15 E(alue pair of the form:)
-.25 E(bibsource =)113 410.4 Q("\214le://hostname/FILEN)10 E(AME",)-.35
E .162(The v)108 422.4 R .162(alue string is a W)-.25 F(orld-W)-.8 E
.162(ide W)-.4 F .162(eb Uniform Resource Locator)-.8 F 2.662(,w)-.4 G
.162(here FILEN)-2.662 F .162(AME is the full path name)-.35 F .408
(of the source \214le in which the entry w)108 434.4 R .408(as found.)
-.1 F .408(Such lines are silently ignored by standard B)5.408 F F4(IB)A
F0(T)A(E)-1.667 2.4 M 2.909(Xs)-1.25 -2.4 O(tyles,)-2.909 E(so the)108
446.4 Q 2.5(ya)-.15 G(re harmless, b)-2.5 E(ut the)-.2 E 2.5(yh)-.15 G
(elp to track the origin of bibliograph)-2.5 E 2.5(ye)-.05 G(ntries.)
-2.5 E(If you don')108 463.2 Q 2.5(tw)-.18 G(ant the)-2.6 E F3(bibsour)
2.5 E(ce)-.37 E F0(lines to be added, simply supply the B)2.5 E F4(IB)A
F0(T)A(E)-1.667 2.4 M 2.5<588c>-1.25 -2.4 O(le from)-2.5 E F3(stdin)2.5
E F0(.).24 E F2(bibextract)108 480 Q F0 1.809(can be used to e)4.31 F
1.809(xtract from a lar)-.15 F 1.809(ge B)-.18 F F4(IB)A F0(T)A(E)-1.667
2.4 M 4.309(Xb)-1.25 -2.4 O(ibliograph)-4.309 E 4.309(yd)-.05 G 1.809
(ata base just those bibliograph)-4.309 F(y)-.05 E
(entries that match a particular pair of re)108 492 Q(gular e)-.15 E
(xpressions.)-.15 E F2(bibextract)108 508.8 Q F0 -.15(ex)4.604 G 2.104
(pects the bibliograph).15 F 4.604<798c>-.05 G 2.104
(le\(s\) to be consistently formatted in the style produced by)-4.604 F
F2(bib-)4.605 E(clean)108 520.8 Q F0(\(1\), which allo)A
(ws use of simple pattern matching to recognize the required entries.)
-.25 E F1(EXAMPLES)72 537.6 Q F0(Here are some e)108 549.6 Q(xamples:)
-.15 E(Extract all entries mentioning chaos in an)108 566.4 Q 2.5<798c>
-.15 G(eld:)-2.5 E F2(bibextract)144 583.2 Q F3("" "c)2.5 E
(haos" bib\214le\(s\) >ne)-.15 E(w-bibte)-.15 E(x-\214le")-.2 E F0
(Extract entries with names Bro)108 600 Q
(wn or Smith occurring in either of the author or editor \214elds:)-.25
E F2(bibextract)144 616.8 Q F3("author|editor" "br)2.5 E
(own|smith" bib\214le\(s\) >ne)-.45 E(w-bibte)-.15 E(x-\214le)-.2 E F0
.503(Extract entries for titles containing the letter `z' an)108 633.6 R
.502(ywhere after a v)-.15 F -.25(ow)-.2 G .502
(el; note that single quotes are neces-).25 F(sary to pro)108 645.6 Q
(vide the necessary protection from shell e)-.15 E(xpansion:)-.15 E F2
(bibextract)144 662.4 Q F3("title" '[aeiou].*z' bib\214le\(s\) >ne)2.5 E
(w-bibte)-.15 E(x-\214le)-.2 E F0
(Extract all conference proceedings entries:)108 679.2 Q F2(bibextract)
144 696 Q F3("" '@pr)2.5 E(oceedings' bib\214le\(s\) >ne)-.45 E(w-bibte)
-.15 E(x-\214le)-.2 E F0 -1.11(Ve)72 768 S(rsion 1.09)1.11 E
(25 August 2001)151.505 E(1)197.055 E EP
%%Page: 2 2
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(BIBEXTRA)72 48 Q 317.42(CT\(1\) BIBEXTRA)-.4 F
(CT\(1\))-.4 E/F1 10.95/Times-Bold@0 SF -.11(BU)72 84 S(GS).11 E/F2 10
/Times-Bold@0 SF(bibextract)108 96 Q F0 .244
(is not smart enough to incorporate B)2.744 F/F3 8/Times-Roman@0 SF(IB)A
F0(T)A(E)-1.667 2.4 M 2.744(Xc)-1.25 -2.4 O .244
(ross references unless the)-2.744 F 2.744(ya)-.15 G .244(re themselv)
-2.744 F .245(es matched)-.15 F(by the speci\214ed re)108 108 Q(gular e)
-.15 E(xpression.)-.15 E(That feature should be added.)108 124.8 Q F1
(SEE ALSO)72 141.6 Q F2(bibcheck)108 153.6 Q F0(\(1\),)A F2(bibclean)
3.787 E F0(\(1\),)A F2(bibdup)3.787 E F0(\(1\),)A F2(bibjoin)3.786 E F0
(\(1\),)A F2(biblabel)3.786 E F0(\(1\),)A F2(biblex)3.786 E F0(\(1\),)A
F2(biborder)3.786 E F0(\(1\),)A F2(bibparse)3.786 E F0(\(1\),)A F2(bib-)
3.786 E(sort)108 165.6 Q F0(\(1\),)A F2(bibtex)2.5 E F0(\(1\),)A F2(bib)
2.5 E(unlex)-.2 E F0(\(1\),)A F2(citesub)2.5 E F0(\(1\),)A F2(citetags)
2.5 E F0(\(1\),)A F2(latex)2.5 E F0(\(1\),)A F2(gawk)2.5 E F0(\(1\),)A
F2(nawk)2.5 E F0(\(1\),)A F2(tex)2.5 E F0(\(1\).)A F1(FILES)72 182.4 Q
F0(/usr/local/share/lib/bibe)108 194.4 Q(xtract/bibe)-.15 E(xtract.a)
-.15 E(wk)-.15 E F2(nawk)10 E F0(\(1\) program for tag e)A(xtraction.)
-.15 E(/usr/local/bin/bibe)108 211.2 Q 90.79(xtract user)-.15 F
(-callable shell script to in)-.2 E -.2(vo)-.4 G -.1(ke).2 G F2(nawk)2.6
E F0(\(1\).)A F1 -.548(AU)72 228 S(THOR).548 E F0(Nelson H. F)108 240 Q
2.5(.B)-.8 G(eebe)-2.5 E(Center for Scienti\214c Computing)108 252 Q
(Uni)108 264 Q -.15(ve)-.25 G(rsity of Utah).15 E
(Department of Mathematics, 322 INSCC)108 276 Q(155 S 1400 E RM 233)108
288 Q(Salt Lak)108 300 Q 2.5(eC)-.1 G(ity)-2.5 E 2.5(,U)-.65 G 2.5(T8)
-2.5 G(4112-0090)-2.5 E(USA)108 312 Q -.7(Te)108 324 S
(l: +1 801 581 5254).7 E -.74(FA)108 336 S
(X: +1 801 585 1640, +1 801 581 4148).74 E
(Email: beebe@math.utah.edu, beebe@acm.or)108 348 Q(g, beebe@ieee.or)
-.18 E 2.5(g\()-.18 G(Internet\))-2.5 E(WWW)108 360 Q 2.5(:h)-.37 G
(ttp://www)-2.5 E(.math.utah.edu/~beebe)-.65 E -1.11(Ve)72 768 S
(rsion 1.09)1.11 E(25 August 2001)151.505 E(2)197.055 E EP
%%Trailer
end
%%EOF