| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
# |
|
2
|
|
|
|
|
|
|
# bibliography package for Perl |
|
3
|
|
|
|
|
|
|
# |
|
4
|
|
|
|
|
|
|
# None character set. (for those formats with no character set) |
|
5
|
|
|
|
|
|
|
# |
|
6
|
|
|
|
|
|
|
# Dana Jacobsen (dana@acm.org) |
|
7
|
|
|
|
|
|
|
# 18 November 1995 |
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
package bp_cs_none; |
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
###### |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
$bib'charsets{'none', 'i_name'} = 'none'; |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
$bib'charsets{'none', 'tocanon'} = "bp_cs_none'tocanon"; |
|
16
|
|
|
|
|
|
|
$bib'charsets{'none', 'fromcanon'} = "bp_cs_none'fromcanon"; |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
$bib'charsets{'none', 'toesc'} = "[\000]"; |
|
19
|
|
|
|
|
|
|
$bib'charsets{'none', 'fromesc'} = "[\x00-\x1F\200-\377]|${bib'cs_ext}|${bib'cs_meta}"; |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
###### |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
#$search = |
|
24
|
|
|
|
|
|
|
#"\xc0\xc1\xc2\xc3\xc4\xc5\xc7\xc8\xc9\xcA\xcb\xcc\xcd\xce\xcf\xd1" . |
|
25
|
|
|
|
|
|
|
#"\xd2\xd3\xd4\xd5\xd6\xd8\xd9\xda\xdb\xdc\xdd" . |
|
26
|
|
|
|
|
|
|
#"\xe0\xe1\xe2\xe3\xe4\xe5\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf1" . |
|
27
|
|
|
|
|
|
|
#"\xf2\xf3\xf4\xf5\xf6\xf8\xf9\xfa\xfb\xfc\xfd\xff"; |
|
28
|
|
|
|
|
|
|
# |
|
29
|
|
|
|
|
|
|
#$replace = |
|
30
|
|
|
|
|
|
|
#"AAAAAACEEEEIIIIN" . |
|
31
|
|
|
|
|
|
|
#"OOOOOOUUUUY" . |
|
32
|
|
|
|
|
|
|
#"aaaaaaceeeeiiiin" . |
|
33
|
|
|
|
|
|
|
#"oooooouuuuyy"; |
|
34
|
|
|
|
|
|
|
# |
|
35
|
|
|
|
|
|
|
#&bib'goterror("cs-none search and replace lists are the wrong size!") |
|
36
|
|
|
|
|
|
|
# unless length($search) == length($replace); |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
###### |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
sub tocanon { |
|
41
|
|
|
|
|
|
|
# Nothing for us to do. |
|
42
|
0
|
|
|
0
|
|
|
$_[0]; |
|
43
|
|
|
|
|
|
|
} |
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
###### |
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
sub fromcanon { |
|
48
|
0
|
|
|
0
|
|
|
local($_) = @_; |
|
49
|
|
|
|
|
|
|
|
|
50
|
0
|
0
|
|
|
|
|
if (/[\200-\377]/) { |
|
51
|
|
|
|
|
|
|
#eval "tr/$search/$replace/"; |
|
52
|
0
|
|
|
|
|
|
tr/\240\xc0\xc1\xc2\xc3\xc4\xc5\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd1\xd2\xd3\xd4\xd5\xd6\xd8\xd9\xda\xdb\xdc\xdd/ AAAAAACEEEEIIIINOOOOOOUUUUY/; |
|
53
|
0
|
|
|
|
|
|
tr/\xe0\xe1\xe2\xe3\xe4\xe5\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf1\xf2\xf3\xf4\xf5\xf6\xf8\xf9\xfa\xfb\xfc\xfd\xff/aaaaaaceeeeiiiinoooooouuuuyy/; |
|
54
|
|
|
|
|
|
|
|
|
55
|
0
|
0
|
|
|
|
|
if (/[\200-\377]/) { |
|
56
|
0
|
|
|
|
|
|
s/\xC6/AE/g; |
|
57
|
0
|
|
|
|
|
|
s/\xE6/ae/g; |
|
58
|
0
|
|
|
|
|
|
s/[\200-\377]//g; |
|
59
|
|
|
|
|
|
|
} |
|
60
|
|
|
|
|
|
|
} |
|
61
|
|
|
|
|
|
|
|
|
62
|
0
|
0
|
|
|
|
|
if (/$bib'cs_escape/o) { |
|
63
|
0
|
|
|
|
|
|
local($repl, $can); |
|
64
|
0
|
|
|
|
|
|
s/${bib'cs_meta}....//g; |
|
65
|
0
|
|
|
|
|
|
while (/${bib'cs_ext}(....)/) { |
|
66
|
0
|
|
|
|
|
|
$repl = $1; |
|
67
|
0
|
|
|
|
|
|
$can = &bib'unicode_approx($repl); |
|
68
|
0
|
0
|
0
|
|
|
|
defined $can && s/$bib'cs_ext$repl/$can/g && next; |
|
69
|
0
|
|
|
|
|
|
s/${bib'cs_ext}$repl//g; |
|
70
|
|
|
|
|
|
|
} |
|
71
|
|
|
|
|
|
|
} |
|
72
|
0
|
|
|
|
|
|
tr/\x00-\x1F//d; |
|
73
|
|
|
|
|
|
|
|
|
74
|
0
|
|
|
|
|
|
$_; |
|
75
|
|
|
|
|
|
|
} |
|
76
|
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
####################### |
|
78
|
|
|
|
|
|
|
# end of package |
|
79
|
|
|
|
|
|
|
####################### |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
1; |