isi 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (7) hide show
  1. data/NewsForRubyforge.txt +12 -6
  2. data/README +17 -11
  3. data/index.en.html +0 -333
  4. data/index.ja.html +70 -22
  5. data/isi.gemspec +6 -5
  6. data/lib/isi.rb +14 -7
  7. metadata +31 -10
@@ -1,6 +1,12 @@
1
- New version of "isi" is now ready.
2
- "isi" is a set of Ruby libraries and scripts for ISI Export Format.
3
- isi2bibtex converts ISI Export Format to BibTeX Format.
4
- isi2html generates a list of articles in an HTML file.
5
- The package also includes isi2kakenhi and isi2tohoku.
6
- Visit its project homepage http://isi-rb.rubyforge.org/ .
1
+ "isi" is a package of Ruby scripts and libraries for ISI Export Format.
2
+ "isi2bibtex" converts ISI Export Format to BibTeX Format.
3
+ "isi2html" generates a list of articles in an HTML file.
4
+ The package also contains "isi2kakenhi" and "isi2tohoku".
5
+
6
+ (ISI Web of Science http://isiknowledge.com/ provides their bibliographic
7
+ information in ISI Export Format. You can get the tagged Marked List in
8
+ Web of Science by clicking the [SAVE TO FILE] button.)
9
+
10
+ Homepage: http://isi-rb.rubyforge.org/
11
+
12
+ Download: http://rubyforge.org/projects/isi-rb or http://rubygems.org/gems/isi
data/README CHANGED
@@ -1,9 +1,9 @@
1
1
  = isi = Ruby Scripts and Libraries for ISI Export Format
2
2
  == What is isi?
3
- "isi" is a set of Ruby libraries and scripts for ISI Export Format.
4
- isi2bibtex converts ISI Export Format to BibTeX Format.
5
- isi2html generates a list of articles in an HTML file.
6
- The package also includes isi2kakenhi and isi2tohoku.
3
+ "isi" is a package of Ruby libraries and scripts for ISI Export Format.
4
+ "isi2bibtex" converts ISI Export Format to BibTeX Format.
5
+ "isi2html" generates a list of articles in an HTML file.
6
+ The package also includes "isi2kakenhi" and "isi2tohoku".
7
7
 
8
8
  (ISI Web of Science http://isiknowledge.com provides their bibliographic
9
9
  information in ISI Export Format. You can get the tagged Marked List in
@@ -13,7 +13,7 @@ Web of Science by clicking the [SAVE TO FILE] button.)
13
13
  http://isi-rb.rubyforge.org/
14
14
 
15
15
  == Where can I download isi?
16
- Go to http://rubyforge.org/projects/isi-rb .
16
+ Go to http://rubyforge.org/projects/isi-rb or http://rubygems.org/gems/isi .
17
17
 
18
18
  == How can I install isi?
19
19
  There are three different ways to install isi.
@@ -23,14 +23,13 @@ isi-X.Y.Z.tgz package can be installed as:
23
23
  $ cd isi-X.Y.Z
24
24
  $ su
25
25
  # ruby setup.rb
26
- Note that the text-format library http://rubyforge.org/projects/text-format is required.
26
+ Note that the text-format and text-hyphen libraries http://rubyforge.org/projects/text-format is required.
27
27
  === II. RubyGems users can take an easy way
28
28
  There is an easy way, if you are a RubyGems user:
29
29
  $ su
30
30
  # gem install isi
31
- If you do not have the text-format library, gem will download and install the library
32
- automatically. The gem server is busy sometimes. If you fail in downloading, please
33
- try again.
31
+ If you do not have the text-format and text-hyphen libraries,
32
+ gem will download and install the libraries automatically.
34
33
 
35
34
  === III. Simple way; just copy isi.rb and journaltitleabbreviation.rb
36
35
  Just copy lib/isi.rb (isi-X.Y.Z.rb) and
@@ -46,7 +45,7 @@ e.g. savedrecs.txt.
46
45
  $ ruby isi.rb < savedrecs.txt > savedrecs.bib
47
46
  Last two lines are examples of usage for this installation way.
48
47
 
49
- Note that the text-format library http://rubyforge.org/projects/text-format is required.
48
+ Note that the text-format and text-hyphen libraries http://rubyforge.org/projects/text-format is required.
50
49
 
51
50
  == How can I use it?
52
51
  === Save the marked records to an output file in ISI Web of Science
@@ -120,7 +119,7 @@ RubyForge with svn(1) command:
120
119
 
121
120
  == Meanings of tags in ISI Export Format
122
121
  === file-unique tags
123
- FN: File type. The file starts with 'FN ISI Export Format'
122
+ FN: File type. The file starts with 'FN ISI Export Format' or 'FN Thomson Reuters Web of Knowledge'
124
123
  VR: Version number of ISI export file format
125
124
  EF: End of file
126
125
  === normal tags
@@ -129,6 +128,7 @@ RubyForge with svn(1) command:
129
128
  AP: Article number of new APS journals (in ISI Web of Knowledge, 2008-)
130
129
  AR: Article number of new APS journals
131
130
  AU: Authors
131
+ BE: Editors of Proceedings ???
132
132
  BN: ISBN
133
133
  BP: Beginning page
134
134
  C1: Research addresses
@@ -148,6 +148,7 @@ RubyForge with svn(1) command:
148
148
  FU: Funding agency and grant number
149
149
  FX: Funding text
150
150
  GA: IDS number (ISI original)
151
+ HO: Conference host
151
152
  ID: New keywords given by ISI
152
153
  IS: issue
153
154
  J9: 29-character journal title abbreviation
@@ -162,6 +163,7 @@ RubyForge with svn(1) command:
162
163
  PT: Publication type (e.g., book, journal, book in series)
163
164
  PU: Publisher
164
165
  PY: Publication year
166
+ RID: Researcher ID
165
167
  RP: Reprint address
166
168
  SE: Book series title
167
169
  SI: Special issue
@@ -173,9 +175,13 @@ RubyForge with svn(1) command:
173
175
  TI: Title
174
176
  UT: ISI unique article identifier
175
177
  VL: Volume
178
+ WC: Research field
176
179
  WP: Publisher web address
180
+ Z9: Total times cited ???
177
181
  === isi original tags
178
182
  UR: URL
183
+ === See also
184
+ http://images.webofknowledge.com/WOKRS52B10/help/ja/WOS/hs_wos_fieldtags.html
179
185
 
180
186
  == Known bugs
181
187
  * none.
@@ -1,333 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
-
5
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
6
- <head>
7
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
- <title>isi = Ruby Scripts and Libraries for ISI Export Format</title>
9
- <meta name="author" content="takeshi" />
10
- <meta name="copyright" content="Copyright &#169; 2010 takeshi" />
11
- <link rel="stylesheet" href="style.css" type="text/css" />
12
- <link rel="shortcut icon" href="favicon.ico" />
13
- </head>
14
- <body>
15
- <div class="slide cover">
16
- <h1 id="LABEL-1">isi = Ruby Scripts and Libraries for ISI Export Format</h1><div class="navi">[<a href="index.en.html">English</a>/<a href="index.ja.html">Japanese</a>]</div>
17
- <br />Contents:
18
- <ul>
19
- <li><a href="#LABEL-2">What is isi?</a></li>
20
- <li><a href="#LABEL-3">Where is the homepage of isi?</a></li>
21
- <li><a href="#LABEL-4">Where can I download isi?</a></li>
22
- <li><a href="#LABEL-5">How can I install isi?</a></li>
23
- <li><a href="#LABEL-9">How can I use it?</a></li>
24
- <li><a href="#LABEL-14">Copying</a></li>
25
- <li><a href="#LABEL-15">Thanks to contributor(s)!</a></li>
26
- <li><a href="#LABEL-16">Who is the author?</a></li>
27
- <li><a href="#LABEL-17">Why did he write it?</a></li>
28
- <li><a href="#LABEL-18">Is there a Perl version?</a></li>
29
- <li><a href="#LABEL-19">I do not like the output format of isi2bibtex, neither!</a></li>
30
- <li><a href="#LABEL-20">How can I get the latest source tree of isi?</a></li>
31
- <li><a href="#LABEL-21">Meanings of tags in ISI Export Format</a></li>
32
- <li><a href="#LABEL-25">Known bugs</a></li>
33
- <li><a href="#LABEL-26">TODO</a></li>
34
- </ul>
35
-
36
- </div>
37
-
38
-
39
- <div class="slide">
40
- <h2 id="LABEL-2">What is isi?</h2>
41
- <p>
42
- "isi" is a set of Ruby libraries and scripts for ISI Export Format.
43
- isi2bibtex converts ISI Export Format to BibTeX Format.
44
- isi2html generates a list of articles in an HTML file.
45
- The package also includes isi2kakenhi and isi2tohoku.
46
- </p>
47
- <p>
48
- (ISI Web of Science <a href="http://isiknowledge.com">http://isiknowledge.com</a> provides their bibliographic
49
- information in ISI Export Format. You can get the tagged Marked List in
50
- Web of Science by clicking the [SAVE TO FILE] button.)
51
- </p>
52
- </div>
53
-
54
-
55
- <div class="slide">
56
- <h2 id="LABEL-3">Where is the homepage of isi?</h2>
57
- <p>
58
- <a href="http://isi-rb.rubyforge.org/">http://isi-rb.rubyforge.org/</a>
59
- </p>
60
- </div>
61
-
62
-
63
- <div class="slide">
64
- <h2 id="LABEL-4">Where can I download isi?</h2>
65
- <p>
66
- Go to <a href="http://rubyforge.org/projects/isi-rb">http://rubyforge.org/projects/isi-rb</a> .
67
- </p>
68
- </div>
69
-
70
-
71
- <div class="slide">
72
- <h2 id="LABEL-5">How can I install isi?</h2>
73
- <p>
74
- There are three different ways to install isi.
75
- </p>
76
- <h3 id="LABEL-6">I. Conservative way; use setup.rb</h3>
77
- <p>
78
- isi-X.Y.Z.tgz package can be installed as:
79
- </p>
80
- <pre> $ tar zxf isi-X.Y.Z.tgz
81
- $ cd isi-X.Y.Z
82
- $ su
83
- # ruby setup.rb
84
- </pre>
85
- <p>
86
- Note that the text-format library <a href="http://rubyforge.org/projects/text-format">http://rubyforge.org/projects/text-format</a> is required.
87
- </p>
88
- <h3 id="LABEL-7">II. RubyGems users can take an easy way</h3>
89
- <p>
90
- There is an easy way, if you are a RubyGems user:
91
- </p>
92
- <pre> $ su
93
- # gem install isi
94
- </pre>
95
- <p>
96
- If you do not have the text-format library, gem will download and install the library
97
- automatically. The gem server is busy sometimes. If you fail in downloading, please
98
- try again.
99
- </p>
100
- <h3 id="LABEL-8">III. Simple way; just copy isi.rb and journaltitleabbreviation.rb</h3>
101
- <p>
102
- Just copy lib/isi.rb (isi-X.Y.Z.rb) and
103
- lib/journaltitleabbreviation.rb (journaltitleabbreviation-X.Y.Z.rb)
104
- into your working directory which contains your saved "Marked List",
105
- e.g. savedrecs.txt.
106
- </p>
107
- <pre> $ cp lib/isi.rb lib/journaltitleabbreviation.rb ~/your/working/directory/
108
- ($ cp isi-X.Y.Z.rb ~/your/working/directory/isi.rb)
109
- $ cp lib/journaltitleabbreviation.rb ~/your/working/directory/
110
- ($ cp journaltitleabbreviation-X.Y.Z.rb ~/your/working/directory/journaltitleabbreviation.rb)
111
- $ cd ~/your/working/directory/
112
- $ ruby isi.rb savedrecs1.txt savedrecs2.txt
113
- $ ruby isi.rb &lt; savedrecs.txt &gt; savedrecs.bib
114
- </pre>
115
- <p>
116
- Last two lines are examples of usage for this installation way.
117
- </p>
118
- <p>
119
- Note that the text-format library <a href="http://rubyforge.org/projects/text-format">http://rubyforge.org/projects/text-format</a> is required.
120
- </p>
121
- </div>
122
-
123
-
124
- <div class="slide">
125
- <h2 id="LABEL-9">How can I use it?</h2>
126
- <h3 id="LABEL-10">Save the marked records to an output file in ISI Web of Science</h3>
127
- <p>
128
- Mark the articles in ISI Web of Science. Then, view and save the
129
- marked records to an output file (savedrecs.txt). I recommend to
130
- check "Author(s)", "Title", "Source", "abstract*", "keywords",
131
- "times cited" and "source abbreviation" as the fields to include
132
- in the output file.
133
- </p>
134
- <h3 id="LABEL-11">Here are some examples</h3>
135
- <pre> $ isi2bibtex savedrecs.txt
136
- $ isi2bibtex savedrecs1.txt savedrecs2.txt &gt; savedrecs.bib
137
- $ isi2bibtex &lt; savedrecs.txt &gt; savedrecs.bib
138
- $ cat savedrecs.txt | isi2bibtex &gt; savedrecs.bib
139
- </pre>
140
- <h3 id="LABEL-12">Some other useful executables</h3>
141
- <p>
142
- For KakenhiLaTeX <a href="http://osksn2.hep.sci.osaka-u.ac.jp/~taku/kakenhiLaTeX/">http://osksn2.hep.sci.osaka-u.ac.jp/~taku/kakenhiLaTeX/</a>
143
- </p>
144
- <pre> $ isi2kakenhi --help
145
- $ isi2kakenhi --name-regexp='(H\. Yukawa|Hideki Yukawa)' savedrecs.txt &gt; papers.tex
146
- </pre>
147
- <p>
148
- For the database of "Academic Research Staff at Tohoku University" <a href="http://db.tohoku.ac.jp/whois/TunvTopE.html">http://db.tohoku.ac.jp/whois/TunvTopE.html</a>
149
- </p>
150
- <pre> $ isi2tohoku --help
151
- $ isi2tohoku --id 12345678 --name 'Example Name' savedrecs.txt
152
- </pre>
153
- <p>
154
- To convert ISI Export Format to HTML
155
- </p>
156
- <pre> $ isi2html --help
157
- $ isi2html --full-name='Hideki Yukawa' --name-regexp='(H\. Yukawa|Hideki Yukawa)' savedrecs.txt &gt; index.html
158
- </pre>
159
- <h3 id="LABEL-13">You can use isi as a library.</h3>
160
- <p>
161
- Here is an example:
162
- </p>
163
- <pre> #!/usr/bin/env ruby
164
- ##
165
- require 'rubygems' # You may not need this line.
166
- require 'isi'
167
-
168
- class ISI_record
169
- def to_title_author
170
- "#{@hash['TI']} - #{and_separated_authors}\n"
171
- end
172
- end
173
-
174
- while rec = ARGF.read_an_ISI_record
175
- print rec.to_title_author
176
- end
177
- </pre>
178
- </div>
179
-
180
-
181
- <div class="slide">
182
- <h2 id="LABEL-14">Copying</h2>
183
- <p>
184
- isi is distributed in the hope that
185
- it will be useful, but WITHOUT ANY WARRANTY.
186
- You can copy, modify and redistribute isi,
187
- but only under the conditions described in
188
- the GNU General Public License (the "GPL").
189
- For more detail, see COPYING.
190
- </p>
191
- </div>
192
-
193
-
194
- <div class="slide">
195
- <h2 id="LABEL-15">Thanks to contributor(s)!</h2>
196
- <p>
197
- * Marcin Dulak
198
- </p>
199
- </div>
200
-
201
-
202
- <div class="slide">
203
- <h2 id="LABEL-16">Who is the author?</h2>
204
- <p>
205
- NISHIMATSU Takeshi t-nissie{at}imr.tohoku.ac.jp
206
- </p>
207
- </div>
208
-
209
-
210
- <div class="slide">
211
- <h2 id="LABEL-17">Why did he write it?</h2>
212
- <p>
213
- Because he do not like the output format of the Perl version.
214
- </p>
215
- </div>
216
-
217
-
218
- <div class="slide">
219
- <h2 id="LABEL-18">Is there a Perl version?</h2>
220
- <p>
221
- Yes.
222
- You can find the Perl version by Jonathan Swinton, Ben Bolker, Anthony Stone, John J. Lee
223
- in CTAN <a href="http://www.ctan.org/tex-archive/biblio/bibtex/utils/isi2bibtex">http://www.ctan.org/tex-archive/biblio/bibtex/utils/isi2bibtex</a> .
224
- </p>
225
- </div>
226
-
227
-
228
- <div class="slide">
229
- <h2 id="LABEL-19">I do not like the output format of isi2bibtex, neither!</h2>
230
- <p>
231
- The output format is defined in the source code WYSIWYGly.
232
- So you can easily change the output format by yourself.
233
- </p>
234
- </div>
235
-
236
-
237
- <div class="slide">
238
- <h2 id="LABEL-20">How can I get the latest source tree of isi?</h2>
239
- <p>
240
- You can checkout the latest source tree of isi anonymously from
241
- RubyForge with svn(1) command:
242
- </p>
243
- <pre> $ svn checkout svn://rubyforge.org/var/svn/isi-rb/isi
244
- </pre>
245
- </div>
246
-
247
-
248
- <div class="slide">
249
- <h2 id="LABEL-21">Meanings of tags in ISI Export Format</h2>
250
- <h3 id="LABEL-22">file-unique tags</h3>
251
- <pre>FN: File type. The file starts with 'FN ISI Export Format'
252
- VR: Version number of ISI export file format
253
- EF: End of file
254
- </pre>
255
- <h3 id="LABEL-23">normal tags</h3>
256
- <pre>AB: Abstract
257
- AF: Authors Full (AU Foo, BAR -&gt; AF Foo, B. A. R.; AU Nishimatsu, T -&gt; AF Nishimatsu Takeshi)
258
- AP: Article number of new APS journals (in ISI Web of Knowledge, 2008-)
259
- AR: Article number of new APS journals
260
- AU: Authors
261
- BN: ISBN
262
- BP: Beginning page
263
- C1: Research addresses
264
- CA: Group authors
265
- CL: Conference location
266
- CR: Cited references
267
- CT: Conference title
268
- CY: Conference Date
269
- DE: Original keywords
270
- DI: DOI
271
- DT: Document type
272
- ED: Editors
273
- EM: E-mail address
274
- EP: Ending page
275
- ER: end of a record
276
- FN: File name
277
- FU: Funding agency and grant number
278
- FX: Funding text
279
- GA: IDS number (ISI original)
280
- ID: New keywords given by ISI
281
- IS: issue
282
- J9: 29-character journal title abbreviation
283
- JI: ISO journal title abbreviation
284
- LA: Language
285
- NR: Cited reference count
286
- PD: Publication date e.g. "JUN 8" or "JUL"
287
- PA: Publisher Address
288
- PG: the number of pages
289
- PI: Publisher city
290
- PN: Part number
291
- PT: Publication type (e.g., book, journal, book in series)
292
- PU: Publisher
293
- PY: Publication year
294
- RP: Reprint address
295
- SE: Book series title
296
- SI: Special issue
297
- SN: ISSN
298
- SO: journal title, in full
299
- SP: Conference Sponsors
300
- SU: Supplement
301
- TC: Times cited
302
- TI: Title
303
- UT: ISI unique article identifier
304
- VL: Volume
305
- WP: Publisher web address
306
- </pre>
307
- <h3 id="LABEL-24">isi original tags</h3>
308
- <pre>UR: URL
309
- </pre>
310
- </div>
311
-
312
-
313
- <div class="slide">
314
- <h2 id="LABEL-25">Known bugs</h2>
315
-
316
- <ul>
317
- <li>none.</li>
318
- </ul>
319
- </div>
320
-
321
-
322
- <div class="slide">
323
- <h2 id="LABEL-26">TODO</h2>
324
-
325
- <ul>
326
- <li>lib/isi.rb combine ISI_record#and_separated_authors() and ISI_record#comma_and_separated_authors()
327
- into ISI_record#separated_authors()</li>
328
- <li>Write papers, not tools for writing papers.</li>
329
- <li>tests/isi_test.rb</li>
330
- </ul>
331
- </div>
332
- </body>
333
- </html>
@@ -5,7 +5,7 @@
5
5
  <title>isi = ISI export format のためのRubyスクリプトとライブラリ</title>
6
6
  <link rel="stylesheet" href="style.css" type="text/css">
7
7
  <link rel="shortcut icon" href="favicon.ico">
8
- <meta name="description" content="isiはWeb of Scienceの検索結果のISI Export FormatをBibTeX形式等に変換するRubyで書かれたフリーソフトウエアです.">
8
+ <meta name="description" content="isiはWeb of Scienceの検索結果のISI Export FormatをBibTeX形式やHTMLファイルなどに変換するためのRubyで書かれたフリーソフトウエアです.">
9
9
  </head>
10
10
 
11
11
  <body>
@@ -15,13 +15,14 @@
15
15
  </div>
16
16
 
17
17
  <p>
18
- 「isi」はISI社の巨大な学術論文データベースWeb of Scienceのタグのついた出力ファイル(ISI形式)
18
+ 「isi」はISI社の巨大な学術論文データベース
19
+ <a href="http://www.isiknowledge.com/">Web of Science</a>
20
+ のタグのついた出力ファイル(ISI形式)
19
21
  をBibTeX形式やHTMLなどに変換するRubyスクリプトとライブラリのパッケージです.
20
22
  isi2bibtex,isi2html,isi2kakenhi,isi2tohoku の4つのコマンドが同梱されています.
21
23
  平生LaTeXで学術論文を書いていて,書誌情報をBibTeXで管理している人にはisi2bibtexが便利かもしれません.
22
24
  isi2htmlを使えば<a href="http://t-nissie.users.sourceforge.net/publication/">HTML版の研究業績リスト</a>
23
25
  を簡単に作成することができます.
24
- gem化してrubyforge.orgに置いてあるので,
25
26
  <a href="http://rubyforge.org/projects/rubygems/">RubyGems</a>ユーザの方は
26
27
  「gem install isi」だけで簡単にインストールできます.
27
28
  </p>
@@ -32,6 +33,7 @@
32
33
 
33
34
  <p>
34
35
  ダウンロード: <a href="http://rubyforge.org/projects/isi-rb">http://rubyforge.org/projects/isi-rb/</a>
36
+ または <a href="http://rubygems.org/gems/isi">http://rubygems.org/gems/isi</a>
35
37
  </p>
36
38
 
37
39
  目次:
@@ -40,6 +42,7 @@
40
42
  <ul>
41
43
  <li><a href="#WINDOWS">Microsoft Windowsの場合</a></li>
42
44
  <li><a href="#MAC">Mac OS Xの場合</a></li>
45
+ <li><a href="#UNIX-GEM">UNIXの場合</a></li>
43
46
  </ul>
44
47
  </li>
45
48
  <li><a href="#COMMANDS">各コマンドの説明</a>
@@ -50,13 +53,16 @@
50
53
  <li><a href="#ISI2TOHOKU">isi2tohoku</a></li>
51
54
  </ul>
52
55
  </li>
56
+ <li><a href="#LIBRARY">isi.rbをライブラリとして使う方法</a>
53
57
  </ul>
54
58
 
55
59
  <h2 id="INSTALL">isiのインストール方法と簡単な使い方</h2>
56
60
  <h3 id="WINDOWS">Microsoft Windowsの場合</h3>
57
61
  <p>
58
- ・<a href="http://rubyinstaller.rubyforge.org/">One-Click Ruby Installer for Windows</a>
59
- でRubyをインストール. 同時にRubyGemsもインストールされます.
62
+ ・<a href="http://rubyinstaller.org/">RubyInstaller for Windows</a>
63
+ でRubyをインストール.同時にRubyGemsもインストールされます.
64
+ [コントロールパネル]→[システム]→[詳細設定]→[環境変数]などを使って適宜
65
+ <a href="http://pub.cozmixng.org/~the-rwiki/rw-cgi.rb?cmd=view;name=Ruby+Install+Guide%3A%3AWindows%A4%C7%A4%CEPATH%A4%CE%C4%CC%A4%B7%CA%FD">Pathを通して下さい</a>.
60
66
  </p>
61
67
 
62
68
  <p>
@@ -77,7 +83,7 @@ gem install isi -p http://proxy.example.com:8080
77
83
 
78
84
  <p>
79
85
  ★ 変換したいISI形式のファイルを用意します. ここではfoo.isiとします.
80
- なお,Web of Scienceでセーブのときに "Author(s)","Title","Source","abstract*","keywords","times cited"
86
+ なお,<a href="http://www.isiknowledge.com/">Web of Science</a>でセーブのときに "Author(s)","Title","Source","abstract*","keywords","times cited"
81
87
  そして "source abbreviation" をチェックしておくとよいでしょう.
82
88
  </p>
83
89
 
@@ -115,12 +121,12 @@ isi2tohoku --help
115
121
 
116
122
  <pre>
117
123
  isi2html --help
118
- isi2html --name-regexp='(H\. Yukawa|Hideki Yukawa)' --full-name='Hideki Yukawa' foo.isi &gt; hoo.html
124
+ isi2html --name-regexp='(H\. Yukawa|Hideki Yukawa)' --full-name='Hideki Yukawa' foo.isi &gt; foo.html
119
125
  </pre>
120
126
 
121
127
  <p>
122
128
  とすると,正規表現で指定した名前に下線がひかれたHTMLファイルができます.
123
- 適当なpublication.cssを書いていっしょに使うとよいでしょう.
129
+ 適当なpublication.css(パッケージにも同梱)を書いていっしょに使うとよいでしょう.
124
130
  </p>
125
131
 
126
132
 
@@ -128,8 +134,10 @@ isi2html --name-regexp='(H\. Yukawa|Hideki Yukawa)' --full-name='Hideki Yukawa'
128
134
  <p>
129
135
  ・ Mac OS 10.5.xまたは10.6.xにははじめからRubyとRubyGemsとがインストールされています.
130
136
  必要なのはisiをインストールすることだけです.
131
- アプリケーション→ユーティリティから「ターミナル」を起動して,次のコマンドを実行します.
132
- gem -vで表示されるgemのバージョンが1.0.1未満の場合はMac OSの「ソフトウエアアップデート」を実行して,
137
+ [アプリケーション]→[ユーティリティ] から
138
+ 「ターミナル」を起動して,次のコマンドを実行します.
139
+ 「gem -v」で表示されるgemのバージョンが1.0.1未満の場合は,
140
+ Mac OSの「ソフトウエアアップデート」を実行し,
133
141
  OSを再起動してからisiをインストールしてください.
134
142
  </p>
135
143
 
@@ -144,15 +152,37 @@ sudo gem install isi
144
152
  sudo gem install isi -p http://proxy.example.com:8080
145
153
  </pre>
146
154
  <p>
147
- あとは上記「Microsoft Windowsの場合」の★印以降と同じです.
155
+ あとは上記 <a href="#WINDOWS">Microsoft Windowsの場合</a> の★印以降と同じです.
148
156
  </p>
149
157
 
158
+ <h3 id="UNIX-GEM">UNIXの場合</h3>
159
+ <p>
160
+ ・<a href="http://rubyforge.org/projects/rubygems/">RubyGems</a>
161
+ ユーザの方は「gem install isi」だけで簡単にインストールできます.
162
+ </p>
163
+ <pre>
164
+ sudo gem install isi
165
+ </pre>
166
+ <p>
167
+ ・防火壁の中からプロキシ経由で外部ネットワークにアクセスしている場合は,プロキシとそのポート番号を指定する必要があります.
168
+ </p>
169
+ <pre>
170
+ sudo gem install isi -p http://proxy.example.com:8080
171
+ </pre>
172
+ <p>
173
+ あとは上記 <a href="#WINDOWS">Microsoft Windowsの場合</a> の★印以降と同じです.
174
+ </p>
175
+
176
+
150
177
 
151
178
  <h2 id="COMMANDS">各コマンドの説明</h2>
179
+ <p>
180
+ --help オプションを付けて各コマンドを実行すれば簡単な使い方の説明が表示されます.
181
+ </p>
152
182
  <h3 id="ISI2BIBTEX">isi2bibtex</h3>
153
183
  <p>
154
184
  学術論文や参考文献などの文献情報を個人的に管理する方法としてはEndNoteやBibDesk,BibCompanion,JabRef,
155
- はたまたWebベースのCiteULikeなど専用の文献管理ソフトを使う方法があります.
185
+ はたまたWebベースのCiteULikeやBibSonomyなど専用の文献管理ソフトを使う方法があります.
156
186
  しかし,平生LaTeXで論文を書いているのであれば,
157
187
  文献情報をBibTeXファイル (bibファイル) で管理するのもよいかもしれません.
158
188
  なぜなら,
@@ -173,15 +203,18 @@ sudo gem install isi -p http://proxy.example.com:8080
173
203
  </ul>
174
204
  <p>
175
205
  などの利点があるからです.
176
- isi2bibtex Web of Scienceという文献データベースのISI形式をbibファイルに変換するためのRubyスクリプトです.
206
+ isi2bibtex は<a href="http://www.isiknowledge.com/">Web of Science</a>という文献データベースのISI形式をbibファイルに変換するためのRubyスクリプトです.
177
207
  </p>
178
208
 
179
209
  <h3 id="ISI2HTML">isi2html</h3>
180
210
  <p>
181
211
  isi2html はISI形式をHTMLファイルに変換します.「研究業績リスト」の作成などにご活用ください.
212
+ 「<i>N</i><sub>tc</sub>=123」のように被引用数も書き出されます.
213
+ 出力されたHTMLファイルは適宜編集してください.
214
+ 適当なpublication.css(パッケージにも同梱)を書いて同じディレクトリに置いておくと見映えがよくなります.
182
215
  </p>
183
216
 
184
- <h3 id="ISI2KAKENHI">isi2kakenhi</h3>
217
+ <h3 id="ISI2KAKENHI">isi2kakenhi</h3>
185
218
  <p>
186
219
  isi2kakenhi はISI形式を科学研究費補助金(科研費)の申請書に記載するためのLaTeX形式に変換します.
187
220
  正規表現で指定した著者名に下線を付ける機能があります.
@@ -193,22 +226,37 @@ sudo gem install isi -p http://proxy.example.com:8080
193
226
  <a href="http://db.tohoku.ac.jp/whois/TunvTopJ.html">「東北大学研究者紹介 aka 東北大学情報データベース or 全学情報データベース」</a>
194
227
  の「論文一括登録ファイル」形式に変換します.
195
228
  「論文一括登録ファイル」形式はExelなどで読み込むことのできるTAB区切りのフォーマットです.
196
- isi-1.2.xでは『大学情報データベースシステム一括登録マニュアル(第1.05版)』
229
+ isi-1.2.xでは<a href="https://www6.bureau.tohoku.ac.jp/entry/manual/Det_ImpTtl_Man1_06.pdf">『大学情報データベースシステム一括登録マニュアル(第1.06版)』(学内からアクセス可)</a>
197
230
  で説明されているフォーマットに対応しています.
198
231
  他大学でも同様の研究者データベースを同じ業者さんが構築していることがあります.
199
232
  スクリプトを少し変更するだけで使うことができるはずです.
200
233
  </p>
201
234
 
202
- <hr>
203
-
204
- <p>
205
- Have fun!
206
- </p>
207
-
235
+ <h2 id="LIBRARY">isi.rbをライブラリとして使う方法</h2>
208
236
  <p>
209
- Takeshi Nishimatsu t-nissie {at} imr.tohoku.ac.jp
237
+ こんなかんじで使ってください:
210
238
  </p>
239
+ <pre>
240
+ #!/usr/bin/env ruby
241
+ ##
242
+ require 'rubygems' # You may not need this line.
243
+ require 'isi'
244
+
245
+ class ISI_record
246
+ def to_title_author
247
+ "#{@hash['TI']} - #{and_separated_authors}\n"
248
+ end
249
+ end
250
+
251
+ while rec = ARGF.read_an_ISI_record
252
+ print rec.to_title_author
253
+ end
254
+ </pre>
211
255
 
256
+ <hr>
257
+ love &amp;&amp; peace &amp;&amp; free_software<br>
258
+ Takeshi Nishimatsu<br>
259
+ t-nissie {at} imr.tohoku.ac.jp<br>
212
260
  </body>
213
261
 
214
262
 
@@ -1,5 +1,5 @@
1
1
  # isi.gemspec -*-ruby-*-
2
- # Time-stamp: <2010-02-15 13:45:15 takeshi>
2
+ # Time-stamp: <2010-02-17 20:31:54 takeshi>
3
3
  ##
4
4
  Gem::Specification.new do |s|
5
5
  s.autorequire = 'lib/isi.rb'
@@ -29,9 +29,10 @@ Gem::Specification.new do |s|
29
29
  s.add_dependency('text-format', '>=1.0.0')
30
30
 
31
31
  s.description = <<-EOF
32
- "isi" is a set of Ruby libraries and scripts for ISI Export Format.
33
- isi2bibtex converts ISI Export Format to BibTeX Format.
34
- isi2html generates a list of articles in an HTML file.
35
- The package also includes isi2kakenhi and isi2tohoku.
32
+ "isi" is a package of Ruby libraries and scripts for ISI Export Format.
33
+ "isi2bibtex" converts ISI Export Format to BibTeX Format.
34
+ "isi2html" generates a list of articles in an HTML file.
35
+ The package also includes "isi2kakenhi" and "isi2tohoku".
36
+ Visit its homepage http://isi-rb.rubyforge.org/ .
36
37
  EOF
37
38
  end
data/lib/isi.rb CHANGED
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env ruby
2
- # Time-stamp: <2009-07-01 10:39:28 takeshi>
2
+ # Time-stamp: <2011-07-19 10:20:05 takeshi>
3
3
  # Author: Takeshi Nishimatsu
4
4
  # Project homepage: http://isi-rb.rubyforge.org/
5
5
  # Usage: ruby isi.rb savedrecs.txt > savedrecs.bib
6
6
  ##
7
- ISI_RB_VERSION = '1.2.1'
7
+ ISI_RB_VERSION = '1.2.2'
8
8
  require 'text/format' # http://rubyforge.org/projects/text-format/
9
9
  class ISI_record
10
10
  public
@@ -55,6 +55,7 @@ public
55
55
  Volume = {#{@hash['VL']}},
56
56
  Number = {#{@hash['IS']}},
57
57
  Pages = {#{pages}},
58
+ NumPages = {#{@hash['PG']}},
58
59
  Keywords = {#{fmt('DE')}},
59
60
  NewKeywords= {#{fmt('ID')}},
60
61
  Abstract = {#{fmt('AB')}},
@@ -211,7 +212,7 @@ def ARGF.read_an_ISI_record
211
212
  while line = gets
212
213
  #===== a few special cases
213
214
  return ISI_record.new(hash) if line =~ /^ER/
214
- next if line =~ /^(EF|FN|VR)/ # ignore file-unique tags
215
+ next if line =~ /^(EF|FN|FN|VR)/ # ignore file-unique tags
215
216
  next if line =~ /^\s*$/ # ignore blank lines
216
217
  while line =~ /\!$/
217
218
  line.chomp!.chop! # continued to next line if the line ends with "!"
@@ -219,17 +220,23 @@ def ARGF.read_an_ISI_record
219
220
  end
220
221
  #===== Normal tags
221
222
  case line
222
- when /^(AU|AF|CR) /
223
+ when /^(AU|AF|BE|CR) /
223
224
  tag = $1
224
- authors = [line.chomp.sub(/^(AU|AF|CR) /,'')]
225
+ authors = [line.chomp.sub(/^(AU|AF|BE|CR) /,'')]
225
226
  while (line = gets) =~ /^ /
226
227
  authors.push(line.chomp.sub(/^\s+/,''))
227
228
  end
228
229
  hash[tag] = authors
229
230
  redo
230
- when /^(NR|PG|PY|TC) (.*)$/
231
+ when /^(NR|PG|PY|TC|Z9) (.*)$/
231
232
  hash[$1] = $2.to_i
232
- when /^(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) (.*)$/
233
+ when /^(RID) (.*)$/
234
+ if hash[$1]
235
+ hash[$1] = hash[$1] + ', ' + $2
236
+ else
237
+ hash[$1] = $2
238
+ end
239
+ when /^(AB|AP|AR|BN|BP|C1|CA|CL|CT|CY|DE|DI|DT|ED|EM|EP|FN|FU|FX|GA|HO|ID|IS|J9|JI|LA|PA|PD|PI|PN|PT|PU|RP|SC|SE|SI|SN|SO|SP|SU|TI|UT|VL|WC) (.*)$/
233
240
  tag = $1
234
241
  str = $2
235
242
  while (line = gets) =~ /^ /
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ hash: 27
5
+ prerelease:
6
+ segments:
7
+ - 1
8
+ - 2
9
+ - 2
10
+ version: 1.2.2
5
11
  platform: ruby
6
12
  authors:
7
13
  - Takeshi Nishimatsu
@@ -9,20 +15,26 @@ autorequire: lib/isi.rb
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2010-02-15 00:00:00 +09:00
18
+ date: 2011-07-19 00:00:00 +09:00
13
19
  default_executable: isi2bibtex
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
22
  name: text-format
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
20
26
  requirements:
21
27
  - - ">="
22
28
  - !ruby/object:Gem::Version
29
+ hash: 23
30
+ segments:
31
+ - 1
32
+ - 0
33
+ - 0
23
34
  version: 1.0.0
24
- version:
25
- description: " \"isi\" is a set of Ruby libraries and scripts for ISI Export Format.\n isi2bibtex converts ISI Export Format to BibTeX Format.\n isi2html generates a list of articles in an HTML file.\n The package also includes isi2kakenhi and isi2tohoku.\n"
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ description: " \"isi\" is a package of Ruby libraries and scripts for ISI Export Format.\n \"isi2bibtex\" converts ISI Export Format to BibTeX Format.\n \"isi2html\" generates a list of articles in an HTML file.\n The package also includes \"isi2kakenhi\" and \"isi2tohoku\".\n Visit its homepage http://isi-rb.rubyforge.org/ .\n"
26
38
  email: t-nissie@imr.tohoku.ac.jp
27
39
  executables:
28
40
  - isi2bibtex
@@ -51,6 +63,9 @@ files:
51
63
  - isi.gemspec
52
64
  - setup.rb
53
65
  - NewsForRubyforge.txt
66
+ - bin/isi2html
67
+ - bin/isi2kakenhi
68
+ - bin/isi2tohoku
54
69
  has_rdoc: true
55
70
  homepage: http://isi-rb.rubyforge.org/
56
71
  licenses: []
@@ -61,21 +76,27 @@ rdoc_options: []
61
76
  require_paths:
62
77
  - lib
63
78
  required_ruby_version: !ruby/object:Gem::Requirement
79
+ none: false
64
80
  requirements:
65
81
  - - ">="
66
82
  - !ruby/object:Gem::Version
83
+ hash: 3
84
+ segments:
85
+ - 0
67
86
  version: "0"
68
- version:
69
87
  required_rubygems_version: !ruby/object:Gem::Requirement
88
+ none: false
70
89
  requirements:
71
90
  - - ">="
72
91
  - !ruby/object:Gem::Version
92
+ hash: 3
93
+ segments:
94
+ - 0
73
95
  version: "0"
74
- version:
75
96
  requirements: []
76
97
 
77
98
  rubyforge_project: isi-rb
78
- rubygems_version: 1.3.2
99
+ rubygems_version: 1.5.0
79
100
  signing_key:
80
101
  specification_version: 3
81
102
  summary: ISI Export Format to BibTeX Format converter. (Formerly named isi.rb or isi2bibtex.rb.)