hikiutils 0.2.3.8 → 0.2.3.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. checksums.yaml +4 -4
  2. data/hikiutils_bob/Rakefile +16 -4
  3. data/hikiutils_bob/figs/hikiutils_bob.002.bb +5 -0
  4. data/hikiutils_bob/hikiutils_bob/hikiutils_bob.002.bb +5 -0
  5. data/hikiutils_bob/latex_all.hiki +3 -3
  6. data/hikiutils_bob/latex_dir/hikiutils_bob.log +59 -24
  7. data/hikiutils_bob/latex_dir/hikiutils_bob.pdf +0 -0
  8. data/hikiutils_bob/latex_dir/hikiutils_bob.synctex.gz +0 -0
  9. data/hikiutils_bob/latex_dir/latex_all.tex +3 -3
  10. data/hikiutils_bob/latex_dir/sync.aux +1 -1
  11. data/hikiutils_bob/latex_dir/sync.tex +17 -13
  12. data/hikiutils_bob/sync.hiki +9 -6
  13. data/hikiutils_bob/toc.hiki +19 -15
  14. data/hikiutils_yamane/{results.hiki → command.hiki} +11 -13
  15. data/hikiutils_yamane/compare.hiki +13 -297
  16. data/hikiutils_yamane/figs/hikiutils_yamane.001.jpg +0 -0
  17. data/hikiutils_yamane/figs/hikiutils_yamane.002.bb +5 -0
  18. data/hikiutils_yamane/figs/hikiutils_yamane.002.jpg +0 -0
  19. data/hikiutils_yamane/figs/hikiutils_yamane.003.jpg +0 -0
  20. data/hikiutils_yamane/figs/hikiutils_yamane.004.jpg +0 -0
  21. data/hikiutils_yamane/figs/hikiutils_yamane.005.jpg +0 -0
  22. data/hikiutils_yamane/hikiutils_yamane.hiki +8 -7
  23. data/hikiutils_yamane/introduction.hiki +9 -26
  24. data/hikiutils_yamane/latex_dir/command.aux +34 -0
  25. data/hikiutils_yamane/latex_dir/{results.tex → command.tex} +10 -22
  26. data/hikiutils_yamane/latex_dir/compare.aux +24 -0
  27. data/hikiutils_yamane/latex_dir/compare.tex +13 -333
  28. data/hikiutils_yamane/latex_dir/hikiutils_yamane.aux +8 -7
  29. data/hikiutils_yamane/latex_dir/hikiutils_yamane.log +126 -87
  30. data/hikiutils_yamane/latex_dir/hikiutils_yamane.pdf +0 -0
  31. data/hikiutils_yamane/latex_dir/hikiutils_yamane.synctex.gz +0 -0
  32. data/hikiutils_yamane/latex_dir/hikiutils_yamane.tex +6 -5
  33. data/hikiutils_yamane/latex_dir/hikiutils_yamane.toc +25 -21
  34. data/hikiutils_yamane/latex_dir/{purpose.aux → introduction.aux} +6 -4
  35. data/hikiutils_yamane/latex_dir/introduction.tex +7 -29
  36. data/hikiutils_yamane/latex_dir/optparse.aux +29 -0
  37. data/hikiutils_yamane/latex_dir/optparse.tex +116 -0
  38. data/hikiutils_yamane/latex_dir/thor.aux +32 -0
  39. data/hikiutils_yamane/latex_dir/thor.tex +112 -0
  40. data/hikiutils_yamane/optparse.hiki +113 -0
  41. data/hikiutils_yamane/thor.hiki +108 -0
  42. data/hikiutils_yamane/toc.hiki +15 -17
  43. data/lib/hikiutils/version.rb +1 -1
  44. data/lib/templates/Rakefile_hiki_sync +16 -4
  45. data/lib/templates/hiki_help.yml +2 -2
  46. metadata +61 -80
  47. data/hikiutils_yamane/clidescription.hiki +0 -35
  48. data/hikiutils_yamane/code.hiki +0 -285
  49. data/hikiutils_yamane/command_table.hiki +0 -19
  50. data/hikiutils_yamane/figs/hikiutils_yamane.001.jpeg +0 -0
  51. data/hikiutils_yamane/figs/hikiutils_yamane.002.jpeg +0 -0
  52. data/hikiutils_yamane/figs/hikiutils_yamane.003.jpeg +0 -0
  53. data/hikiutils_yamane/figs/hikiutils_yamane.004.jpeg +0 -0
  54. data/hikiutils_yamane/figs/hikiutils_yamane.005.jpeg +0 -0
  55. data/hikiutils_yamane/figs/hikiutils_yamane.006.jpeg +0 -0
  56. data/hikiutils_yamane/figs/hikiutils_yamane.007.jpeg +0 -0
  57. data/hikiutils_yamane/figs/hikiutils_yamane_09_copy.001.jpg +0 -0
  58. data/hikiutils_yamane/figs/hikiutils_yamane_09_copy.002.jpg +0 -0
  59. data/hikiutils_yamane/figs/hikiutils_yamane_09_copy.003.jpg +0 -0
  60. data/hikiutils_yamane/figs/hikiutils_yamane_09_copy.004.jpg +0 -0
  61. data/hikiutils_yamane/figs/hikiutils_yamane_09_copy.005.jpg +0 -0
  62. data/hikiutils_yamane/hikiutils_yamane.key +0 -0
  63. data/hikiutils_yamane/latex_dir/clidescription.aux +0 -24
  64. data/hikiutils_yamane/latex_dir/clidescription.tex +0 -41
  65. data/hikiutils_yamane/latex_dir/code.aux +0 -41
  66. data/hikiutils_yamane/latex_dir/code.tex +0 -319
  67. data/hikiutils_yamane/latex_dir/command_table.tex +0 -29
  68. data/hikiutils_yamane/latex_dir/method.aux +0 -25
  69. data/hikiutils_yamane/latex_dir/method.tex +0 -14
  70. data/hikiutils_yamane/latex_dir/purpose.tex +0 -8
  71. data/hikiutils_yamane/latex_dir/results.aux +0 -28
  72. data/hikiutils_yamane/latex_dir/system.tex +0 -23
  73. data/hikiutils_yamane/method.hiki +0 -12
  74. data/hikiutils_yamane/mi +0 -0
  75. data/hikiutils_yamane/purpose.hiki +0 -7
  76. data/hikiutils_yamane/system.hiki +0 -18
  77. /data/hikiutils_yamane/figs/{hikiutils_yamane_09_copy.006.jpg → hikiutils_yamane.006.jpg} +0 -0
  78. /data/hikiutils_yamane/figs/{hikiutils_yamane_09_copy.007.jpg → hikiutils_yamane.007.jpg} +0 -0
  79. /data/hikiutils_yamane/{hikiutils_yamane_09_copy/hikiutils_yamane_09_copy.001.jpg → hikiutils_yamane/hikiutils_yamane.001.jpg} +0 -0
  80. /data/hikiutils_yamane/{hikiutils_yamane_09_copy/hikiutils_yamane_09_copy.002.jpg → hikiutils_yamane/hikiutils_yamane.002.jpg} +0 -0
  81. /data/hikiutils_yamane/{hikiutils_yamane_09_copy/hikiutils_yamane_09_copy.003.jpg → hikiutils_yamane/hikiutils_yamane.003.jpg} +0 -0
  82. /data/hikiutils_yamane/{hikiutils_yamane_09_copy/hikiutils_yamane_09_copy.004.jpg → hikiutils_yamane/hikiutils_yamane.004.jpg} +0 -0
  83. /data/hikiutils_yamane/{hikiutils_yamane_09_copy/hikiutils_yamane_09_copy.005.jpg → hikiutils_yamane/hikiutils_yamane.005.jpg} +0 -0
  84. /data/hikiutils_yamane/{hikiutils_yamane_09_copy/hikiutils_yamane_09_copy.006.jpg → hikiutils_yamane/hikiutils_yamane.006.jpg} +0 -0
  85. /data/hikiutils_yamane/{hikiutils_yamane_09_copy/hikiutils_yamane_09_copy.007.jpg → hikiutils_yamane/hikiutils_yamane.007.jpg} +0 -0
  86. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/110809_FamilyChineseOahu_EN_00317_2040x1360-small-12.jpg +0 -0
  87. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/110809_FamilyChineseOahu_EN_02016_981x654-small-14.jpg +0 -0
  88. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/110809_familychineseoahu_en_00317_2040x1360-96.jpeg +0 -0
  89. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/110809_familychineseoahu_en_02016_981x654-97.jpeg +0 -0
  90. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/110809_familychineseoahu_en_02390_2880x1921-94.jpeg +0 -0
  91. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/110809_familychineseoahu_en_02390_2880x1921-small-95.jpg +0 -0
  92. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/mt0@2x-102.jpg +0 -0
  93. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/mt10@2x-112.jpg +0 -0
  94. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/mt1@2x-103.jpg +0 -0
  95. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/mt2@2x-104.jpg +0 -0
  96. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/mt3@2x-105.jpg +0 -0
  97. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/mt4@2x-106.jpg +0 -0
  98. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/mt5@2x-107.jpg +0 -0
  99. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/mt6@2x-108.jpg +0 -0
  100. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/mt7@2x-109.jpg +0 -0
  101. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/mt8@2x-110.jpg +0 -0
  102. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/mt9@2x-111.jpg +0 -0
  103. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/pasted-image-100.tiff +0 -0
  104. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/pasted-image-98.tiff +0 -0
  105. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/pasted-image-small-101.png +0 -0
  106. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/pasted-image-small-99.png +0 -0
  107. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/st0-113.jpg +0 -0
  108. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/st1-114.jpg +0 -0
  109. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/st2-115.jpg +0 -0
  110. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/st3-116.jpg +0 -0
  111. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/st4-117.jpg +0 -0
  112. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/st5-118.jpg +0 -0
  113. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/st6-119.jpg +0 -0
  114. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Data/tile_paper_medgray-93.jpg +0 -0
  115. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Index.zip +0 -0
  116. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Metadata/BuildVersionHistory.plist +0 -0
  117. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Metadata/DocumentIdentifier +0 -0
  118. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/Metadata/Properties.plist +0 -0
  119. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/preview-micro.jpg +0 -0
  120. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/preview-web.jpg +0 -0
  121. /data/hikiutils_yamane/{hikiutils_yamane_09_copy.key → hikiutils_yamane.key}/preview.jpg +0 -0
@@ -1,4 +1,4 @@
1
- This is e-pTeX, Version 3.14159265-p3.7-160201-2.6 (utf8.euc) (TeX Live 2016) (preloaded format=platex 2017.1.26) 5 FEB 2017 12:43
1
+ This is e-pTeX, Version 3.14159265-p3.7-160201-2.6 (utf8.euc) (TeX Live 2016) (preloaded format=platex 2017.1.26) 6 FEB 2017 17:32
2
2
  entering extended mode
3
3
  restricted \write18 enabled.
4
4
  file:line:error style messages enabled.
@@ -112,21 +112,22 @@ File: listings.cfg 2015/06/04 1.6 listings configuration
112
112
  ))
113
113
  Package: listings 2015/06/04 1.6 (Carsten Heinz)
114
114
 
115
- (./hikiutils_yamane.aux (./abstract.aux) (./purpose.aux) (./method.aux)
116
- (./results.aux
115
+ (./hikiutils_yamane.aux (./abstract.aux) (./introduction.aux) (./compare.aux)
116
+ (./optparse.aux
117
117
 
118
118
  LaTeX Warning: Label `default' multiply defined.
119
119
 
120
120
 
121
121
  LaTeX Warning: Label `default' multiply defined.
122
122
 
123
- ) (./clidescription.aux) (./code.aux
123
+ ) (./command.aux
124
124
 
125
125
  LaTeX Warning: Label `default' multiply defined.
126
126
 
127
127
 
128
128
  LaTeX Warning: Label `default' multiply defined.
129
129
 
130
+ ) (./thor.aux
130
131
 
131
132
  LaTeX Warning: Label `default' multiply defined.
132
133
 
@@ -205,163 +206,201 @@ LaTeX Font Info: Font shape `JY1/mc/m/n' will be
205
206
  (./abstract.tex) [3
206
207
 
207
208
  ]
208
- \openout2 = `purpose.aux'.
209
+ \openout2 = `introduction.aux'.
209
210
 
210
- (./purpose.tex)
211
- [4
211
+ (./introduction.tex
212
212
 
213
+ LaTeX Warning: File `../figs/./hikiutils_yamane_09_copy.001.jpg' not found on i
214
+ nput line 7.
215
+
216
+ File: ../figs/./hikiutils_yamane_09_copy.001.jpg Graphic file (type eps)
217
+ <../figs/./hikiutils_yamane_09_copy.001.jpg>
218
+ LaTeX Font Info: Font shape `JT1/mc/m/n' will be
219
+ (Font) scaled to size 8.64899pt on input line 8.
220
+ LaTeX Font Info: Font shape `JY1/mc/m/n' will be
221
+ (Font) scaled to size 8.64899pt on input line 8.
222
+ [4
223
+
224
+
225
+ ]) [5] [6
213
226
 
214
227
  ]
215
- \openout2 = `method.aux'.
228
+ \openout2 = `compare.aux'.
216
229
 
217
- (./method.tex
230
+ (./compare.tex
218
231
  LaTeX Font Info: Font shape `JT1/gt/m/n' will be
219
232
  (Font) scaled to size 11.53198pt on input line 2.
220
233
  LaTeX Font Info: Font shape `JY1/gt/m/n' will be
221
234
  (Font) scaled to size 11.53198pt on input line 2.
222
- File: ../figs/./hikiutils_yamane_09_copy.001.jpg Graphic file (type eps)
223
- <../figs/./hikiutils_yamane_09_copy.001.jpg>
224
- LaTeX Font Info: Font shape `JT1/mc/m/n' will be
225
- (Font) scaled to size 8.64899pt on input line 7.
226
- LaTeX Font Info: Font shape `JY1/mc/m/n' will be
227
- (Font) scaled to size 8.64899pt on input line 7.
228
- [5
229
-
230
235
 
231
- ]) [6]
232
236
  [7
233
237
 
238
+ ]) [8]
239
+ \openout2 = `optparse.aux'.
240
+
241
+ (./optparse.tex
242
+
243
+ LaTeX Warning: File `../figs/./hikiutils_yamane_09_copy.005.jpg' not found on i
244
+ nput line 9.
245
+
246
+ File: ../figs/./hikiutils_yamane_09_copy.005.jpg Graphic file (type eps)
247
+ <../figs/./hikiutils_yamane_09_copy.005.jpg>
248
+ (/usr/local/texlive/2016/texmf-dist/tex/latex/listings/lstlang1.sty
249
+ File: lstlang1.sty 2015/06/04 1.6 listings language file
250
+ )
251
+ (/usr/local/texlive/2016/texmf-dist/tex/latex/listings/lstlang2.sty
252
+ File: lstlang2.sty 2015/06/04 1.6 listings language file
253
+ ) [9
254
+
255
+
234
256
  ]
235
- \openout2 = `results.aux'.
257
+ LaTeX Font Info: Font shape `JT1/gt/m/n' will be
258
+ (Font) scaled to size 8.64899pt on input line 20.
259
+ LaTeX Font Info: Font shape `JY1/gt/m/n' will be
260
+ (Font) scaled to size 8.64899pt on input line 20.
261
+ LaTeX Font Info: Font shape `JT1/mc/m/n' will be
262
+ (Font) scaled to size 6.72699pt on input line 21.
263
+ LaTeX Font Info: Font shape `JT1/gt/bx/n' in size <9> not available
264
+ (Font) Font shape `JT1/gt/m/n' tried instead on input line 21.
265
+ LaTeX Font Info: Font shape `JT1/gt/m/n' will be
266
+ (Font) scaled to size 8.64899pt on input line 21.
267
+ LaTeX Font Info: Font shape `JY1/gt/bx/n' in size <9> not available
268
+ (Font) Font shape `JY1/gt/m/n' tried instead on input line 21.
269
+ LaTeX Font Info: Font shape `JY1/gt/m/n' will be
270
+ (Font) scaled to size 8.64899pt on input line 21.
271
+ LaTeX Font Info: Font shape `OT1/cmtt/bx/n' in size <9> not available
272
+ (Font) Font shape `OT1/cmtt/m/n' tried instead on input line 21.
236
273
 
237
- (./results.tex
238
- File: ../figs/./hikiutils_yamane_09_copy.002.jpg Graphic file (type eps)
239
- <../figs/./hikiutils_yamane_09_copy.002.jpg>
240
- LaTeX Font Info: Try loading font information for OMS+cmr on input line 22.
274
+
275
+ LaTeX Warning: File `../figs/./hikiutils_yamane_09_copy.007.jpg' not found on i
276
+ nput line 58.
277
+
278
+ File: ../figs/./hikiutils_yamane_09_copy.007.jpg Graphic file (type eps)
279
+ <../figs/./hikiutils_yamane_09_copy.007.jpg> [10]
280
+ LaTeX Font Info: Try loading font information for OMS+cmr on input line 71.
241
281
 
242
282
  (/usr/local/texlive/2016/texmf-dist/tex/latex/base/omscmr.fd
243
283
  File: omscmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions
244
284
  )
245
285
  LaTeX Font Info: Font shape `OMS/cmr/m/n' in size <10> not available
246
- (Font) Font shape `OMS/cmsy/m/n' tried instead on input line 22.
247
- [8
286
+ (Font) Font shape `OMS/cmsy/m/n' tried instead on input line 71.
287
+ LaTeX Font Info: Font shape `JT1/gt/m/it' in size <9> not available
288
+ (Font) Font shape `JT1/gt/m/n' tried instead on input line 73.
289
+ LaTeX Font Info: Font shape `JT1/gt/m/n' will be
290
+ (Font) scaled to size 8.64899pt on input line 73.
291
+ LaTeX Font Info: Font shape `JY1/gt/m/it' in size <9> not available
292
+ (Font) Font shape `JY1/gt/m/n' tried instead on input line 73.
293
+ LaTeX Font Info: Font shape `JY1/gt/m/n' will be
294
+ (Font) scaled to size 8.64899pt on input line 73.
295
+ [11]) [12]
296
+ [13
248
297
 
249
298
  ]
250
- LaTeX Font Info: Font shape `JT1/mc/m/n' will be
251
- (Font) scaled to size 6.72699pt on input line 31.
299
+ \openout2 = `command.aux'.
300
+
301
+ (./command.tex
302
+
303
+ LaTeX Warning: File `../figs/./hikiutils_yamane_09_copy.002.jpg' not found on i
304
+ nput line 16.
305
+
306
+ File: ../figs/./hikiutils_yamane_09_copy.002.jpg Graphic file (type eps)
307
+ <../figs/./hikiutils_yamane_09_copy.002.jpg> [14
252
308
 
309
+ ]
253
310
  Overfull \hbox (143.87068pt too wide) in paragraph at lines 53--54
254
311
  [][][][]
255
312
  []
256
313
 
257
- [9]
314
+ [15]
258
315
  Overfull \hbox (16.03305pt too wide) in paragraph at lines 67--89
259
316
  [][][]
260
317
  []
261
318
 
262
- [10]) [11]
263
- \openout2 = `clidescription.aux'.
264
-
265
- (./clidescription.tex [12
319
+ [16]) [17]
320
+ \openout2 = `thor.aux'.
266
321
 
322
+ (./thor.tex
267
323
 
268
- ]) [13]
269
- \openout2 = `code.aux'.
324
+ LaTeX Warning: File `../figs/./hikiutils_yamane_09_copy.003.jpg' not found on i
325
+ nput line 15.
270
326
 
271
- (./code.tex
272
327
  File: ../figs/./hikiutils_yamane_09_copy.003.jpg Graphic file (type eps)
273
-
274
- <../figs/./hikiutils_yamane_09_copy.003.jpg>
275
- (/usr/local/texlive/2016/texmf-dist/tex/latex/listings/lstlang1.sty
276
- File: lstlang1.sty 2015/06/04 1.6 listings language file
277
- )
278
- (/usr/local/texlive/2016/texmf-dist/tex/latex/listings/lstlang2.sty
279
- File: lstlang2.sty 2015/06/04 1.6 listings language file
280
- )
281
- LaTeX Font Info: Font shape `JT1/gt/m/n' will be
282
- (Font) scaled to size 8.64899pt on input line 21.
283
- LaTeX Font Info: Font shape `JY1/gt/m/n' will be
284
- (Font) scaled to size 8.64899pt on input line 21.
285
- LaTeX Font Info: Font shape `JT1/gt/m/it' in size <9> not available
286
- (Font) Font shape `JT1/gt/m/n' tried instead on input line 22.
287
- LaTeX Font Info: Font shape `JT1/gt/m/n' will be
288
- (Font) scaled to size 8.64899pt on input line 22.
289
- LaTeX Font Info: Font shape `JY1/gt/m/it' in size <9> not available
290
- (Font) Font shape `JY1/gt/m/n' tried instead on input line 22.
291
- LaTeX Font Info: Font shape `JY1/gt/m/n' will be
292
- (Font) scaled to size 8.64899pt on input line 22.
293
- [14
328
+ <../figs/./hikiutils_yamane_09_copy.003.jpg> [18
294
329
 
295
330
 
296
331
  ]
297
- LaTeX Font Info: Font shape `JT1/gt/bx/n' in size <9> not available
298
- (Font) Font shape `JT1/gt/m/n' tried instead on input line 35.
299
- LaTeX Font Info: Font shape `JT1/gt/m/n' will be
300
- (Font) scaled to size 8.64899pt on input line 35.
301
- LaTeX Font Info: Font shape `JY1/gt/bx/n' in size <9> not available
302
- (Font) Font shape `JY1/gt/m/n' tried instead on input line 35.
303
- LaTeX Font Info: Font shape `JY1/gt/m/n' will be
304
- (Font) scaled to size 8.64899pt on input line 35.
305
- LaTeX Font Info: Font shape `OT1/cmtt/bx/n' in size <9> not available
306
- (Font) Font shape `OT1/cmtt/m/n' tried instead on input line 35.
332
+
333
+ LaTeX Warning: File `../figs/./hikiutils_yamane_09_copy.004.jpg' not found on i
334
+ nput line 46.
335
+
307
336
  File: ../figs/./hikiutils_yamane_09_copy.004.jpg Graphic file (type eps)
337
+ <../figs/./hikiutils_yamane_09_copy.004.jpg> [19]
308
338
 
309
- <../figs/./hikiutils_yamane_09_copy.004.jpg> [15]
310
- File: ../figs/./hikiutils_yamane_09_copy.005.jpg Graphic file (type eps)
339
+ LaTeX Warning: File `../figs/./hikiutils_yamane_09_copy.006.jpg' not found on i
340
+ nput line 77.
311
341
 
312
- <../figs/./hikiutils_yamane_09_copy.005.jpg> [16] [17] [18] [19]
313
342
  File: ../figs/./hikiutils_yamane_09_copy.006.jpg Graphic file (type eps)
314
-
315
- <../figs/./hikiutils_yamane_09_copy.006.jpg>
316
- Overfull \hbox (3.95764pt too wide) in paragraph at lines 204--206
343
+ <../figs/./hikiutils_yamane_09_copy.006.jpg> [20]
344
+ Overfull \hbox (3.95764pt too wide) in paragraph at lines 86--87
317
345
  \OT1/cmr/m/n/10 Thor \JY1/mc/m/n/10 では \OT1/cmr/m/n/10 start(ARGV) \JY1/mc/m/
318
346
  n/10 を呼び出すことで \OT1/cmr/m/n/10 CLI \JY1/mc/m/n/10 を開始する . \OT1/cmr
319
347
  /m/n/10 Hikithor::CLI.start(ARGV)
320
348
  []
321
349
 
322
- File: ../figs/./hikiutils_yamane_09_copy.007.jpg Graphic file (type eps)
323
- <../figs/./hikiutils_yamane_09_copy.007.jpg> [20] [21] [22] [23]) [24]
324
- Overfull \hbox (172.09023pt too wide) in paragraph at lines 58--59
350
+
351
+ Overfull \hbox (56.86226pt too wide) in paragraph at lines 107--107
352
+ [] \OT1/cmtt/m/n/10 attr_accessor :src, :target, :editor_command, :browser, :
353
+ data_name, :l_dir[]
354
+ []
355
+
356
+
357
+ Overfull \hbox (77.86208pt too wide) in paragraph at lines 107--107
358
+ [] \OT1/cmtt/m/n/10 @data_name=['nick_name','local_dir','local_uri','glob
359
+ al_dir','global_uri'][]
360
+ []
361
+
362
+ [21]) [22]
363
+ Overfull \hbox (172.09023pt too wide) in paragraph at lines 59--60
325
364
  []\OT1/cmr/m/n/10 [1-1] hiki-doc, \OT1/cmtt/m/n/10 https://rubygems.org/gems/hi
326
365
  kidoc/versions/0.1.0, https://github.com/hiki/hikidoc,2017/1/30
327
366
  []
328
367
 
329
368
 
330
- Overfull \hbox (40.87556pt too wide) in paragraph at lines 60--61
369
+ Overfull \hbox (40.87556pt too wide) in paragraph at lines 61--62
331
370
  []\OT1/cmr/m/n/10 [1-2] \JY1/mc/m/n/10 「\OT1/cmr/m/n/10 Thor \JY1/mc/m/n/10
332
371
  の使い方まとめ 」 \OT1/cmr/m/n/10 , \OT1/cmtt/m/n/10 http://qiita.com/succi0303
333
372
  /items/32560103190436c9435b
334
373
  []
335
374
 
336
375
 
337
- Overfull \hbox (118.23022pt too wide) in paragraph at lines 62--63
376
+ Overfull \hbox (118.23022pt too wide) in paragraph at lines 63--64
338
377
  []\OT1/cmr/m/n/10 [1-3] \JY1/mc/m/n/10 「\OT1/cmr/m/n/10 15.5. opt-parse - \JY
339
378
  1/mc/m/n/10 コマンドラインオプシ ョン解析器 」 \OT1/cmr/m/n/10 , \OT1/cmtt/m/n/
340
379
  10 http://docs.python.jp/2/library/optparse.html
341
380
  []
342
381
 
343
382
 
344
- Overfull \hbox (48.19972pt too wide) in paragraph at lines 64--65
383
+ Overfull \hbox (48.19972pt too wide) in paragraph at lines 65--66
345
384
  []\OT1/cmr/m/n/10 [1-4] \JY1/mc/m/n/10 「\OT1/cmr/m/n/10 li-brary opt-parse\JY
346
385
  1/mc/m/n/10 」 \OT1/cmr/m/n/10 , \OT1/cmtt/m/n/10 https://docs.ruby-lang.org/ja
347
386
  /latest/library/optparse.html
348
387
  []
349
388
 
350
- [25
389
+ [23
351
390
 
352
- ] (./hikiutils_yamane.aux (./abstract.aux) (./purpose.aux) (./method.aux)
353
- (./results.aux) (./clidescription.aux) (./code.aux))
391
+ ] (./hikiutils_yamane.aux (./abstract.aux) (./introduction.aux)
392
+ (./compare.aux) (./optparse.aux) (./command.aux) (./thor.aux))
354
393
 
355
394
  LaTeX Warning: There were multiply-defined labels.
356
395
 
357
396
  )
358
397
  Here is how much of TeX's memory you used:
359
- 2579 strings out of 493683
360
- 35621 string characters out of 6149653
361
- 256222 words of memory out of 5000000
362
- 6109 multiletter control sequences out of 15000+600000
398
+ 2590 strings out of 493683
399
+ 35742 string characters out of 6149653
400
+ 246437 words of memory out of 5000000
401
+ 6120 multiletter control sequences out of 15000+600000
363
402
  15673 words of font info for 72 fonts, out of 8000000 for 9000
364
403
  934 hyphenation exceptions out of 8191
365
- 34i,9n,51p,588b,1731s stack positions out of 5000i,500n,10000p,200000b,80000s
404
+ 34i,9n,51p,781b,1694s stack positions out of 5000i,500n,10000p,200000b,80000s
366
405
 
367
- Output written on hikiutils_yamane.dvi (25 pages, 103944 bytes).
406
+ Output written on hikiutils_yamane.dvi (23 pages, 77320 bytes).
@@ -48,12 +48,13 @@
48
48
  \tableofcontents
49
49
 
50
50
  \include{abstract}
51
- \include{purpose}
52
- \include{method}
51
+ \include{introduction}
52
+ \section{方法}
53
+ \include{compare}
54
+ \include{optparse}
53
55
  \section{結果}
54
- \include{results}
55
- \include{clidescription}
56
- \include{code}
56
+ \include{command}
57
+ \include{thor}
57
58
  \section{参考文献}
58
59
  [1-1] hikidoc, \verb|https://rubygems.org/gems/hikidoc/versions/0.1.0,| \verb|https://github.com/hiki/hikidoc,2017/1/30| アクセス.
59
60
 
@@ -1,22 +1,26 @@
1
1
  \contentsline {section}{\numberline {1}概要}{3}
2
- \contentsline {section}{\numberline {2}目的}{4}
3
- \contentsline {section}{\numberline {3}方法}{5}
4
- \contentsline {subsection}{\numberline {3.1}既存システムの説明}{5}
5
- \contentsline {section}{\numberline {4}結果}{7}
6
- \contentsline {subsection}{\numberline {4.1}コマンドの命名原則}{8}
7
- \contentsline {subsection}{\numberline {4.2}hikiutilsがあらかじめ想定している利用形態}{8}
8
- \contentsline {subsection}{\numberline {4.3}コメンド名と振る舞いの詳細}{10}
9
- \contentsline {subsection}{\numberline {4.4}CLIの解説}{12}
10
- \contentsline {subsubsection}{\numberline {4.4.1}Thor}{12}
11
- \contentsline {subsubsection}{\numberline {4.4.2}optparse}{12}
12
- \contentsline {subsection}{\numberline {4.5}Thorの初期化}{14}
13
- \contentsline {subsubsection}{\numberline {4.5.1}コード}{14}
14
- \contentsline {subsection}{\numberline {4.6}コマンド表示と処理}{15}
15
- \contentsline {subsubsection}{\numberline {4.6.1}Thor}{15}
16
- \contentsline {subsubsection}{\numberline {4.6.2}optparse}{16}
17
- \contentsline {subsubsection}{\numberline {4.6.3}コード}{17}
18
- \contentsline {subsection}{\numberline {4.7}CLIの実行}{20}
19
- \contentsline {subsubsection}{\numberline {4.7.1}Thor}{20}
20
- \contentsline {subsubsection}{\numberline {4.7.2}optparse}{20}
21
- \contentsline {subsubsection}{\numberline {4.7.3}コード}{21}
22
- \contentsline {section}{\numberline {5}参考文献}{25}
2
+ \contentsline {section}{\numberline {2}序論}{4}
3
+ \contentsline {section}{\numberline {3}方法}{6}
4
+ \contentsline {subsection}{\numberline {3.1}optparseとthorの比較}{7}
5
+ \contentsline {subsubsection}{\numberline {3.1.1}optparse}{7}
6
+ \contentsline {subsubsection}{\numberline {3.1.2}Thor}{7}
7
+ \contentsline {subsection}{\numberline {3.2}既存のhikiutilsのコマンド解説}{9}
8
+ \contentsline {subsubsection}{\numberline {3.2.1}コマンドの登録と実行メソッド}{9}
9
+ \contentsline {subsubsection}{\numberline {3.2.2}CLIの実行プロセス}{10}
10
+ \contentsline {subsubsection}{\numberline {3.2.3}コード}{11}
11
+ \contentsline {section}{\numberline {4}結果}{13}
12
+ \contentsline {subsection}{\numberline {4.1}コマンドの命名原則}{14}
13
+ \contentsline {subsubsection}{\numberline {4.1.1}hikiutilsの想定利用形態}{14}
14
+ \contentsline {subsubsection}{\numberline {4.1.2}コメンド名と振る舞いの詳細}{16}
15
+ \contentsline {paragraph}{open FILE}{16}
16
+ \contentsline {paragraph}{ls [FILE]}{17}
17
+ \contentsline {paragraph}{rsync}{17}
18
+ \contentsline {paragraph}{touch FILE}{17}
19
+ \contentsline {paragraph}{pwd}{17}
20
+ \contentsline {paragraph}{cd VAL}{17}
21
+ \contentsline {subsection}{\numberline {4.2}Thorによる実装}{18}
22
+ \contentsline {subsubsection}{\numberline {4.2.1}クラス初期化}{18}
23
+ \contentsline {subsubsection}{\numberline {4.2.2}コマンド定義}{19}
24
+ \contentsline {subsubsection}{\numberline {4.2.3}CLIの実行プロセス}{20}
25
+ \contentsline {subsubsection}{\numberline {4.2.4}optparseとの全体的な比較}{22}
26
+ \contentsline {section}{\numberline {5}参考文献}{23}
@@ -1,7 +1,9 @@
1
1
  \relax
2
- \@writefile{toc}{\contentsline {section}{\numberline {2}目的}{4}}
3
- \@setckpt{purpose}{
4
- \setcounter{page}{5}
2
+ \@writefile{toc}{\contentsline {section}{\numberline {2}序論}{4}}
3
+ \@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces hiki web systemとhiki systemの対応関係.}}{4}}
4
+ \newlabel{default}{{1}{4}}
5
+ \@setckpt{introduction}{
6
+ \setcounter{page}{6}
5
7
  \setcounter{equation}{0}
6
8
  \setcounter{enumi}{0}
7
9
  \setcounter{enumii}{0}
@@ -15,7 +17,7 @@
15
17
  \setcounter{subsubsection}{0}
16
18
  \setcounter{paragraph}{0}
17
19
  \setcounter{subparagraph}{0}
18
- \setcounter{figure}{0}
20
+ \setcounter{figure}{1}
19
21
  \setcounter{table}{0}
20
22
  \setcounter{lstnumber}{1}
21
23
  \setcounter{lstlisting}{0}
@@ -1,33 +1,11 @@
1
1
  \section{序論}
2
- \subsection{目的}
3
- 本研究ではhikiの編集作業をより容易にするためのツールの開発を行った.
4
- hikiは通常web上で編集を行っているが,GUIとCUIが混在しており,操作に不便な点がある.
5
- そこで,編集操作が CUI で完結するために開発をされたのが hikiutils である.
6
- しかし,そのユーザインタフェースにはコマンドが直感的でないという問題点がある.
7
- そこで,Thorというコマンドラインツール作成ライブラリを用いる.
8
- optparseというコマンドライン解析ライブラリを使用しているhikiutilsを新たなコマンドライン解析ライブラリを使用することコマンドを書き換え,より直感的なコマンドにすることが可能である.
2
+ hikiは,hiki記法を用いたwiki cloneです.wikiはウォード・カニンガムが作ったwikiwikiwebを源流とするhome page制作を容易にするシステムで,hikiもwikiの基本要求仕様を満足するシステムを提供しています.wikiの特徴であるweb上で編集する機能を提供しています.これを便宜上hiki web systemと呼びます.図にある通り,一般的な表示画面の他に,編集画面が提供されており,ユーザーはこの編集画面からコンテンツを編集することが可能です.リンクやヘッダー,リスト,引用,表,図の表示などの基本テキストフォーマットが用意されています.
9
3
 
10
- \subsection{既存システムの背景}
11
- \subsubsection{hiki}
12
- hikiとはプログラミング言語Rubyを用いられることで作られたwikiクローンの1つである.
13
- hikiの主な特徴として
4
+ hiki web systemの実際の基本動作は,hiki.cgiプログラムを介して行われています.こちらを便宜上hiki systemと呼びます.図に従ってhiki systemの動作概要を説明します.hiki systemは,data/textに置かれた書かれたプレーンテキストをhtmlへ変換します.この変換はhikidoc[1-1]というhikiフォーマットconverterを使っています.また,添付書類はcache/attachに,一度フォーマットしたhtmlはparserに置かれており,それらを参照してhtmlを表示する画面をhiki.cgiは作っています.さらにhiki systemでは検索機能,自動リンク作成などが提供されています
14
5
 
15
- \begin{itemize}
16
- \item オリジナルwikiに似たシンプルな書式
17
- \item プラグインによる機能拡張
18
- \item 出力するHTMLを柔軟に変更可能
19
- \item ページにカテゴリ付けできる
20
- \item CSSを使ったテーマ機能
21
- \item 携帯端末可能
22
- \item InterWikiのサポート
23
- \item HikiFarmに対応
24
- \item ページの追加,編集がしやすい
25
- \end{itemize}
26
- 等がある[1].
27
-
28
- \subsubsection{hikiutils}
29
- hikiutils は hiki の編集作業を容易に行うことができるよう にするツール群であり,プログラミング言語 Ruby のライブ ラリである gem フォーマットに従って提供されている[2].
30
- hikiutils は CLI(Command Line Interface) で操作するため, オプション解析をおこなう必要がある.
31
- gem には,この用途 に適合したライブラリがいくつも提供されている[3].
32
- この中 で,あまり利用頻度は高くないが古くから開発され,使用例 が広く紹介されている optparse を利用している.
6
+ \begin{figure}[htbp]\begin{center}
7
+ \includegraphics[width=6cm,bb=0 0 442 432]{../figs/./hikiutils_yamane_09_copy.001.jpg}
8
+ \caption{hiki web systemとhiki systemの対応関係.}
9
+ \label{default}\end{center}\end{figure}
10
+ 研究室内の内部文書,あるいは外部への宣伝資料,さらにwikipediaのように重要な研究成果の発信などに西谷研ではこのhiki systemを利用しています.初心者にも覚えやすい直感的な操作です.しかし,慣れてくるとテキスト編集や画面更新にいちいちweb画面へ移行せねばならず,編集の思考が停止します.そこで,テキスト編集に優れたeditorとの連携や,terminal上のshell commandと連携しやすいようにhikiutilsというcli(command line interface)を作成して運用しています.しかし,そのユーザインタフェースにはコマンドが直感的でないという問題点がある.そこで,Thorというコマンドラインツール作成ライブラリを用いる.hikiutilsでは,optparseというコマンドライン解析ライブラリを使用しているが,新たなライブラリThorを使用してコマンドを書き換え,より直感的なコマンドに変更する.
33
11
 
@@ -0,0 +1,29 @@
1
+ \relax
2
+ \@writefile{toc}{\contentsline {subsection}{\numberline {3.2}既存のhikiutilsのコマンド解説}{9}}
3
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {3.2.1}コマンドの登録と実行メソッド}{9}}
4
+ \@writefile{lof}{\contentsline {figure}{\numberline {2}{\ignorespaces コマンドの登録と実行メソッドの対応}}{9}}
5
+ \newlabel{default}{{2}{9}}
6
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {3.2.2}CLIの実行プロセス}{10}}
7
+ \@writefile{lof}{\contentsline {figure}{\numberline {3}{\ignorespaces CLIの実行プロセス.}}{11}}
8
+ \newlabel{default}{{3}{11}}
9
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {3.2.3}コード}{11}}
10
+ \@setckpt{optparse}{
11
+ \setcounter{page}{13}
12
+ \setcounter{equation}{0}
13
+ \setcounter{enumi}{2}
14
+ \setcounter{enumii}{0}
15
+ \setcounter{enumiii}{0}
16
+ \setcounter{enumiv}{0}
17
+ \setcounter{footnote}{0}
18
+ \setcounter{mpfootnote}{0}
19
+ \setcounter{part}{0}
20
+ \setcounter{section}{3}
21
+ \setcounter{subsection}{2}
22
+ \setcounter{subsubsection}{3}
23
+ \setcounter{paragraph}{0}
24
+ \setcounter{subparagraph}{0}
25
+ \setcounter{figure}{3}
26
+ \setcounter{table}{0}
27
+ \setcounter{lstnumber}{38}
28
+ \setcounter{lstlisting}{0}
29
+ }
@@ -0,0 +1,116 @@
1
+
2
+ \subsection{既存のhikiutilsのコマンド解説}
3
+ 既存のhikiutilsはコマンド解析ライブラリのoptparseを用いて,コマンドの処理を行っている.
4
+ optparseの特徴は,「コマンドの登録,実行method」に分けて記述することが期待されている.
5
+ また,CLIの起動の仕方が特徴的である.この二つを取り出して,動作とコードを説明する.
6
+
7
+ \subsubsection{コマンドの登録と実行メソッド}
8
+ \begin{figure}[htbp]\begin{center}
9
+ \includegraphics[width=6cm,bb=0 0 442 432]{../figs/./hikiutils_yamane_09_copy.005.jpg}
10
+ \caption{コマンドの登録と実行メソッドの対応}
11
+ \label{default}\end{center}\end{figure}
12
+ optparseでは以下の通り,コマンドの登録と実行が行われる.
13
+
14
+ \begin{enumerate}
15
+ \item OptionParserオブジェクトoptを生成
16
+ \item optにコマンドを登録
17
+ \item 入力されたコマンドの処理のメソッドへ移動
18
+ \end{enumerate}
19
+ optparseではOptionParserオブジェクトoptの生成を行い,コマンドをoptに登録することでコマンドを作成することができる.しかし,これはコマンドを登録しているだけでコマンドの一覧ではこれを表示することができるが,コマンドの実行を行うためには実行を行うためのメソッドを作成する必要がある.optparseでのコマンドの実行はoptで登録されたコマンドが入力されることでそれぞれのコマンドの処理を行うメソッドに移動し処理を行う.しかし,このコマンド登録はハイフンを付けたコマンドしか登録ができず,ハイフンなしのコマンド登録はまた別の手段でやらなくてはいけない.
20
+ \begin{lstlisting}[style=customRuby]
21
+ def execute
22
+ @argv << '--help' if @argv.size==0
23
+ command_parser = OptionParser.new do |opt|
24
+ opt.on('-v', '--version','show program Version.') { |v|
25
+ opt.version = HikiUtils::VERSION
26
+ puts opt.ver
27
+ }
28
+ opt.on('-s', '--show','show sources') {show_sources}
29
+ opt.on('-a', '--add','add sources info') {add_sources }
30
+ opt.on('-t', '--target VAL','set target id') {|val| set_target(val)}
31
+ opt.on('-e', '--edit FILE','open file') {|file| edit_file(file) }
32
+
33
+ ...省略...
34
+
35
+ end
36
+ begin
37
+ command_parser.parse!(@argv)
38
+ rescue=> eval
39
+ p eval
40
+ end
41
+ dump_sources
42
+ exit
43
+ end
44
+
45
+ def show_sources()
46
+ printf("target_no:%i\n",@src[:target])
47
+ printf("editor_command:%s\n",@src[:editor_command])
48
+
49
+ ...省略...
50
+
51
+ end
52
+
53
+ 以下略
54
+
55
+ \end{lstlisting}
56
+ \subsubsection{CLIの実行プロセス}
57
+ \begin{figure}[htbp]\begin{center}
58
+ \includegraphics[width=6cm,bb=0 0 442 432]{../figs/./hikiutils_yamane_09_copy.007.jpg}
59
+ \caption{CLIの実行プロセス.}
60
+ \label{default}\end{center}\end{figure}
61
+ optparseを用いた場合のCLIの実行プロセスは次の通りとなる.
62
+
63
+ \begin{enumerate}
64
+ \item HikiのHikiUtils::Command.run(ARGV)でhikiutils.rbのrunメソッドを呼ぶ
65
+ \item new(argv).executeでexecuteメソッドが実行される
66
+ \end{enumerate}
67
+ optparseではHikiutils::Command.run(ARGV)を実行される.requireで呼び出されたhikiutils.rbでrunメソッドが実行される.そこでコマンドを登録しているexecuteメソッドへ移動し入力したコマンドと対応させる.そして,対応したコマンドの処理が行われるメソッドに移動することで実行される.このようにoptparseでは実行を行うためのメソッドが必要であるが,
68
+
69
+ \subsubsection{コード}
70
+ \begin{itemize}
71
+ \item optparse
72
+ \end{itemize}\begin{lstlisting}[style=customRuby]
73
+ #!/usr/bin/env ruby
74
+
75
+ require "hikiutils"
76
+
77
+ HikiUtils::Command.run(ARGV)
78
+ \end{lstlisting}\begin{lstlisting}[style=customRuby]
79
+ def self.run(argv=[])
80
+ print "hikiutils: provide utilities for helping hiki editing.\n"
81
+ new(argv).execute
82
+ end
83
+
84
+ def execute
85
+ @argv << '--help' if @argv.size==0
86
+ command_parser = OptionParser.new do |opt|
87
+ opt.on('-v', '--version','show program Version.') { |v|
88
+ opt.version = HikiUtils::VERSION
89
+ puts opt.ver
90
+ }
91
+ opt.on('-s', '--show','show sources') {show_sources}
92
+ opt.on('-a', '--add','add sources info') {add_sources }
93
+ opt.on('-t', '--target VAL','set target id') {|val| set_target(val) }
94
+ opt.on('-e', '--edit FILE','open file') {|file| edit_file(file) }
95
+ opt.on('-l', '--list [FILE]','list files') {|file| list_files(file) }
96
+ opt.on('-u', '--update FILE','update file') {|file| update_file(file) }
97
+ opt.on('-r', '--rsync','rsync files') {rsync_files}
98
+ opt.on('--database FILE','read database file') {|file| db_file(file)}
99
+ opt.on('--display FILE','display converted hikifile') {|file| display(f\
100
+ ile)}
101
+ opt.on('-c', '--checkdb','check database file') {check_db}
102
+ opt.on('--remove FILE','remove file') {|file| remove_file(file)}
103
+ opt.on('--move FILES','move file1,file2',Array) {|files| move_file(file\
104
+ s)}
105
+ opt.on('--euc FILE','translate file to euc') {|file| euc_file(file) }
106
+ opt.on('--initialize','initialize source directory') {dir_init() }
107
+ end
108
+ begin
109
+ command_parser.parse!(@argv)
110
+ rescue=> eval
111
+ p eval
112
+ end
113
+ dump_sources
114
+ exit
115
+ end
116
+ \end{lstlisting}
@@ -0,0 +1,32 @@
1
+ \relax
2
+ \@writefile{toc}{\contentsline {subsection}{\numberline {4.2}Thorによる実装}{18}}
3
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.1}クラス初期化}{18}}
4
+ \@writefile{lof}{\contentsline {figure}{\numberline {5}{\ignorespaces Thorのinitializeでのコード}}{18}}
5
+ \newlabel{default}{{5}{18}}
6
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.2}コマンド定義}{19}}
7
+ \@writefile{lof}{\contentsline {figure}{\numberline {6}{\ignorespaces thorにおけるコマンド記述のひな形.}}{20}}
8
+ \newlabel{default}{{6}{20}}
9
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.3}CLIの実行プロセス}{20}}
10
+ \@writefile{lof}{\contentsline {figure}{\numberline {7}{\ignorespaces CLIの実行プロセス.}}{21}}
11
+ \newlabel{default}{{7}{21}}
12
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.4}optparseとの全体的な比較}{22}}
13
+ \@setckpt{thor}{
14
+ \setcounter{page}{23}
15
+ \setcounter{equation}{0}
16
+ \setcounter{enumi}{2}
17
+ \setcounter{enumii}{0}
18
+ \setcounter{enumiii}{0}
19
+ \setcounter{enumiv}{0}
20
+ \setcounter{footnote}{0}
21
+ \setcounter{mpfootnote}{0}
22
+ \setcounter{part}{0}
23
+ \setcounter{section}{4}
24
+ \setcounter{subsection}{2}
25
+ \setcounter{subsubsection}{4}
26
+ \setcounter{paragraph}{0}
27
+ \setcounter{subparagraph}{0}
28
+ \setcounter{figure}{7}
29
+ \setcounter{table}{1}
30
+ \setcounter{lstnumber}{6}
31
+ \setcounter{lstlisting}{0}
32
+ }