hikiutils 0.2.3.7 → 0.2.3.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/hikiutils_bob/Rakefile +146 -38
  3. data/hikiutils_bob/figs/calphad_bob.pdf +0 -0
  4. data/hikiutils_bob/figs/hikiutils_bob.001.bb +5 -0
  5. data/hikiutils_bob/figs/hikiutils_bob.002.jpeg +0 -0
  6. data/hikiutils_bob/figs/hikiutils_bob.004.jpeg +0 -0
  7. data/hikiutils_bob/figs/hikiutils_bob.005.jpeg +0 -0
  8. data/hikiutils_bob/hikiutils_bob/hikiutils_bob.002.jpeg +0 -0
  9. data/hikiutils_bob/hikiutils_bob/hikiutils_bob.004.jpeg +0 -0
  10. data/hikiutils_bob/hikiutils_bob/hikiutils_bob.005.jpeg +0 -0
  11. data/hikiutils_bob/hikiutils_bob.hiki +3 -3
  12. data/hikiutils_bob/hikiutils_bob.key +0 -0
  13. data/hikiutils_bob/latex2hiki.hiki +3 -0
  14. data/hikiutils_bob/latex_all.hiki +51 -14
  15. data/hikiutils_bob/latex_dir/head.tex +2 -0
  16. data/hikiutils_bob/latex_dir/hikiutils_bob.aux +1 -0
  17. data/hikiutils_bob/latex_dir/hikiutils_bob.log +75 -35
  18. data/hikiutils_bob/latex_dir/hikiutils_bob.pdf +0 -0
  19. data/hikiutils_bob/latex_dir/hikiutils_bob.synctex.gz +0 -0
  20. data/hikiutils_bob/latex_dir/hikiutils_bob.tex +3 -0
  21. data/hikiutils_bob/latex_dir/hikiutils_bob.toc +34 -25
  22. data/hikiutils_bob/latex_dir/latex2hiki.aux +23 -0
  23. data/hikiutils_bob/latex_dir/latex2hiki.tex +4 -0
  24. data/hikiutils_bob/latex_dir/latex_all.aux +16 -13
  25. data/hikiutils_bob/latex_dir/latex_all.tex +51 -10
  26. data/hikiutils_bob/latex_dir/sync.aux +33 -27
  27. data/hikiutils_bob/latex_dir/sync.log +18 -188
  28. data/hikiutils_bob/latex_dir/sync.tex +54 -23
  29. data/hikiutils_bob/sync.hiki +49 -21
  30. data/hikiutils_bob/toc.hiki +28 -0
  31. data/hikiutils_yamane/Rakefile +67 -15
  32. data/hikiutils_yamane/abstract.hiki +7 -0
  33. data/hikiutils_yamane/clidescription.hiki +4 -4
  34. data/hikiutils_yamane/figs/hikiutils_yamane_09_copy.001.jpg +0 -0
  35. data/hikiutils_yamane/figs/hikiutils_yamane_09_copy.002.jpg +0 -0
  36. data/hikiutils_yamane/figs/hikiutils_yamane_09_copy.003.jpg +0 -0
  37. data/hikiutils_yamane/figs/hikiutils_yamane_09_copy.004.jpg +0 -0
  38. data/hikiutils_yamane/figs/hikiutils_yamane_09_copy.005.jpg +0 -0
  39. data/hikiutils_yamane/figs/hikiutils_yamane_09_copy.006.jpg +0 -0
  40. data/hikiutils_yamane/figs/hikiutils_yamane_09_copy.007.jpg +0 -0
  41. data/hikiutils_yamane/hikiutils_yamane.hiki +6 -7
  42. data/hikiutils_yamane/latex_dir/abstract.aux +2 -2
  43. data/hikiutils_yamane/latex_dir/abstract.tex +8 -0
  44. data/hikiutils_yamane/latex_dir/clidescription.aux +9 -10
  45. data/hikiutils_yamane/latex_dir/clidescription.tex +4 -5
  46. data/hikiutils_yamane/latex_dir/code.aux +25 -25
  47. data/hikiutils_yamane/latex_dir/code.tex +15 -15
  48. data/hikiutils_yamane/latex_dir/compare.tex +4 -4
  49. data/hikiutils_yamane/latex_dir/head.tex +1 -0
  50. data/hikiutils_yamane/latex_dir/hikiutils_yamane.aux +3 -6
  51. data/hikiutils_yamane/latex_dir/hikiutils_yamane.log +78 -117
  52. data/hikiutils_yamane/latex_dir/hikiutils_yamane.pdf +0 -0
  53. data/hikiutils_yamane/latex_dir/hikiutils_yamane.synctex.gz +0 -0
  54. data/hikiutils_yamane/latex_dir/hikiutils_yamane.tex +3 -6
  55. data/hikiutils_yamane/latex_dir/hikiutils_yamane.toc +22 -48
  56. data/hikiutils_yamane/latex_dir/method.aux +25 -0
  57. data/hikiutils_yamane/latex_dir/method.tex +14 -0
  58. data/hikiutils_yamane/latex_dir/purpose.aux +6 -9
  59. data/hikiutils_yamane/latex_dir/purpose.tex +1 -14
  60. data/hikiutils_yamane/latex_dir/results.aux +11 -19
  61. data/hikiutils_yamane/latex_dir/results.tex +22 -12
  62. data/hikiutils_yamane/method.hiki +12 -0
  63. data/hikiutils_yamane/purpose.hiki +1 -12
  64. data/hikiutils_yamane/results.hiki +15 -12
  65. data/hikiutils_yamane/toc.hiki +22 -0
  66. data/lib/hikiutils/version.rb +1 -1
  67. data/lib/templates/Rakefile_hiki_sync +102 -21
  68. metadata +14 -38
  69. data/hikiutils.gemspec~ +0 -43
  70. data/hikiutils_bob/latex_dir/hikiutils_bob +0 -243
  71. data/hikiutils_bob/latex_dir/hikiutils_bob.001.bb +0 -5
  72. data/hikiutils_bob/latex_dir/hikiutils_bob.001.jpeg +0 -0
  73. data/hikiutils_bob/latex_dir/hikiutils_bob.002.bb +0 -5
  74. data/hikiutils_bob/latex_dir/hikiutils_bob.002.jpeg +0 -0
  75. data/hikiutils_bob/latex_dir/hikiutils_bob.003.bb +0 -5
  76. data/hikiutils_bob/latex_dir/hikiutils_bob.003.jpeg +0 -0
  77. data/hikiutils_bob/latex_dir/latex_all).aux +0 -21
  78. data/hikiutils_bob/latex_dir/sync).aux +0 -21
  79. data/hikiutils_bob/latex_dir/sync.pdf +0 -0
  80. data/hikiutils_bob/latex_dir/sync.synctex.gz +0 -0
  81. data/hikiutils_bob/latex_dir/sync.toc +0 -17
  82. data/hikiutils_bob/latex_dir/to_latex.tex +0 -44
  83. data/hikiutils_yamane/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/222/343/202/232/343/203/274/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/222/343/202/232/343/203/274.001.jpg +0 -0
  84. data/hikiutils_yamane/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/222/343/202/232/343/203/274/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/222/343/202/232/343/203/274.002.jpg +0 -0
  85. data/hikiutils_yamane/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/222/343/202/232/343/203/274/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/222/343/202/232/343/203/274.003.jpg +0 -0
  86. data/hikiutils_yamane/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/222/343/202/232/343/203/274/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/222/343/202/232/343/203/274.004.jpg +0 -0
  87. data/hikiutils_yamane/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/222/343/202/232/343/203/274/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/222/343/202/232/343/203/274.005.jpg +0 -0
  88. data/hikiutils_yamane/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/222/343/202/232/343/203/274/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/222/343/202/232/343/203/274.006.jpg +0 -0
  89. data/hikiutils_yamane/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/222/343/202/232/343/203/274/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/222/343/202/232/343/203/274.007.jpg +0 -0
  90. data/hikiutils_yamane/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/224/343/203/274/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/224/343/203/274.001.jpg +0 -0
  91. data/hikiutils_yamane/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/224/343/203/274/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/224/343/203/274.002.jpg +0 -0
  92. data/hikiutils_yamane/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/224/343/203/274/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/224/343/203/274.003.jpg +0 -0
  93. data/hikiutils_yamane/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/224/343/203/274/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/224/343/203/274.004.jpg +0 -0
  94. data/hikiutils_yamane/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/224/343/203/274/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/224/343/203/274.005.jpg +0 -0
  95. data/hikiutils_yamane/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/224/343/203/274/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/224/343/203/274.006.jpg +0 -0
  96. data/hikiutils_yamane/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/224/343/203/274/hikiutils_yamane_09 /343/201/256/343/202/263/343/203/224/343/203/274.007.jpg +0 -0
  97. data/hikiutils_yamane/hikiutils_yamane_09.key +0 -0
  98. data/hikiutils_yamane/latex_dir/command_table.aux +0 -4
  99. data/hikiutils_yamane/latex_dir/command_table.log +0 -152
  100. data/hikiutils_yamane/latex_dir/command_table.pdf +0 -0
  101. data/hikiutils_yamane/latex_dir/command_table.synctex.gz +0 -0
  102. data/hikiutils_yamane/latex_dir/compare.aux +0 -40
  103. data/hikiutils_yamane/latex_dir/introduction.aux +0 -26
  104. data/hikiutils_yamane/latex_dir/pre.tex +0 -36
@@ -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) 31 JAN 2017 18:45
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 10:06
2
2
  entering extended mode
3
3
  restricted \write18 enabled.
4
4
  file:line:error style messages enabled.
@@ -122,7 +122,10 @@ LaTeX Warning: Label `default' multiply defined.
122
122
 
123
123
  LaTeX Warning: Label `default' multiply defined.
124
124
 
125
- ) (./latex_all.aux))
125
+
126
+ LaTeX Warning: Label `default' multiply defined.
127
+
128
+ ) (./latex_all.aux) (./latex2hiki.aux))
126
129
  \openout1 = `hikiutils_bob.aux'.
127
130
 
128
131
  LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 39.
@@ -159,17 +162,17 @@ LaTeX Font Info: External font `cmex10' loaded for size
159
162
  LaTeX Font Info: Font shape `JY1/mc/m/n' will be
160
163
  (Font) scaled to size 5.76599pt on input line 45.
161
164
  LaTeX Font Info: Font shape `JT1/gt/m/n' will be
162
- (Font) scaled to size 9.60999pt on input line 46.
165
+ (Font) scaled to size 9.60999pt on input line 48.
163
166
  LaTeX Font Info: Font shape `JY1/gt/m/n' will be
164
- (Font) scaled to size 9.60999pt on input line 46.
167
+ (Font) scaled to size 9.60999pt on input line 48.
165
168
  LaTeX Font Info: Font shape `JT1/mc/m/n' will be
166
- (Font) scaled to size 13.83836pt on input line 46.
169
+ (Font) scaled to size 13.83836pt on input line 48.
167
170
  LaTeX Font Info: Font shape `JY1/mc/m/n' will be
168
- (Font) scaled to size 13.83836pt on input line 46.
171
+ (Font) scaled to size 13.83836pt on input line 48.
169
172
  LaTeX Font Info: Font shape `JT1/gt/m/n' will be
170
- (Font) scaled to size 13.83836pt on input line 46.
173
+ (Font) scaled to size 13.83836pt on input line 48.
171
174
  LaTeX Font Info: Font shape `JY1/gt/m/n' will be
172
- (Font) scaled to size 13.83836pt on input line 46.
175
+ (Font) scaled to size 13.83836pt on input line 48.
173
176
  (./hikiutils_bob.toc [1
174
177
 
175
178
  ]
@@ -181,18 +184,18 @@ LaTeX Font Info: Font shape `JY1/mc/m/n' will be
181
184
  (Font) scaled to size 6.72699pt on input line 3.
182
185
  LaTeX Font Info: Font shape `JY1/mc/m/n' will be
183
186
  (Font) scaled to size 4.805pt on input line 3.
184
- )
187
+ [2])
185
188
  \tf@toc=\write3
186
189
  \openout3 = `hikiutils_bob.toc'.
187
190
 
188
- LaTeX Font Info: Try loading font information for OMS+cmr on input line 49.
191
+ LaTeX Font Info: Try loading font information for OMS+cmr on input line 51.
189
192
 
190
193
  (/usr/local/texlive/2016/texmf-dist/tex/latex/base/omscmr.fd
191
194
  File: omscmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions
192
195
  )
193
196
  LaTeX Font Info: Font shape `OMS/cmr/m/n' in size <10> not available
194
- (Font) Font shape `OMS/cmsy/m/n' tried instead on input line 49.
195
- [2]
197
+ (Font) Font shape `OMS/cmsy/m/n' tried instead on input line 51.
198
+ [3]
196
199
  \openout2 = `sync.aux'.
197
200
 
198
201
  (./sync.tex
@@ -203,59 +206,96 @@ LaTeX Font Info: Font shape `JT1/mc/m/n' will be
203
206
  (Font) scaled to size 8.64899pt on input line 11.
204
207
  LaTeX Font Info: Font shape `JY1/mc/m/n' will be
205
208
  (Font) scaled to size 8.64899pt on input line 11.
209
+ [4
210
+
211
+ ]
206
212
  LaTeX Font Info: Font shape `JT1/gt/m/n' will be
207
213
  (Font) scaled to size 11.53198pt on input line 16.
208
214
  LaTeX Font Info: Font shape `JY1/gt/m/n' will be
209
215
  (Font) scaled to size 11.53198pt on input line 16.
210
- [3
211
-
212
- ]
213
216
  File: ../figs/./hikiutils_bob.003.jpeg Graphic file (type eps)
214
217
  <../figs/./hikiutils_bob.003.jpeg>
215
218
  LaTeX Font Info: Font shape `JT1/mc/m/n' will be
216
219
  (Font) scaled to size 6.72699pt on input line 40.
217
220
 
218
- [4] [5] [6]
219
- LaTeX Font Info: Try loading font information for OML+cmr on input line 129.
221
+ [5]
222
+ File: ../figs/./hikiutils_bob.004.jpeg Graphic file (type eps)
223
+ <../figs/./hikiutils_bob.004.jpeg> [6] [7] [8]
224
+ LaTeX Font Info: Try loading font information for OML+cmr on input line 139.
220
225
 
221
- (/usr/local/texlive/2016/texmf-dist/tex/latex/base/omlcmr.fd
226
+
227
+ (/usr/local/texlive/2016/texmf-dist/tex/latex/base/omlcmr.fd
222
228
  File: omlcmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions
223
229
  )
224
230
  LaTeX Font Info: Font shape `OML/cmr/m/n' in size <10> not available
225
- (Font) Font shape `OML/cmm/m/it' tried instead on input line 129.
231
+ (Font) Font shape `OML/cmm/m/it' tried instead on input line 139.
232
+ [9]
233
+ Overfull \hbox (9.61267pt too wide) in paragraph at lines 180--180
234
+ []\OT1/cmtt/m/n/10 -rw-rw-rw- 1 bob staff 7220 2 5 12:03 hikiutils_bob_l
235
+ atex_all[]
236
+ []
226
237
 
227
- [7]
228
- File: ../figs/./hikiutils_bob.004.jpeg Graphic file (type eps)
229
- <../figs/./hikiutils_bob.004.jpeg> [8] [9]
230
- Overfull \hbox (24.60419pt too wide) in paragraph at lines 203--204
238
+ [10]
239
+ File: ../figs/./hikiutils_bob.005.jpeg Graphic file (type eps)
240
+ <../figs/./hikiutils_bob.005.jpeg> [11]
241
+ Overfull \hbox (24.60419pt too wide) in paragraph at lines 234--235
231
242
  []\OT1/cmtt/m/n/10 convert #{source} -resize 20% #{target}\JY1/gt/m/n/10 によ
232
243
  って , \OT1/cmtt/m/n/10 target=figs/TAERGET.png
233
244
  []
234
245
 
235
- ) [10]
246
+ ) [12]
236
247
  \openout2 = `latex_all.aux'.
237
248
 
238
- (./latex_all.tex [11
249
+ (./latex_all.tex [13
239
250
 
240
251
 
241
- ] [12]
242
- Overfull \hbox (71.46521pt too wide) in paragraph at lines 103--104
252
+ ] [14]
253
+ Overfull \hbox (71.46521pt too wide) in paragraph at lines 108--109
243
254
  []\JY1/mc/m/n/10 うまくできないときは\JY1/gt/m/n/10 ここ \OT1/cmtt/m/n/10 (http
244
255
  ://qiita.com/hideaki_polisci/items/3afd204449c6cdd995c9)
245
256
  []
246
257
 
247
- [13] [14]) [15] (./hikiutils_bob.aux (./sync.aux) (./latex_all.aux))
258
+ [15] [16] [17]
259
+ (/usr/local/texlive/2016/texmf-dist/tex/latex/listings/lstlang1.sty
260
+ File: lstlang1.sty 2015/06/04 1.6 listings language file
261
+ )
262
+ (/usr/local/texlive/2016/texmf-dist/tex/latex/listings/lstlang2.sty
263
+ File: lstlang2.sty 2015/06/04 1.6 listings language file
264
+ )
265
+ LaTeX Font Info: Font shape `JT1/gt/m/n' will be
266
+ (Font) scaled to size 8.64899pt on input line 197.
267
+ LaTeX Font Info: Font shape `JY1/gt/m/n' will be
268
+ (Font) scaled to size 8.64899pt on input line 197.
269
+ LaTeX Font Info: Font shape `JT1/gt/bx/n' in size <9> not available
270
+ (Font) Font shape `JT1/gt/m/n' tried instead on input line 199.
271
+ LaTeX Font Info: Font shape `JT1/gt/m/n' will be
272
+ (Font) scaled to size 8.64899pt on input line 199.
273
+ LaTeX Font Info: Font shape `JY1/gt/bx/n' in size <9> not available
274
+ (Font) Font shape `JY1/gt/m/n' tried instead on input line 199.
275
+ LaTeX Font Info: Font shape `JY1/gt/m/n' will be
276
+ (Font) scaled to size 8.64899pt on input line 199.
277
+ LaTeX Font Info: Font shape `OT1/cmtt/bx/n' in size <9> not available
278
+ (Font) Font shape `OT1/cmtt/m/n' tried instead on input line 199.
279
+ ) [18]
280
+ \openout2 = `latex2hiki.aux'.
281
+
282
+
283
+ (./latex2hiki.tex) [19
284
+
285
+
286
+ ] (./hikiutils_bob.aux (./sync.aux) (./latex_all.aux)
287
+ (./latex2hiki.aux))
248
288
 
249
289
  LaTeX Warning: There were multiply-defined labels.
250
290
 
251
291
  )
252
292
  Here is how much of TeX's memory you used:
253
- 2278 strings out of 493683
254
- 31685 string characters out of 6149653
255
- 144508 words of memory out of 5000000
256
- 5844 multiletter control sequences out of 15000+600000
257
- 15224 words of font info for 69 fonts, out of 8000000 for 9000
293
+ 2457 strings out of 493683
294
+ 34042 string characters out of 6149653
295
+ 171572 words of memory out of 5000000
296
+ 6008 multiletter control sequences out of 15000+600000
297
+ 15505 words of font info for 71 fonts, out of 8000000 for 9000
258
298
  934 hyphenation exceptions out of 8191
259
- 29i,9n,35p,749b,1565s stack positions out of 5000i,500n,10000p,200000b,80000s
299
+ 34i,9n,51p,749b,1565s stack positions out of 5000i,500n,10000p,200000b,80000s
260
300
 
261
- Output written on hikiutils_bob.dvi (15 pages, 41528 bytes).
301
+ Output written on hikiutils_bob.dvi (19 pages, 56900 bytes).
@@ -43,6 +43,8 @@
43
43
  \date{\vspace{3cm} 2017年 3月\\
44
44
  \vspace{3cm} 指導教員  西谷 滋人 教授}
45
45
  \maketitle
46
+ \setcounter{tocdepth}{6}
47
+
46
48
  \tableofcontents
47
49
 
48
50
  \begin{itemize}
@@ -50,4 +52,5 @@
50
52
  \end{itemize}
51
53
  \include{sync}
52
54
  \include{latex_all}
55
+ \include{latex2hiki}
53
56
  \end{document}
@@ -1,25 +1,34 @@
1
- \contentsline {section}{\numberline {1}イントロダクション}{3}
2
- \contentsline {section}{\numberline {2}hikiとの同期}{3}
3
- \contentsline {subsection}{\numberline {2.1}hikiutilsのinstall}{3}
4
- \contentsline {subsection}{\numberline {2.2}個別ディレクトリーの構成}{4}
5
- \contentsline {subsection}{\numberline {2.3}一般的な執筆手順}{5}
6
- \contentsline {subsection}{\numberline {2.4}rakeが用意しているタスク}{6}
7
- \contentsline {subsubsection}{\numberline {2.4.1}rake sync}{6}
8
- \contentsline {subsubsection}{\numberline {2.4.2}rake convert VAL DIR}{7}
9
- \contentsline {subsubsection}{\numberline {2.4.3}rake force\_sync}{7}
10
- \contentsline {subsubsection}{\numberline {2.4.4}rake chenv}{7}
11
- \contentsline {subsubsection}{\numberline {2.4.5}rake increment}{7}
12
- \contentsline {subsubsection}{\numberline {2.4.6}rake number}{7}
13
- \contentsline {subsection}{\numberline {2.5}githubによる同期}{8}
14
- \contentsline {subsection}{\numberline {2.6}hikiutil関連のヘルプ}{9}
15
- \contentsline {subsubsection}{\numberline {2.6.1}hikiで卒論を書くときの初期化と掟}{9}
16
- \contentsline {subsubsection}{\numberline {2.6.2}error対応}{10}
17
- \contentsline {subsubsection}{\numberline {2.6.3}図表:すべての図表をkeynoteにまとめる,タイトルを分かりやすく書く}{10}
18
- \contentsline {section}{\numberline {3}実際の最終形態(卒論=pdf)への変換}{11}
19
- \contentsline {subsection}{\numberline {3.1}install}{11}
20
- \contentsline {subsection}{\numberline {3.2}rake latex手順(個別ファイルの変換)}{12}
21
- \contentsline {subsubsection}{\numberline {3.2.1}注意}{12}
22
- \contentsline {subsection}{\numberline {3.3}rake latex\_all手順(ディレクトリー内の一括変換)}{13}
23
- \contentsline {subsubsection}{\numberline {3.3.1}下準備}{13}
24
- \contentsline {paragraph}{head.tex}{14}
25
- \contentsline {paragraph}{pre.tex}{14}
1
+ \contentsline {section}{\numberline {1}イントロダクション}{4}
2
+ \contentsline {section}{\numberline {2}hikiとの同期}{5}
3
+ \contentsline {subsection}{\numberline {2.1}hikiutilsのinstall}{5}
4
+ \contentsline {subsection}{\numberline {2.2}個別ディレクトリーの構成}{5}
5
+ \contentsline {subsection}{\numberline {2.3}システムの概要}{6}
6
+ \contentsline {subsection}{\numberline {2.4}一般的な執筆手順}{6}
7
+ \contentsline {subsection}{\numberline {2.5}rakeが用意しているタスク}{7}
8
+ \contentsline {subsubsection}{\numberline {2.5.1}rake sync}{8}
9
+ \contentsline {subsubsection}{\numberline {2.5.2}rake force\_sync}{8}
10
+ \contentsline {subsubsection}{\numberline {2.5.3}rake chenv}{8}
11
+ \contentsline {subsubsection}{\numberline {2.5.4}rake convert VAL DIR}{9}
12
+ \contentsline {subsubsection}{\numberline {2.5.5}rake increment}{9}
13
+ \contentsline {subsubsection}{\numberline {2.5.6}rake number}{9}
14
+ \contentsline {subsubsection}{\numberline {2.5.7}rake touch}{10}
15
+ \contentsline {subsubsection}{\numberline {2.5.8}rake github}{10}
16
+ \contentsline {subsubsection}{\numberline {2.5.9}rake reset\_hiki}{10}
17
+ \contentsline {subsection}{\numberline {2.6}githubによる同期}{10}
18
+ \contentsline {subsection}{\numberline {2.7}hikiutil関連のヘルプ}{11}
19
+ \contentsline {subsubsection}{\numberline {2.7.1}hikiで卒論を書くときの初期化と掟}{11}
20
+ \contentsline {subsubsection}{\numberline {2.7.2}error対応}{12}
21
+ \contentsline {subsubsection}{\numberline {2.7.3}図表:すべての図表をkeynoteにまとめる,タイトルを分かりやすく書く}{12}
22
+ \contentsline {section}{\numberline {3}実際の最終形態(卒論=pdf)への変換}{13}
23
+ \contentsline {subsection}{\numberline {3.1}install}{13}
24
+ \contentsline {subsection}{\numberline {3.2}rake latex(個別ファイルの変換)}{14}
25
+ \contentsline {subsubsection}{\numberline {3.2.1}注意}{14}
26
+ \contentsline {subsection}{\numberline {3.3}rake latex\_all手順(ディレクトリー内の一括変換)}{15}
27
+ \contentsline {subsubsection}{\numberline {3.3.1}下準備}{15}
28
+ \contentsline {paragraph}{head.tex}{16}
29
+ \contentsline {paragraph}{pre.tex}{16}
30
+ \contentsline {subsection}{\numberline {3.4}補助コマンドの解説}{17}
31
+ \contentsline {subsubsection}{\numberline {3.4.1}rake reset\_latex\_dir(latex\_dirのゴミ掃除)}{17}
32
+ \contentsline {subsubsection}{\numberline {3.4.2}wrap関係}{17}
33
+ \contentsline {section}{\numberline {4}hikiへのlatexからの変換}{19}
34
+ \contentsline {subsection}{\numberline {4.1}rake mk\_toc}{19}
@@ -0,0 +1,23 @@
1
+ \relax
2
+ \@writefile{toc}{\contentsline {section}{\numberline {4}hikiへのlatexからの変換}{19}}
3
+ \@writefile{toc}{\contentsline {subsection}{\numberline {4.1}rake mk\_toc}{19}}
4
+ \@setckpt{latex2hiki}{
5
+ \setcounter{page}{20}
6
+ \setcounter{equation}{0}
7
+ \setcounter{enumi}{4}
8
+ \setcounter{enumii}{1}
9
+ \setcounter{enumiii}{0}
10
+ \setcounter{enumiv}{0}
11
+ \setcounter{footnote}{0}
12
+ \setcounter{mpfootnote}{0}
13
+ \setcounter{part}{0}
14
+ \setcounter{section}{4}
15
+ \setcounter{subsection}{1}
16
+ \setcounter{subsubsection}{0}
17
+ \setcounter{paragraph}{0}
18
+ \setcounter{subparagraph}{0}
19
+ \setcounter{figure}{4}
20
+ \setcounter{table}{1}
21
+ \setcounter{lstnumber}{10}
22
+ \setcounter{lstlisting}{0}
23
+ }
@@ -0,0 +1,4 @@
1
+ \section{hikiへのlatexからの変換}
2
+ \subsection{rake mk\_toc}
3
+ latexが作成するtableofcontentsの実態であるtocファイルからhiki用のtoc.hikiを作成する.
4
+
@@ -1,14 +1,17 @@
1
1
  \relax
2
- \@writefile{toc}{\contentsline {section}{\numberline {3}実際の最終形態(卒論=pdf)への変換}{11}}
3
- \@writefile{toc}{\contentsline {subsection}{\numberline {3.1}install}{11}}
4
- \@writefile{toc}{\contentsline {subsection}{\numberline {3.2}rake latex手順(個別ファイルの変換)}{12}}
5
- \@writefile{toc}{\contentsline {subsubsection}{\numberline {3.2.1}注意}{12}}
6
- \@writefile{toc}{\contentsline {subsection}{\numberline {3.3}rake latex\_all手順(ディレクトリー内の一括変換)}{13}}
7
- \@writefile{toc}{\contentsline {subsubsection}{\numberline {3.3.1}下準備}{13}}
8
- \@writefile{toc}{\contentsline {paragraph}{head.tex}{14}}
9
- \@writefile{toc}{\contentsline {paragraph}{pre.tex}{14}}
2
+ \@writefile{toc}{\contentsline {section}{\numberline {3}実際の最終形態(卒論=pdf)への変換}{13}}
3
+ \@writefile{toc}{\contentsline {subsection}{\numberline {3.1}install}{13}}
4
+ \@writefile{toc}{\contentsline {subsection}{\numberline {3.2}rake latex(個別ファイルの変換)}{14}}
5
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {3.2.1}注意}{14}}
6
+ \@writefile{toc}{\contentsline {subsection}{\numberline {3.3}rake latex\_all手順(ディレクトリー内の一括変換)}{15}}
7
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {3.3.1}下準備}{15}}
8
+ \@writefile{toc}{\contentsline {paragraph}{head.tex}{16}}
9
+ \@writefile{toc}{\contentsline {paragraph}{pre.tex}{16}}
10
+ \@writefile{toc}{\contentsline {subsection}{\numberline {3.4}補助コマンドの解説}{17}}
11
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {3.4.1}rake reset\_latex\_dir(latex\_dirのゴミ掃除)}{17}}
12
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {3.4.2}wrap関係}{17}}
10
13
  \@setckpt{latex_all}{
11
- \setcounter{page}{16}
14
+ \setcounter{page}{19}
12
15
  \setcounter{equation}{0}
13
16
  \setcounter{enumi}{4}
14
17
  \setcounter{enumii}{1}
@@ -18,12 +21,12 @@
18
21
  \setcounter{mpfootnote}{0}
19
22
  \setcounter{part}{0}
20
23
  \setcounter{section}{3}
21
- \setcounter{subsection}{3}
22
- \setcounter{subsubsection}{1}
24
+ \setcounter{subsection}{4}
25
+ \setcounter{subsubsection}{2}
23
26
  \setcounter{paragraph}{0}
24
27
  \setcounter{subparagraph}{0}
25
- \setcounter{figure}{3}
28
+ \setcounter{figure}{4}
26
29
  \setcounter{table}{1}
27
- \setcounter{lstnumber}{38}
30
+ \setcounter{lstnumber}{10}
28
31
  \setcounter{lstlisting}{0}
29
32
  }
@@ -39,13 +39,12 @@ hiki -i
39
39
  \end{verbatim}\end{quote}
40
40
  でinstallされています.新たに使うコマンド群は次の通りです.
41
41
  \begin{lstlisting}[style=]
42
- rake change_wrap # change latex figures to wrap format
43
- rake latex # latex conversion FILE1
44
- rake latex_all # latex conversion whole hiki files in the current dir
45
- rake latex_base # latex conversion FILE1(hiki) to FILE2(latex)
46
- rake latex_wrap # latex conversion FILE1 with wrap format
42
+ rake latex # FILE1をlatexに変換
43
+ rake latex_all # すべてのhikiファイルをlatex変換
44
+ rake latex_wrap # FILE1をwrap formatでlatexに変換
45
+ rake reset_latex_dir # latex_dirのゴミファイルを削除
47
46
  \end{lstlisting}
48
- \subsection{rake latex手順(個別ファイルの変換)}\begin{quote}\begin{verbatim}
47
+ \subsection{rake latex(個別ファイルの変換)}\begin{quote}\begin{verbatim}
49
48
  rake latex sync.hiki
50
49
  \end{verbatim}\end{quote}
51
50
  とすると,
@@ -53,6 +52,7 @@ rake latex sync.hiki
53
52
  latex_dir/sync.tex
54
53
  \end{verbatim}\end{quote}
55
54
  にlatex変換後のファイルが生成します.これを,TeXShopでcommand\_t変換します.
55
+ 完成例はこちらです.
56
56
 
57
57
  \begin{itemize}
58
58
  \item \verb|{{attach_anchor(sync.pdf,hikiutils_bob)}}|
@@ -67,6 +67,10 @@ dvipdfmx sync.dvi
67
67
  \subsubsection{注意}
68
68
  hikiの初めの部分は,
69
69
  \begin{quote}\begin{verbatim}
70
+ bob% head -3 hikiutils_bob.hiki
71
+ ! title:hikiutils -iによる卒論作成システム
72
+ ! autor:Shigeto R. Nishitani
73
+ ! date: Kwansei Gakuen Univ., 2017/1
70
74
 
71
75
  \end{verbatim}\end{quote}
72
76
  とすると,
@@ -77,7 +81,8 @@ hikiの初めの部分は,
77
81
  \date{ Kwansei Gakuen Univ., 2017/1}
78
82
  \maketitle
79
83
  \end{lstlisting}
80
- と変換してくれます.
84
+ と変換してくれます.次節のlatex\_allでは,basename.hikiに書かれたそれらの情報は,
85
+ head.texでtitleなどを用意するべきなので,自動で消されます.
81
86
 
82
87
  必要な図は,figsから自動で取るようになっていますが,
83
88
  サイズや解像度が問題のときは手動で調整してください.
@@ -113,10 +118,13 @@ latex\_dir内に幾つかのtex雛形を入れておく必要があります.
113
118
  hiki -i
114
119
  \end{verbatim}\end{quote}
115
120
  とhikiutils環境を再度初期化すると,自動でインストールする設定です.
116
- なかったら手動で作ってください.
121
+ なかったら手動で作ってください.Rakefile以外は上書きしません.
122
+ また,latex\_dir/head.texは下に記す修正が必要です.
117
123
 
118
124
  \paragraph{head.tex}
119
125
  題目,学生番号,氏名を変更する.年月をチェック.
126
+ \\setcounter{tocdepth}はtocをどこまで表示するかのレベルに対応します.
127
+ 原稿作成時は階層がわかりやすいように深めにしていますが,本番では2程度で十分です.
120
128
  \begin{lstlisting}[style=]
121
129
  bob% cat head.tex
122
130
  \title{卒業論文\\
@@ -125,11 +133,12 @@ bob% cat head.tex
125
133
  \date{\vspace{3cm} 2017年 3月\\
126
134
  \vspace{3cm} 指導教員  西谷 滋人 教授}
127
135
  \maketitle
136
+ \setcounter{tocdepth}{6} %
128
137
 
129
138
  \end{lstlisting}
130
139
  \paragraph{pre.tex}
131
- あまり変更しないほうがいいが,いずれいじる.例えば,フォントポイント数を10から12ptに変える,
132
- \pagestyle{empty}を外すなど.
140
+ あまり変更しないほうがいいですが,いずれいじることになります.
141
+ 例えば,フォントポイント数を10から12ptに変える,\pagestyle{empty}を外すなどです.
133
142
  \begin{lstlisting}[style=]
134
143
  bob% cat pre.tex
135
144
  \documentclass[10pt,a4j]{article}
@@ -169,3 +178,35 @@ bob% cat pre.tex
169
178
  \usepackage{subfigure}
170
179
  \usepackage{here}
171
180
  \end{lstlisting}
181
+ \subsection{補助コマンドの解説}
182
+ \subsubsection{rake reset\_latex\_dir(latex\_dirのゴミ掃除)}
183
+ わかりやすいようにまとめたり,ファイルの名称を変更した時には,過去のtexファイルが残る.
184
+ それらを整理する時に使用.head.texだけをescapeしてrm -rfで消すので,注意が必要.
185
+ 特に図形のfilesやbb filesは消えるので注意.
186
+
187
+ \subsubsection{wrap関係}
188
+ figure環境をwrapfigure環境で作るための幾つかのコマンド群です.
189
+ 卒論ではfigure環境で作る方がいいんですが,journal論文などのページ数が制限された場合は,
190
+ wrapfigureでtextの回りこみや位置調整を行う必要があります.
191
+ それらのための環境を埋め込む仕組みです.
192
+
193
+ \begin{itemize}
194
+ \item rake change\_wrap(wrapで変換)
195
+ \item rake latex\_base(latexに変換するだけの下請け)
196
+ \item rake latex\_wrap(figure環境だけをwrapfig環境に変える)
197
+ \end{itemize}\begin{lstlisting}[style=customRuby]
198
+ desc "latex conversion FILE1"
199
+ task :latex => [:latex_base] do
200
+ exit
201
+ end
202
+
203
+ desc "latex conversion FILE1 with wrap format"
204
+ task :latex_wrap => [:latex_base, :change_wrap] do
205
+ exit
206
+ end
207
+ \end{lstlisting}
208
+ 完成例はこちらです.
209
+
210
+ \begin{itemize}
211
+ \item \verb|{{attach_anchor(calphad_bob.pdf,hikiutils_bob)}}|
212
+ \end{itemize}
@@ -1,31 +1,37 @@
1
1
  \relax
2
- \@writefile{toc}{\contentsline {section}{\numberline {1}イントロダクション}{3}}
3
- \@writefile{toc}{\contentsline {section}{\numberline {2}hikiとの同期}{3}}
4
- \@writefile{toc}{\contentsline {subsection}{\numberline {2.1}hikiutilsのinstall}{3}}
5
- \@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces 卒論編集システムの概要.}}{4}}
2
+ \@writefile{toc}{\contentsline {section}{\numberline {1}イントロダクション}{4}}
3
+ \@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces 卒論編集システムの基本概念.}}{4}}
6
4
  \newlabel{default}{{1}{4}}
7
- \@writefile{toc}{\contentsline {subsection}{\numberline {2.2}個別ディレクトリーの構成}{4}}
8
- \@writefile{lof}{\contentsline {figure}{\numberline {2}{\ignorespaces hikiutils\_bobのディレクトリー構成.}}{5}}
9
- \newlabel{default}{{2}{5}}
10
- \@writefile{toc}{\contentsline {subsection}{\numberline {2.3}一般的な執筆手順}{5}}
11
- \@writefile{toc}{\contentsline {subsection}{\numberline {2.4}rakeが用意しているタスク}{6}}
12
- \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.4.1}rake sync}{6}}
13
- \@writefile{lot}{\contentsline {table}{\numberline {1}{\ignorespaces }}{6}}
14
- \newlabel{default}{{1}{6}}
15
- \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.4.2}rake convert VAL DIR}{7}}
16
- \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.4.3}rake force\_sync}{7}}
17
- \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.4.4}rake chenv}{7}}
18
- \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.4.5}rake increment}{7}}
19
- \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.4.6}rake number}{7}}
20
- \@writefile{toc}{\contentsline {subsection}{\numberline {2.5}githubによる同期}{8}}
21
- \@writefile{lof}{\contentsline {figure}{\numberline {3}{\ignorespaces 卒論編集時のgithubによる同期のシーケンス図.}}{9}}
22
- \newlabel{default}{{3}{9}}
23
- \@writefile{toc}{\contentsline {subsection}{\numberline {2.6}hikiutil関連のヘルプ}{9}}
24
- \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.6.1}hikiで卒論を書くときの初期化と掟}{9}}
25
- \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.6.2}error対応}{10}}
26
- \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.6.3}図表:すべての図表をkeynoteにまとめる,タイトルを分かりやすく書く}{10}}
5
+ \@writefile{toc}{\contentsline {section}{\numberline {2}hikiとの同期}{5}}
6
+ \@writefile{toc}{\contentsline {subsection}{\numberline {2.1}hikiutilsのinstall}{5}}
7
+ \@writefile{toc}{\contentsline {subsection}{\numberline {2.2}個別ディレクトリーの構成}{5}}
8
+ \@writefile{lof}{\contentsline {figure}{\numberline {2}{\ignorespaces hikiutils\_bobのディレクトリー構成.}}{6}}
9
+ \newlabel{default}{{2}{6}}
10
+ \@writefile{toc}{\contentsline {subsection}{\numberline {2.3}システムの概要}{6}}
11
+ \@writefile{toc}{\contentsline {subsection}{\numberline {2.4}一般的な執筆手順}{6}}
12
+ \@writefile{lof}{\contentsline {figure}{\numberline {3}{\ignorespaces システムの概要.}}{7}}
13
+ \newlabel{default}{{3}{7}}
14
+ \@writefile{toc}{\contentsline {subsection}{\numberline {2.5}rakeが用意しているタスク}{7}}
15
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.5.1}rake sync}{8}}
16
+ \@writefile{lot}{\contentsline {table}{\numberline {1}{\ignorespaces }}{8}}
17
+ \newlabel{default}{{1}{8}}
18
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.5.2}rake force\_sync}{8}}
19
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.5.3}rake chenv}{8}}
20
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.5.4}rake convert VAL DIR}{9}}
21
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.5.5}rake increment}{9}}
22
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.5.6}rake number}{9}}
23
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.5.7}rake touch}{10}}
24
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.5.8}rake github}{10}}
25
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.5.9}rake reset\_hiki}{10}}
26
+ \@writefile{toc}{\contentsline {subsection}{\numberline {2.6}githubによる同期}{10}}
27
+ \@writefile{lof}{\contentsline {figure}{\numberline {4}{\ignorespaces 卒論編集時のgithubによる同期のシーケンス図.}}{11}}
28
+ \newlabel{default}{{4}{11}}
29
+ \@writefile{toc}{\contentsline {subsection}{\numberline {2.7}hikiutil関連のヘルプ}{11}}
30
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.7.1}hikiで卒論を書くときの初期化と掟}{11}}
31
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.7.2}error対応}{12}}
32
+ \@writefile{toc}{\contentsline {subsubsection}{\numberline {2.7.3}図表:すべての図表をkeynoteにまとめる,タイトルを分かりやすく書く}{12}}
27
33
  \@setckpt{sync}{
28
- \setcounter{page}{11}
34
+ \setcounter{page}{13}
29
35
  \setcounter{equation}{0}
30
36
  \setcounter{enumi}{6}
31
37
  \setcounter{enumii}{1}
@@ -35,11 +41,11 @@
35
41
  \setcounter{mpfootnote}{0}
36
42
  \setcounter{part}{0}
37
43
  \setcounter{section}{2}
38
- \setcounter{subsection}{6}
44
+ \setcounter{subsection}{7}
39
45
  \setcounter{subsubsection}{3}
40
46
  \setcounter{paragraph}{0}
41
47
  \setcounter{subparagraph}{0}
42
- \setcounter{figure}{3}
48
+ \setcounter{figure}{4}
43
49
  \setcounter{table}{1}
44
50
  \setcounter{lstnumber}{3}
45
51
  \setcounter{lstlisting}{0}