Better doc.
[egate.git] / ccl / bib1
1 # $Id: bib1,v 1.6 1996/02/02 18:03:49 adam Exp $
2 # CCL qualifiers and their mapping to a bib-1 subset
3 #
4 # The following are mappings between qualifiers and bib-1 attributes
5 # Each line takes the form:
6 #   name      <type>=<val>,<val>..   <type>=<val> ...
7 # Where type is one of:
8 #    u       use-attribute          
9 #    r       relation-attribute    )
10 #    p       position-attribute
11 #    s       structure-attribute
12 #    t       truncation-attribute
13 #    c       completeness-attribute
14 #
15 # Special value for relation:
16 #    o       ordered. Tells the CCL parser to convert a ccl relation
17 #            to a bib-1 relation (1,2,..6).
18 # Special value for structure:
19 #    pw      phrase/word. The CCL parser will decide whether phrase or word
20 #            is needed. Phrase is used if term contain blanks; otherwise
21 #            Word is used.
22 # Special value for truncation:
23 #    l       Allow left truncation if ? is at left side of term.
24 #    r       Allow right truncation if ? is at left side of term.
25 #    b       Allow left&right truncation if ? is at left&right side of term.
26 #    n       Set truncation explicitly to "none" if no ? is given.
27 term s=pw   t=l,r
28 au   u=1    s=pw 
29 ti   u=4    s=pw
30 isbn u=7
31 issn u=8
32 cc   u=20
33 su   u=21   s=pw
34 date u=30   r=o s=pw
35 dp   u=31   r=o
36 da   u=32   r=o
37 la   u=54   s=pw
38 ab   u=62   s=pw
39 note u=63   s=pw
40 af   u=1006 s=pw
41 rel         s=9
42 cln
43
44 # Relation Attributes
45 rel:lt      r=1
46 rel:le      r=2
47 rel:eq      r=3
48 rel:ge      r=4
49 rel:gt      r=5
50 rel:ne      r=6
51 rel:phon    r=100
52 rel:stem    r=101
53 rel:rele    r=102
54 rel:alwa    r=103
55
56 # Position Attributes
57 pos:ff      p=1
58 pos:fs      p=2
59 pos:af      p=3
60
61 # Structure Attributes
62 str:wp      s=pw
63 str:phrase  s=1
64 str:word    s=2
65 str:key     s=3
66 str:year    s=4
67 str:date    s=5
68 str:wlist   s=6
69 str:dateu   s=100
70 str:daten   s=101
71 str:nameu   s=102
72 str:struc   s=103
73 str:urx     s=104
74 str:fft     s=105
75 str:dt      s=106
76 str:ln      s=107
77 str:str     s=108
78 str:num     s=109
79
80 # Truncation Attributes
81 tru:right   t=1
82 tru:left    t=2
83 tru:both    t=3
84 tru:none    t=100
85 tru:proh    t=101
86 tru:re1     t=102
87 tru:re2     t=103
88
89 # Completeness Attributes
90 com:is      c=1
91 com:cs      c=2
92 com:cf      c=3
93