isi 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +676 -0
- data/ChangeLog +8 -0
- data/NewsForRubyforge.txt +5 -2
- data/README +23 -17
- data/Rakefile +13 -18
- data/bin/isi2html +2 -2
- data/favicon.ico +0 -0
- data/index.en.html +333 -0
- data/index.ja.html +216 -0
- data/isi.gemspec +12 -10
- data/lib/isi.rb +28 -28
- data/style.css +63 -0
- metadata +14 -34
- data/html/classes/ARGF.html +0 -139
- data/html/classes/ARGF.src/M000005.html +0 -50
- data/html/classes/ISI_record.html +0 -212
- data/html/classes/ISI_record.src/M000002.html +0 -16
- data/html/classes/ISI_record.src/M000003.html +0 -40
- data/html/classes/ISI_record.src/M000004.html +0 -32
- data/html/classes/String.html +0 -179
- data/html/classes/String.src/M000001.html +0 -15
- data/html/created.rid +0 -1
- data/html/files/README.html +0 -365
- data/html/files/lib/isi_rb.html +0 -136
- data/html/files/lib/journaltitleabbreviation_rb.html +0 -104
- data/html/fr_class_index.html +0 -29
- data/html/fr_file_index.html +0 -29
- data/html/fr_method_index.html +0 -33
- data/html/index.html +0 -21
- data/html/rdoc-style.css +0 -299
@@ -1,50 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<title>read_an_ISI_record (ARGF)</title>
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
8
|
-
</head>
|
9
|
-
<body class="standalone-code">
|
10
|
-
<pre> <span class="ruby-comment cmt"># File lib/isi.rb, line 208</span>
|
11
|
-
208: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">ARGF</span>.<span class="ruby-identifier">read_an_ISI_record</span>
|
12
|
-
209: <span class="ruby-comment cmt"># singleton method (instance method associated only with ARGF)</span>
|
13
|
-
210: <span class="ruby-identifier">hash</span> = {}
|
14
|
-
211: <span class="ruby-keyword kw">while</span> <span class="ruby-identifier">line</span> = <span class="ruby-identifier">gets</span>
|
15
|
-
212: <span class="ruby-comment cmt">#===== a few special cases</span>
|
16
|
-
213: <span class="ruby-keyword kw">return</span> <span class="ruby-constant">ISI_record</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">hash</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">line</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^ER/</span>
|
17
|
-
214: <span class="ruby-keyword kw">next</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">line</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^(EF|FN|VR)/</span> <span class="ruby-comment cmt"># ignore file-unique tags</span>
|
18
|
-
215: <span class="ruby-keyword kw">next</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">line</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^\s*$/</span> <span class="ruby-comment cmt"># ignore blank lines</span>
|
19
|
-
216: <span class="ruby-keyword kw">while</span> <span class="ruby-identifier">line</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/\!$/</span>
|
20
|
-
217: <span class="ruby-identifier">line</span>.<span class="ruby-identifier">chomp!</span>.<span class="ruby-identifier">chop!</span> <span class="ruby-comment cmt"># continued to next line if the line ends with "!"</span>
|
21
|
-
218: <span class="ruby-identifier">line</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">gets</span>
|
22
|
-
219: <span class="ruby-keyword kw">end</span>
|
23
|
-
220: <span class="ruby-comment cmt">#===== Normal tags</span>
|
24
|
-
221: <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">line</span>
|
25
|
-
222: <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/^(AU|AF|CR) /</span>
|
26
|
-
223: <span class="ruby-identifier">tag</span> = <span class="ruby-identifier">$1</span>
|
27
|
-
224: <span class="ruby-identifier">authors</span> = [<span class="ruby-identifier">line</span>.<span class="ruby-identifier">chomp</span>.<span class="ruby-identifier">sub</span>(<span class="ruby-regexp re">/^(AU|AF|CR) /</span>,<span class="ruby-value str">''</span>)]
|
28
|
-
225: <span class="ruby-keyword kw">while</span> (<span class="ruby-identifier">line</span> = <span class="ruby-identifier">gets</span>) <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^ /</span>
|
29
|
-
226: <span class="ruby-identifier">authors</span>.<span class="ruby-identifier">push</span>(<span class="ruby-identifier">line</span>.<span class="ruby-identifier">chomp</span>.<span class="ruby-identifier">sub</span>(<span class="ruby-regexp re">/^\s+/</span>,<span class="ruby-value str">''</span>))
|
30
|
-
227: <span class="ruby-keyword kw">end</span>
|
31
|
-
228: <span class="ruby-identifier">hash</span>[<span class="ruby-identifier">tag</span>] = <span class="ruby-identifier">authors</span>
|
32
|
-
229: <span class="ruby-keyword kw">redo</span>
|
33
|
-
230: <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/^(NR|PG|PY|TC) (.*)$/</span>
|
34
|
-
231: <span class="ruby-identifier">hash</span>[<span class="ruby-identifier">$1</span>] = <span class="ruby-identifier">$2</span>.<span class="ruby-identifier">to_i</span>
|
35
|
-
232: <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/^(AB|AP|AR|BN|BP|C1|CA|CL|CT|CY|DE|DI|DT|ED|EM|EP|FN|FU|FX|GA|ID|IS|J9|JI|LA|PA|PD|PI|PN|PT|PU|RP|SC|SE|SI|SN|SO|SP|SU|TI|UT|VL) (.*)$/</span>
|
36
|
-
233: <span class="ruby-identifier">tag</span> = <span class="ruby-identifier">$1</span>
|
37
|
-
234: <span class="ruby-identifier">str</span> = <span class="ruby-identifier">$2</span>
|
38
|
-
235: <span class="ruby-keyword kw">while</span> (<span class="ruby-identifier">line</span> = <span class="ruby-identifier">gets</span>) <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^ /</span>
|
39
|
-
236: <span class="ruby-identifier">str</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">line</span>.<span class="ruby-identifier">chomp</span>.<span class="ruby-identifier">sub</span>(<span class="ruby-regexp re">/^ /</span>,<span class="ruby-value str">''</span>)
|
40
|
-
237: <span class="ruby-keyword kw">end</span>
|
41
|
-
238: <span class="ruby-identifier">hash</span>[<span class="ruby-identifier">tag</span>] = <span class="ruby-identifier">str</span>
|
42
|
-
239: <span class="ruby-keyword kw">redo</span>
|
43
|
-
240: <span class="ruby-keyword kw">else</span>
|
44
|
-
241: <span class="ruby-constant">STDERR</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"#{$FILENAME}:#{file.lineno}: Unknown tag: #{line}"</span>
|
45
|
-
242: <span class="ruby-keyword kw">end</span>
|
46
|
-
243: <span class="ruby-keyword kw">end</span>
|
47
|
-
244: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">nil</span>
|
48
|
-
245: <span class="ruby-keyword kw">end</span></pre>
|
49
|
-
</body>
|
50
|
-
</html>
|
@@ -1,212 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<title>Class: ISI_record [isi]</title>
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
8
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
9
|
-
<script type="text/javascript">
|
10
|
-
// <![CDATA[
|
11
|
-
|
12
|
-
function popupCode( url ) {
|
13
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
14
|
-
}
|
15
|
-
|
16
|
-
function toggleCode( id ) {
|
17
|
-
if ( document.getElementById )
|
18
|
-
elem = document.getElementById( id );
|
19
|
-
else if ( document.all )
|
20
|
-
elem = eval( "document.all." + id );
|
21
|
-
else
|
22
|
-
return false;
|
23
|
-
|
24
|
-
elemStyle = elem.style;
|
25
|
-
|
26
|
-
if ( elemStyle.display != "block" ) {
|
27
|
-
elemStyle.display = "block"
|
28
|
-
} else {
|
29
|
-
elemStyle.display = "none"
|
30
|
-
}
|
31
|
-
|
32
|
-
return true;
|
33
|
-
}
|
34
|
-
|
35
|
-
// Make codeblocks hidden by default
|
36
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
|
37
|
-
|
38
|
-
// ]]>
|
39
|
-
</script>
|
40
|
-
|
41
|
-
</head>
|
42
|
-
<body>
|
43
|
-
|
44
|
-
|
45
|
-
<div id="classHeader">
|
46
|
-
<table class="header-table">
|
47
|
-
<tr class="top-aligned-row">
|
48
|
-
<td><strong>Class</strong></td>
|
49
|
-
<td class="class-name-in-header">ISI_record</td>
|
50
|
-
</tr>
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>In:</strong></td>
|
53
|
-
<td>
|
54
|
-
|
55
|
-
|
56
|
-
<a href="../files/lib/isi_rb.html">
|
57
|
-
|
58
|
-
lib/isi.rb
|
59
|
-
|
60
|
-
</a>
|
61
|
-
|
62
|
-
|
63
|
-
<br />
|
64
|
-
|
65
|
-
</td>
|
66
|
-
</tr>
|
67
|
-
|
68
|
-
|
69
|
-
<tr class="top-aligned-row">
|
70
|
-
<td><strong>Parent:</strong></td>
|
71
|
-
<td>
|
72
|
-
|
73
|
-
Object
|
74
|
-
|
75
|
-
</td>
|
76
|
-
</tr>
|
77
|
-
|
78
|
-
</table>
|
79
|
-
</div>
|
80
|
-
<!-- banner header -->
|
81
|
-
|
82
|
-
<div id="bodyContent">
|
83
|
-
|
84
|
-
<div id="contextContent">
|
85
|
-
|
86
|
-
</div>
|
87
|
-
|
88
|
-
|
89
|
-
<div id="method-list">
|
90
|
-
<h3 class="section-bar">Methods</h3>
|
91
|
-
|
92
|
-
<div class="name-list">
|
93
|
-
|
94
|
-
<a href="#M000002">new</a>
|
95
|
-
|
96
|
-
<a href="#M000004">to_bibtex</a>
|
97
|
-
|
98
|
-
<a href="#M000003">to_tohoku_DB</a>
|
99
|
-
|
100
|
-
</div>
|
101
|
-
</div>
|
102
|
-
|
103
|
-
</div>
|
104
|
-
|
105
|
-
<!-- if includes -->
|
106
|
-
|
107
|
-
<div id="section">
|
108
|
-
|
109
|
-
<div id="constants-list">
|
110
|
-
<h3 class="section-bar">Constants</h3>
|
111
|
-
|
112
|
-
<div class="name-list">
|
113
|
-
<table summary="Constants">
|
114
|
-
|
115
|
-
<tr class="top-aligned-row context-row">
|
116
|
-
<td class="context-item-name">FMT</td>
|
117
|
-
<td>=</td>
|
118
|
-
<td class="context-item-value">Text::Format.new(:columns => 80, :first_indent => 1, :left_margin => 22)</td>
|
119
|
-
|
120
|
-
</tr>
|
121
|
-
|
122
|
-
</table>
|
123
|
-
</div>
|
124
|
-
</div>
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
<!-- if method_list -->
|
130
|
-
|
131
|
-
<div id="methods">
|
132
|
-
|
133
|
-
<h3 class="section-bar">Public Class methods</h3>
|
134
|
-
|
135
|
-
|
136
|
-
<div id="method-M000002" class="method-detail">
|
137
|
-
<a name="M000002"></a>
|
138
|
-
|
139
|
-
<div class="method-heading">
|
140
|
-
|
141
|
-
<a href="ISI_record.src/M000002.html" target="Code" class="method-signature"
|
142
|
-
onclick="popupCode('ISI_record.src/M000002.html');return false;">
|
143
|
-
|
144
|
-
<span class="method-name">new</span><span class="method-args">(hash)</span>
|
145
|
-
|
146
|
-
</a>
|
147
|
-
|
148
|
-
</div>
|
149
|
-
|
150
|
-
<div class="method-description">
|
151
|
-
|
152
|
-
</div>
|
153
|
-
</div>
|
154
|
-
|
155
|
-
|
156
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
157
|
-
|
158
|
-
|
159
|
-
<div id="method-M000004" class="method-detail">
|
160
|
-
<a name="M000004"></a>
|
161
|
-
|
162
|
-
<div class="method-heading">
|
163
|
-
|
164
|
-
<a href="ISI_record.src/M000004.html" target="Code" class="method-signature"
|
165
|
-
onclick="popupCode('ISI_record.src/M000004.html');return false;">
|
166
|
-
|
167
|
-
<span class="method-name">to_bibtex</span><span class="method-args">()</span>
|
168
|
-
|
169
|
-
</a>
|
170
|
-
|
171
|
-
</div>
|
172
|
-
|
173
|
-
<div class="method-description">
|
174
|
-
|
175
|
-
</div>
|
176
|
-
</div>
|
177
|
-
|
178
|
-
|
179
|
-
<div id="method-M000003" class="method-detail">
|
180
|
-
<a name="M000003"></a>
|
181
|
-
|
182
|
-
<div class="method-heading">
|
183
|
-
|
184
|
-
<a href="ISI_record.src/M000003.html" target="Code" class="method-signature"
|
185
|
-
onclick="popupCode('ISI_record.src/M000003.html');return false;">
|
186
|
-
|
187
|
-
<span class="method-name">to_tohoku_DB</span><span class="method-args">(tohoku_id, name)</span>
|
188
|
-
|
189
|
-
</a>
|
190
|
-
|
191
|
-
</div>
|
192
|
-
|
193
|
-
<div class="method-description">
|
194
|
-
|
195
|
-
</div>
|
196
|
-
</div>
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
</div>
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
</div>
|
206
|
-
|
207
|
-
<div id="validator-badges">
|
208
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
209
|
-
</div>
|
210
|
-
|
211
|
-
</body>
|
212
|
-
</html>
|
@@ -1,16 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<title>new (ISI_record)</title>
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
8
|
-
</head>
|
9
|
-
<body class="standalone-code">
|
10
|
-
<pre> <span class="ruby-comment cmt"># File lib/isi.rb, line 12</span>
|
11
|
-
12: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">hash</span>)
|
12
|
-
13: <span class="ruby-ivar">@hash</span> = <span class="ruby-identifier">hash</span>
|
13
|
-
14: <span class="ruby-ivar">@@order</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
|
14
|
-
15: <span class="ruby-keyword kw">end</span></pre>
|
15
|
-
</body>
|
16
|
-
</html>
|
@@ -1,40 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<title>to_tohoku_DB (ISI_record)</title>
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
8
|
-
</head>
|
9
|
-
<body class="standalone-code">
|
10
|
-
<pre> <span class="ruby-comment cmt"># File lib/isi.rb, line 17</span>
|
11
|
-
17: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_tohoku_DB</span>(<span class="ruby-identifier">tohoku_id</span>, <span class="ruby-identifier">name</span>)
|
12
|
-
18: <span class="ruby-node">"#{tohoku_id}\t"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># A ID</span>
|
13
|
-
19: <span class="ruby-node">"#{name}\t"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># B Name</span>
|
14
|
-
20: <span class="ruby-node">"#{@hash['TI']}\t"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># C Title</span>
|
15
|
-
21: <span class="ruby-node">"#{@hash['TI']}\t"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># D Title in English</span>
|
16
|
-
22: <span class="ruby-value str">"01\t"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># E Language</span>
|
17
|
-
23: <span class="ruby-value str">"2\t"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># F The number of Author(s) 1:1, 2:not 1 (default)</span>
|
18
|
-
24: <span class="ruby-value str">"1\t"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># G Kind - 1:regular paper</span>
|
19
|
-
25: <span class="ruby-value str">"1\t"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># H Refereep - 0:nil 1:t</span>
|
20
|
-
26: <span class="ruby-value str">"0\t"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># I Invitedp - 0:nil 1:t</span>
|
21
|
-
27: <span class="ruby-value str">"Greatly\t"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># J Contribution</span>
|
22
|
-
28: <span class="ruby-node">"#{ji2journal}\t"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># K Journal</span>
|
23
|
-
29: <span class="ruby-node">"#{ji2journal}\t"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># L Journal in English</span>
|
24
|
-
30: <span class="ruby-node">"#{@hash['VL']}\t"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># M Vol.</span>
|
25
|
-
31: <span class="ruby-node">"#{@hash['IS']}\t"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># N No.</span>
|
26
|
-
32: <span class="ruby-node">"#{@hash['AP'] or @hash['AR'] or @hash['BP']}\t"</span> <span class="ruby-operator">+</span>
|
27
|
-
33: <span class="ruby-value str">"\t"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># P Page END</span>
|
28
|
-
34: <span class="ruby-node">"#{@hash['PY']}\t"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># Q Year</span>
|
29
|
-
35: <span class="ruby-node">"#{month_in_number}\t"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># R Month</span>
|
30
|
-
36: <span class="ruby-value str">"\t"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># S Date</span>
|
31
|
-
37: <span class="ruby-node">"#{and_separated_authors.gsub(" and ",", ")}\t"</span> <span class="ruby-operator">+</span>
|
32
|
-
38: <span class="ruby-node">"#{and_separated_authors.gsub(" and ",", ")}\t"</span> <span class="ruby-operator">+</span>
|
33
|
-
39: <span class="ruby-node">"#{@hash['UR']}\t"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># V URL of online journal</span>
|
34
|
-
40: <span class="ruby-node">"#{@hash['DI']}\t"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># W DOI</span>
|
35
|
-
41: <span class="ruby-node">"#{@hash['PY']-2000}#{sprintf("%.2d",@@order)}\t"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># X Bikou</span>
|
36
|
-
42: <span class="ruby-value str">"\t"</span> <span class="ruby-operator">+</span> <span class="ruby-comment cmt"># Y Order</span>
|
37
|
-
43: <span class="ruby-value str">"1\n"</span> <span class="ruby-comment cmt"># Z Status</span>
|
38
|
-
44: <span class="ruby-keyword kw">end</span></pre>
|
39
|
-
</body>
|
40
|
-
</html>
|
@@ -1,32 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<title>to_bibtex (ISI_record)</title>
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
8
|
-
</head>
|
9
|
-
<body class="standalone-code">
|
10
|
-
<pre> <span class="ruby-comment cmt"># File lib/isi.rb, line 46</span>
|
11
|
-
46: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_bibtex</span>
|
12
|
-
47: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">nil</span> <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span><span class="ruby-operator">==</span><span class="ruby-keyword kw">nil</span>
|
13
|
-
48: <span class="ruby-node">"@ARTICLE{#{ref_name},
|
14
|
-
49: Author = {#{fmt(and_separated_authors)}},
|
15
|
-
50: Title = {#{fmt('TI')}},
|
16
|
-
51: Journal = {#{ji2journal}},
|
17
|
-
52: JournalFull= {#{@hash['SO']}},
|
18
|
-
53: Year = {#{@hash['PY']}},
|
19
|
-
54: Month = {#{month}},
|
20
|
-
55: Volume = {#{@hash['VL']}},
|
21
|
-
56: Number = {#{@hash['IS']}},
|
22
|
-
57: Pages = {#{pages}},
|
23
|
-
58: Keywords = {#{fmt('DE')}},
|
24
|
-
59: NewKeywords= {#{fmt('ID')}},
|
25
|
-
60: Abstract = {#{fmt('AB')}},
|
26
|
-
61: ReprintURL = {#{fmt('UR')}},
|
27
|
-
62: DOI = {#{@hash['DI']}},
|
28
|
-
63: MyComment = {},
|
29
|
-
64: WhereIFiledIt= {}}\n\n"</span>
|
30
|
-
65: <span class="ruby-keyword kw">end</span></pre>
|
31
|
-
</body>
|
32
|
-
</html>
|
data/html/classes/String.html
DELETED
@@ -1,179 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<title>Class: String [isi]</title>
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
8
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
9
|
-
<script type="text/javascript">
|
10
|
-
// <![CDATA[
|
11
|
-
|
12
|
-
function popupCode( url ) {
|
13
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
14
|
-
}
|
15
|
-
|
16
|
-
function toggleCode( id ) {
|
17
|
-
if ( document.getElementById )
|
18
|
-
elem = document.getElementById( id );
|
19
|
-
else if ( document.all )
|
20
|
-
elem = eval( "document.all." + id );
|
21
|
-
else
|
22
|
-
return false;
|
23
|
-
|
24
|
-
elemStyle = elem.style;
|
25
|
-
|
26
|
-
if ( elemStyle.display != "block" ) {
|
27
|
-
elemStyle.display = "block"
|
28
|
-
} else {
|
29
|
-
elemStyle.display = "none"
|
30
|
-
}
|
31
|
-
|
32
|
-
return true;
|
33
|
-
}
|
34
|
-
|
35
|
-
// Make codeblocks hidden by default
|
36
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
|
37
|
-
|
38
|
-
// ]]>
|
39
|
-
</script>
|
40
|
-
|
41
|
-
</head>
|
42
|
-
<body>
|
43
|
-
|
44
|
-
|
45
|
-
<div id="classHeader">
|
46
|
-
<table class="header-table">
|
47
|
-
<tr class="top-aligned-row">
|
48
|
-
<td><strong>Class</strong></td>
|
49
|
-
<td class="class-name-in-header">String</td>
|
50
|
-
</tr>
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>In:</strong></td>
|
53
|
-
<td>
|
54
|
-
|
55
|
-
|
56
|
-
<a href="../files/lib/journaltitleabbreviation_rb.html">
|
57
|
-
|
58
|
-
lib/journaltitleabbreviation.rb
|
59
|
-
|
60
|
-
</a>
|
61
|
-
|
62
|
-
|
63
|
-
<br />
|
64
|
-
|
65
|
-
</td>
|
66
|
-
</tr>
|
67
|
-
|
68
|
-
|
69
|
-
<tr class="top-aligned-row">
|
70
|
-
<td><strong>Parent:</strong></td>
|
71
|
-
<td>
|
72
|
-
|
73
|
-
Object
|
74
|
-
|
75
|
-
</td>
|
76
|
-
</tr>
|
77
|
-
|
78
|
-
</table>
|
79
|
-
</div>
|
80
|
-
<!-- banner header -->
|
81
|
-
|
82
|
-
<div id="bodyContent">
|
83
|
-
|
84
|
-
<div id="contextContent">
|
85
|
-
|
86
|
-
<div id="description">
|
87
|
-
<p>
|
88
|
-
journaltitleabbreviation.rb Convert a journal title to its abbreviation
|
89
|
-
Time-stamp: <2008-02-20 10:12:05 takeshi> Author: Takeshi Nishimatsu
|
90
|
-
Project homepage: <a
|
91
|
-
href="http://isi-rb.rubyforge.org/">isi-rb.rubyforge.org/</a> Usage:
|
92
|
-
“PHYSICAL REVIEW LETTERS”.<a
|
93
|
-
href="String.html#M000001">to_journal_title_abbreviation</a> Reference: <a
|
94
|
-
href="http://www.library.ubc.ca/scieng/coden.html">www.library.ubc.ca/scieng/coden.html</a>
|
95
|
-
by Kevin Lindstrom
|
96
|
-
</p>
|
97
|
-
|
98
|
-
</div>
|
99
|
-
|
100
|
-
</div>
|
101
|
-
|
102
|
-
|
103
|
-
<div id="method-list">
|
104
|
-
<h3 class="section-bar">Methods</h3>
|
105
|
-
|
106
|
-
<div class="name-list">
|
107
|
-
|
108
|
-
<a href="#M000001">to_journal_title_abbreviation</a>
|
109
|
-
|
110
|
-
</div>
|
111
|
-
</div>
|
112
|
-
|
113
|
-
</div>
|
114
|
-
|
115
|
-
<!-- if includes -->
|
116
|
-
|
117
|
-
<div id="section">
|
118
|
-
|
119
|
-
<div id="constants-list">
|
120
|
-
<h3 class="section-bar">Constants</h3>
|
121
|
-
|
122
|
-
<div class="name-list">
|
123
|
-
<table summary="Constants">
|
124
|
-
|
125
|
-
<tr class="top-aligned-row context-row">
|
126
|
-
<td class="context-item-name">JOURNAL_TITLE_ABBREVIATIONS</td>
|
127
|
-
<td>=</td>
|
128
|
-
<td class="context-item-value">{ "" => "", "ABSTRACTS OF PAPERS OF THE AMERICAN CHEMICAL SOCIETY" => "Abstr. Pap. Am. Chem. Soc.", "ACTA CRYSTALLOGRAPHICA SECTION A-CRYSTAL PHYSICS DIFFRACTION THEORETICAL AND GENERAL CRYSTALLOGRAPHY" => "Acta Crystallogr. Sect. A", "ACTA CRYSTALLOGRAPHICA SECTION B-STRUCTURAL SCIENCE" => "Acta Crystallogr. Sect. B", "ACTA CRYSTALLOGRAPHICA SECTION C-CRYSTAL STRUCTURE COMMUNICATIONS" => "Acta Crystallogr. Sect. C-Cryst. Struct. Commun.", "ADVANCED MATERIALS" => "Adv. Mater.", "AMERICAN JOURNAL OF PHYSICS" => "Am. J. Phys.", "ANGEWANDTE CHEMIE-INTERNATIONAL EDITION IN ENGLISH" => "Angew. Chem.-Int. Edit. Engl.", "APPLIED PHYSICS LETTERS" => "Appl. Phys. Lett.", "CANADIAN JOURNAL OF PHYSICS" => "Can. J. Phys.", "CHEMICAL PHYSICS" => "Chem. Phys.", "COMPUTATIONAL MATERIALS SCIENCE" => "Comput. Mater. Sci.", "CZECHOSLOVAK JOURNAL OF PHYSICS" => "Czech. J. Phys.", "DIAMOND AND RELATED MATERIALS" => "Diam. Relat. Mat.", "FERROELECTRICS" => "Ferroelectrics", "FIZIKA TVERDOGO TELA" => "Fiz. Tverd. Tela", "INORGANIC CHEMISTRY" => "Inorg. Chem.", "INTEGRATED FERROELECTRICS" => "Integr. Ferroelectr.", "INTERMETALLICS" => "Intermetallics", "JAPANESE JOURNAL OF APPLIED PHYSICS PART 1-REGULAR PAPERS BRIEF COMMUNICATIONS & REVIEW PAPERS" => "Jpn. J. Appl. Phys.", "JAPANESE JOURNAL OF APPLIED PHYSICS PART 1-REGULAR PAPERS SHORT NOTES & REVIEW PAPERS" => "Jpn. J. Appl. Phys.", "JAPANESE JOURNAL OF APPLIED PHYSICS PART 2-LETTERS & EXPRESS LETTERS" => "Jpn. J. Appl. Phys.", "JAPANESE JOURNAL OF APPLIED PHYSICS PART 2-LETTERS" => "Jpn. J. Appl. Phys.", "JAPANESE JOURNAL OF APPLIED PHYSICS" => "Jpn. J. Appl. Phys.", "JOURNAL OF ALLOYS AND COMPOUNDS" => "J. Alloy. Compd.", "JOURNAL OF APPLIED PHYSICS" => "J. Appl. Phys.", "JOURNAL OF CHEMICAL PHYSICS" => "J. Chem. Phys.", "JOURNAL OF COMPUTATIONAL PHYSICS" => "J. Comput. Phys.", "JOURNAL OF ELECTRON MICROSCOPY" => "J. Electron Microsc.", "JOURNAL OF MAGNETISM AND MAGNETIC MATERIALS" => "J. Magn. Magn. Mater.", "JOURNAL OF PHYSICS AND CHEMISTRY OF SOLIDS" => "J. Phys. Chem. Solids", "JOURNAL OF PHYSICS-CONDENSED MATTER" => "J. Phys.-Condes. Matter", "JOURNAL OF SOLID STATE CHEMISTRY" => "J. Solid State Chem.", "JOURNAL OF THE AMERICAN CHEMICAL SOCIETY" => "J. Am. Chem. Soc.", "JOURNAL OF THE KOREAN PHYSICAL SOCIETY" => "J. Korean Phys. Soc.", "JOURNAL OF THE PHYSICAL SOCIETY OF JAPAN" => "J. Phys. Soc. Jpn.", "JOURNAL OF VACUUM SCIENCE & TECHNOLOGY A" => "J. Vac. Sci. Technol. A", "MATERIALS RESEARCH BULLETIN" => "Mater. Res. Bull.", "MATERIALS SCIENCE IN SEMICONDUCTOR PROCESSING" => "Mater. Sci. Semicond. Process", "MEASUREMENT SCIENCE AND TECHNOLOGY" => "Meas. Sci. Technol.", "MEASUREMENT SCIENCE & TECHNOLOGY" => "Meas. Sci. Technol.", "MODELLING AND SIMULATION IN MATERIALS SCIENCE AND ENGINEERING" => "Model. Simul. Mater. Sci. Eng.", "MOLECULAR PHYSICS" => "Mol. Phys.", "NANO LETTERS" => "Nano Lett.", "NATURE MATERIALS" => "Nat. Mater.", "NATURE" => "Nature", "OPTICAL MATERIALS" => "Opt. Mater.", "PHYSICA B-CONDENSED MATTER" => "Physica B", "PHYSICA C" => "Physica C", "PHYSICA STATUS SOLIDI A-APPLICATIONS AND MATERIALS SCIENCE" => "Phys. Status Solidi A", "PHYSICA STATUS SOLIDI A-APPLIED RESEARCH" => "Phys. Status Solidi A", "PHYSICA STATUS SOLIDI B-BASIC RESEARCH" => "Phys. Status Solidi B", "PHYSICAL CHEMISTRY CHEMICAL PHYSICS" => "Phys. Chem. Chem. Phys.", "PHYSICAL REVIEW A" => "Phys. Rev. A", "PHYSICAL REVIEW B" => "Phys. Rev. B", "PHYSICAL REVIEW C" => "Phys. Rev. C", "PHYSICAL REVIEW D" => "Phys. Rev. D", "PHYSICAL REVIEW E" => "Phys. Rev. E", "PHYSICAL REVIEW LETTERS" => "Phys. Rev. Lett.", "REVIEWS OF MODERN PHYSICS" => "Rev. Mod. Phys.", "SCIENCE" => "Science", "SOLID STATE COMMUNICATIONS" => "Solid State Commun.", "SOLID STATE SCIENCES" => "Solid State Sci.", "THIN SOLID FILMS" => "Thin Solid Films", "ZEITSCHRIFT FUR ANORGANISCHE UND ALLGEMEINE CHEMIE" => "Z. Anorg. Allg. Chem." }</td>
|
129
|
-
|
130
|
-
</tr>
|
131
|
-
|
132
|
-
</table>
|
133
|
-
</div>
|
134
|
-
</div>
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
<!-- if method_list -->
|
140
|
-
|
141
|
-
<div id="methods">
|
142
|
-
|
143
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
144
|
-
|
145
|
-
|
146
|
-
<div id="method-M000001" class="method-detail">
|
147
|
-
<a name="M000001"></a>
|
148
|
-
|
149
|
-
<div class="method-heading">
|
150
|
-
|
151
|
-
<a href="String.src/M000001.html" target="Code" class="method-signature"
|
152
|
-
onclick="popupCode('String.src/M000001.html');return false;">
|
153
|
-
|
154
|
-
<span class="method-name">to_journal_title_abbreviation</span><span class="method-args">()</span>
|
155
|
-
|
156
|
-
</a>
|
157
|
-
|
158
|
-
</div>
|
159
|
-
|
160
|
-
<div class="method-description">
|
161
|
-
|
162
|
-
</div>
|
163
|
-
</div>
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
</div>
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
</div>
|
173
|
-
|
174
|
-
<div id="validator-badges">
|
175
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
176
|
-
</div>
|
177
|
-
|
178
|
-
</body>
|
179
|
-
</html>
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<title>to_journal_title_abbreviation (String)</title>
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
8
|
-
</head>
|
9
|
-
<body class="standalone-code">
|
10
|
-
<pre> <span class="ruby-comment cmt"># File lib/journaltitleabbreviation.rb, line 78</span>
|
11
|
-
78: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_journal_title_abbreviation</span>
|
12
|
-
79: <span class="ruby-constant">JOURNAL_TITLE_ABBREVIATIONS</span>[<span class="ruby-keyword kw">self</span>]
|
13
|
-
80: <span class="ruby-keyword kw">end</span></pre>
|
14
|
-
</body>
|
15
|
-
</html>
|
data/html/created.rid
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
Wed, 22 Apr 2009 08:38:14 +0900
|