hikiutils 0.2.3.11 → 0.2.3.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/hikiutils.gemspec +1 -0
- data/hikiutils_bob/Rakefile +61 -8
- data/hikiutils_bob/code.hiki +52 -0
- data/hikiutils_bob/figs/hikiutils_bob.004.jpeg +0 -0
- data/hikiutils_bob/figs/hikiutils_bob.006.jpeg +0 -0
- data/hikiutils_bob/figs/hikiutils_bob.pdf +0 -0
- data/hikiutils_bob/hikiutils_bob/hikiutils_bob.004.jpeg +0 -0
- data/hikiutils_bob/hikiutils_bob/hikiutils_bob.006.jpeg +0 -0
- data/hikiutils_bob/hikiutils_bob.hiki +1 -1
- data/hikiutils_bob/hikiutils_bob.key +0 -0
- data/hikiutils_bob/latex_all.hiki +2 -2
- data/hikiutils_bob/latex_dir/code.aux +33 -0
- data/hikiutils_bob/latex_dir/code.tex +57 -0
- data/hikiutils_bob/latex_dir/hikiutils_bob.aux +1 -1
- data/hikiutils_bob/latex_dir/hikiutils_bob.log +70 -69
- data/hikiutils_bob/latex_dir/hikiutils_bob.pdf +0 -0
- data/hikiutils_bob/latex_dir/hikiutils_bob.tex +9 -9
- data/hikiutils_bob/latex_dir/hikiutils_bob.toc +10 -7
- data/hikiutils_bob/latex_dir/jlisting.tex +216 -0
- data/hikiutils_bob/latex_dir/latex2hiki.aux +11 -7
- data/hikiutils_bob/latex_dir/latex2hiki.tex +40 -20
- data/hikiutils_bob/latex_dir/latex_all.aux +1 -1
- data/hikiutils_bob/latex_dir/latex_all.tex +5 -5
- data/hikiutils_bob/latex_dir/pre.tex +1 -1
- data/hikiutils_bob/latex_dir/references.tex +4 -0
- data/hikiutils_bob/latex_dir/sync.aux +4 -3
- data/hikiutils_bob/latex_dir/sync.tex +18 -14
- data/hikiutils_bob/references.hiki +3 -0
- data/hikiutils_bob/sync.hiki +15 -10
- data/hikiutils_bob/tmp1.txt +32 -0
- data/lib/hikiutils/version.rb +1 -1
- data/lib/hikiutils.rb +1 -1
- data/lib/hikiutils.rb~ +3 -1
- data/lib/templates/Rakefile_hiki_sync +61 -8
- metadata +25 -7
- data/hikiutils_bob/.#Rakefile +0 -1
- data/hikiutils_bob/hikiutils_bob/hikiutils_bob.002.bb +0 -5
- data/hikiutils_bob/latex2hiki.hiki +0 -25
- data/hikiutils_bob/latex_dir/hikiutils_bob.synctex.gz +0 -0
- data/hikiutils_bob/latex_dir/sync.log +0 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62a3407c3f768b2e1b46dd533be0cf2abd6707be
|
4
|
+
data.tar.gz: 9cb4306e6aeadb395e53cd2fad88af3603ca312a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18bf3738cd6bdda20de6c961b9ee0bb9413e83b097a82b9885a6b2943fdbc91d11248e0ea5db2834a1b427b94fd7a3ef8cb1913e9f649ad2a9ccd8df4fbfc46a
|
7
|
+
data.tar.gz: 6ec1f8567f1c2a1e7fb5b8e1ddeeebfbe426803ad1cb70d1bc77bfb6af5b3eb879284c6dd5d68f1e38660ed45a66aecea6d075bbcab251f3edb7b2cac13d2756
|
data/hikiutils.gemspec
CHANGED
data/hikiutils_bob/Rakefile
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
require 'systemu'
|
3
3
|
require 'tempfile'
|
4
|
+
require 'colorize'
|
4
5
|
# -*- coding: utf-8 -*-
|
5
6
|
begin
|
6
7
|
$hiki_dir = File.readlines('./.hikirc')[0].chomp
|
@@ -20,7 +21,8 @@ end
|
|
20
21
|
desc "Githubのdirをsafariでopen"
|
21
22
|
task :github do
|
22
23
|
status, stdout, stderr = systemu %q( git remote -v |grep origin )
|
23
|
-
|
24
|
+
github_dir=stdout.match(/(.+):(.+) \(push\)/)[2]
|
25
|
+
puts github_dir.blue
|
24
26
|
system "open https://github.com/#{github_dir}"
|
25
27
|
end
|
26
28
|
|
@@ -32,9 +34,9 @@ task :reset_hiki do
|
|
32
34
|
stdout.split("\n").each{|line|
|
33
35
|
files << line.split(/\s+/)[-1]
|
34
36
|
}
|
35
|
-
|
37
|
+
r_files = files.reverse[0..-4]
|
36
38
|
r_files.each{|file|
|
37
|
-
print "remove #{file}[ynqlA]?"
|
39
|
+
print "remove #{file}[ynqlA]? ".red
|
38
40
|
input=STDIN.gets.chomp
|
39
41
|
case input
|
40
42
|
when 'y'
|
@@ -47,7 +49,7 @@ task :reset_hiki do
|
|
47
49
|
when 'q'
|
48
50
|
exit
|
49
51
|
when 'A'
|
50
|
-
print "\nAre you sure
|
52
|
+
print "\nAre you sure[Yn]? ".magenta
|
51
53
|
input2 = STDIN.gets.chomp
|
52
54
|
case input2
|
53
55
|
when 'Y'
|
@@ -108,11 +110,12 @@ task :touch do
|
|
108
110
|
file_split=file.split(".")
|
109
111
|
if file_split[1]=='hiki'
|
110
112
|
next if file_split[0]==$basename
|
111
|
-
p target = $basename+"_"+file_split[0]
|
113
|
+
p target = $basename==file_split[0] ? $basename : $basename+"_"+file_split[0]
|
112
114
|
system "hiki -u #{target}"
|
113
115
|
end
|
114
116
|
}
|
115
117
|
end
|
118
|
+
exit
|
116
119
|
end
|
117
120
|
|
118
121
|
desc "FILE.hikiあるいはhikiファイルをedtiorで開く"
|
@@ -181,13 +184,12 @@ end
|
|
181
184
|
|
182
185
|
def check_bounding_box
|
183
186
|
# $bounding_box="0 0 442 432"
|
184
|
-
$bounding_box=" 0 0 737
|
187
|
+
$bounding_box=" 0 0 737 553"
|
185
188
|
end
|
186
189
|
|
187
190
|
desc "すべてのhikiファイルをlatex変換"
|
188
191
|
task :latex_all do
|
189
192
|
p entries=Dir.entries('.')
|
190
|
-
check_bounding_box
|
191
193
|
main_file = latex_loop(entries,opts={:main=>true})
|
192
194
|
latex_loop(entries)
|
193
195
|
cont=""
|
@@ -217,6 +219,7 @@ task :latex_all do
|
|
217
219
|
end
|
218
220
|
|
219
221
|
task :latex_base do
|
222
|
+
check_bounding_box
|
220
223
|
Dir.mkdir($latex_dir) unless Dir.exist?($latex_dir)
|
221
224
|
convert_to_latex(ARGV[1])
|
222
225
|
system("open #{$save_name}")
|
@@ -244,8 +247,25 @@ def convert_to_latex(file_name, options={})
|
|
244
247
|
system "hiki2latex #{pre_command} #{options[:latex]} #{tf1} > #{tf2}"
|
245
248
|
lines = File.readlines(tf2)
|
246
249
|
system "rm #{tf1} #{tf2}"
|
247
|
-
cont
|
250
|
+
in_bib,cont=false,""
|
248
251
|
lines.each{|line|
|
252
|
+
line=latex_cite_ref(line)
|
253
|
+
if m=line.match(/\\caption{\s*\((.+?)\)(.+)}/)
|
254
|
+
p m
|
255
|
+
puts line = "\\caption{#{m[2]}}\n\\label{#{m[1]}}\n"
|
256
|
+
end
|
257
|
+
if m=line.match(/\\section{reference:}(.+)/) and in_bib==false
|
258
|
+
in_bib=true
|
259
|
+
line = "\\begin{thebibliography}{99}\n"
|
260
|
+
puts line.blue
|
261
|
+
end
|
262
|
+
if m=line.match(/\\end{description}/) and in_bib==true
|
263
|
+
in_bib=false
|
264
|
+
line = "\\end{thebibliography}\n"
|
265
|
+
end
|
266
|
+
if m=line.match(/\\item\[(.+)\](.+)/) and in_bib==true
|
267
|
+
line ="\\bibitem{#{m[1]}} #{m[2]}"
|
268
|
+
end
|
249
269
|
if m=line.match(/\\includegraphics\[width=6cm\]\{(.+)\}/)
|
250
270
|
p line="\\includegraphics\[width=10cm,bb=#{$bounding_box}\]\{../figs/#{m[1]}\}\n"
|
251
271
|
cont << line
|
@@ -256,6 +276,18 @@ def convert_to_latex(file_name, options={})
|
|
256
276
|
File.open($save_name,'w'){|file| file.print cont }
|
257
277
|
end
|
258
278
|
|
279
|
+
def latex_cite_ref(line)
|
280
|
+
r_pair=[/\\verb\|{{cite\((.+?)\)}}\|/,/\\verb\|{{ref\((.+?)\)}}\|/]
|
281
|
+
while m=line.match(r_pair[0])
|
282
|
+
line.sub!(r_pair[0],"\\cite\{#{m[1]}\}")
|
283
|
+
end
|
284
|
+
while m=line.match(r_pair[1])
|
285
|
+
line.sub!(r_pair[1],"\\ref\{#{m[1]}\}")
|
286
|
+
end
|
287
|
+
puts line.chomp.blue
|
288
|
+
return line
|
289
|
+
end
|
290
|
+
|
259
291
|
task :change_wrap do
|
260
292
|
lines = File.readlines($save_name)
|
261
293
|
|
@@ -344,6 +376,26 @@ task :sync => [:check_previous,:sync0]
|
|
344
376
|
desc "hikiの強制同期"
|
345
377
|
task :force_sync => [:sync0]
|
346
378
|
|
379
|
+
def hiki_cite_ref(file)
|
380
|
+
tf1 = 'tmp1.txt'
|
381
|
+
lines = File.readlines(file)
|
382
|
+
inside_pre_form,cont = false,""
|
383
|
+
lines.each{|line|
|
384
|
+
inside_pre_form=true if line.match(/^<<</) and !inside_pre_form
|
385
|
+
inside_pre_form=false if line.match(/^>>>/) and inside_pre_form
|
386
|
+
tr_pair=[/\{\{cite\((.+?)\)\}\}/,/\{\{ref\((.+)\)\}\}/]
|
387
|
+
while m=line.match(tr_pair[0]) and !inside_pre_form
|
388
|
+
puts line.sub!(tr_pair[0], "\[[[#{m[1]}|#{$basename}_references]]\]").chomp.green
|
389
|
+
end
|
390
|
+
while m=line.match(tr_pair[1]) and !inside_pre_form
|
391
|
+
puts line.sub!(tr_pair[1],"#{m[1]}").chomp.green
|
392
|
+
end
|
393
|
+
cont << line
|
394
|
+
}
|
395
|
+
File.open(tf1,'w'){|file| file.print cont }
|
396
|
+
return tf1
|
397
|
+
end
|
398
|
+
|
347
399
|
task :sync0 do
|
348
400
|
entries=Dir.entries('.')
|
349
401
|
entries[2..-1].each{|source| #cp *.hiki
|
@@ -352,6 +404,7 @@ task :sync0 do
|
|
352
404
|
p base = source.split('.')[0]
|
353
405
|
name = (base==$basename)? base : $basename+'_'+base
|
354
406
|
p target = File.join($hiki_dir,'text',name)
|
407
|
+
source = hiki_cite_ref(source)
|
355
408
|
FileUtils.cp(source,target,:verbose=>true)
|
356
409
|
}
|
357
410
|
p entries=Dir.entries('./figs') #cp files in figs
|
@@ -0,0 +1,52 @@
|
|
1
|
+
!Rakefile開発に関するメモ
|
2
|
+
|
3
|
+
!!日本語のcode listings
|
4
|
+
日本語のjlistingの使用法が判明しました.
|
5
|
+
listingsでは日本語表示がちゃんとなされません.そこで,
|
6
|
+
\usepackage{listings,jlisting}
|
7
|
+
とします.これで,日本語が含まれたcodeも綺麗に表示してくれます.
|
8
|
+
|
9
|
+
!!参照のシステム
|
10
|
+
latexへ文献参照を渡すために,下記のようなフォーマットでの記述を行ってください.
|
11
|
+
|
12
|
+
<<< tcsh
|
13
|
+
図{{ref(fig:SystemOverview)}}に卒論編集システムの概観を示しています.
|
14
|
+
|
15
|
+
!!!caption: (fig:SystemOverview)卒論編集システムの概観.
|
16
|
+
{{attach_view(hikiutils_bob.006.jpeg,hikiutils_bob)}}
|
17
|
+
|
18
|
+
*基本的な使い方{{cite(listings1)}}
|
19
|
+
*独自のカラー化{{cite(listings2)}}
|
20
|
+
!reference:
|
21
|
+
:listings1:[[http://d.hatena.ne.jp/mallowlabs/20061226/1167137637]]
|
22
|
+
:listings2:[[http://www.ipc.akita-nct.ac.jp/~yamamoto/comp/latex/make_doc/source/source.html]]
|
23
|
+
>>>
|
24
|
+
|
25
|
+
ここで,fig:以下にsnake nameは使えません.Camelで書くようにしてください.
|
26
|
+
|
27
|
+
これをlatexにかけると次の通りになります.(体裁は乱れている)
|
28
|
+
|
29
|
+
図{{ref(fig:SystemOverview)}}に卒論編集システムの概観を示しています.
|
30
|
+
|
31
|
+
!!!caption: (fig:SystemOverview)卒論編集システムの概観.
|
32
|
+
{{attach_view(hikiutils_bob.006.jpeg,hikiutils_bob)}}
|
33
|
+
|
34
|
+
*基本的な使い方{{cite(listings1)}}
|
35
|
+
*独自のカラー化{{cite(listings2)}}
|
36
|
+
!reference:
|
37
|
+
:listings1:[[http://d.hatena.ne.jp/mallowlabs/20061226/1167137637]]
|
38
|
+
:listings2:[[http://www.ipc.akita-nct.ac.jp/~yamamoto/comp/latex/make_doc/source/source.html]]
|
39
|
+
|
40
|
+
!!システムの概要
|
41
|
+
卒論編集システム開発時のメモです.図{{ref(fig:SystemOverview)}}に卒論編集システムの概観を示しています.
|
42
|
+
|
43
|
+
hikiシステムとの同期は,hikiutilsのhikiが下請けしている.
|
44
|
+
一方,latex_dirへの出力はlatex2hikiが引き受けている.
|
45
|
+
フォーマットをいじるときには,基本的に
|
46
|
+
:hikiへ:hikiがやるので,そのまえにtmp.txtへ写して置換
|
47
|
+
:texへ:latex2hikiからの出力(tmp.txt)を処理してtexへ
|
48
|
+
で行っている,あるいはおこなう.
|
49
|
+
|
50
|
+
!!rake mk_toc
|
51
|
+
latexが作成するtableofcontentsの実態であるtocファイルからhiki用のtoc.hikiを作成する.
|
52
|
+
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -54,14 +54,14 @@ rake reset_latex_dir # latex_dirのゴミファイルを削除
|
|
54
54
|
|
55
55
|
!!!注意
|
56
56
|
hikiの初めの部分は,
|
57
|
-
<<<
|
57
|
+
<<< tcsh
|
58
58
|
bob% head -3 hikiutils_bob.hiki
|
59
59
|
! title:hikiutils -iによる卒論作成システム
|
60
60
|
! autor:Shigeto R. Nishitani
|
61
61
|
! date: Kwansei Gakuen Univ., 2017/1
|
62
62
|
>>>
|
63
63
|
とすると,
|
64
|
-
<<<
|
64
|
+
<<< latex
|
65
65
|
\begin{document}
|
66
66
|
\title{hikiutils -iによる卒論作成システム}
|
67
67
|
\author{Shigeto R. Nishitani}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
\relax
|
2
|
+
\citation{listings1}
|
3
|
+
\citation{listings2}
|
4
|
+
\bibcite{listings1}{1}
|
5
|
+
\bibcite{listings2}{2}
|
6
|
+
\@writefile{toc}{\contentsline {section}{\numberline {4}Rakefile開発に関するメモ}{19}}
|
7
|
+
\@writefile{toc}{\contentsline {subsection}{\numberline {4.1}日本語のcode listings}{19}}
|
8
|
+
\@writefile{toc}{\contentsline {subsection}{\numberline {4.2}文献参照のシステム}{19}}
|
9
|
+
\@writefile{lof}{\contentsline {figure}{\numberline {5}{\ignorespaces 卒論編集システムの概観.}}{20}}
|
10
|
+
\newlabel{fig:SystemOverview}{{5}{20}}
|
11
|
+
\newlabel{default}{{5}{20}}
|
12
|
+
\@writefile{toc}{\contentsline {subsection}{\numberline {4.3}システムの概要}{20}}
|
13
|
+
\@writefile{toc}{\contentsline {subsection}{\numberline {4.4}rake mk\_toc}{20}}
|
14
|
+
\@setckpt{code}{
|
15
|
+
\setcounter{page}{21}
|
16
|
+
\setcounter{equation}{0}
|
17
|
+
\setcounter{enumi}{4}
|
18
|
+
\setcounter{enumii}{1}
|
19
|
+
\setcounter{enumiii}{0}
|
20
|
+
\setcounter{enumiv}{2}
|
21
|
+
\setcounter{footnote}{0}
|
22
|
+
\setcounter{mpfootnote}{0}
|
23
|
+
\setcounter{part}{0}
|
24
|
+
\setcounter{section}{4}
|
25
|
+
\setcounter{subsection}{4}
|
26
|
+
\setcounter{subsubsection}{0}
|
27
|
+
\setcounter{paragraph}{0}
|
28
|
+
\setcounter{subparagraph}{0}
|
29
|
+
\setcounter{figure}{5}
|
30
|
+
\setcounter{table}{1}
|
31
|
+
\setcounter{lstnumber}{11}
|
32
|
+
\setcounter{lstlisting}{0}
|
33
|
+
}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
\section{Rakefile開発に関するメモ}
|
2
|
+
\subsection{日本語のcode listings}
|
3
|
+
日本語のjlistingの使用法が判明しました.
|
4
|
+
listingsでは日本語表示がちゃんとなされません.そこで,
|
5
|
+
\begin{quote}\begin{verbatim}
|
6
|
+
\usepackage{listings,jlisting}
|
7
|
+
\end{verbatim}\end{quote}
|
8
|
+
とします.これで,日本語が含まれたcodeも綺麗に表示してくれます.
|
9
|
+
|
10
|
+
\subsection{文献参照のシステム}
|
11
|
+
latexへ文献参照を渡すために,下記のようなフォーマットでの記述を行う.
|
12
|
+
\begin{lstlisting}[style=customCsh,basicstyle={\scriptsize\ttfamily}]
|
13
|
+
図{{ref(fig:SystemOverview)}}に卒論編集システムの概観を示しています.
|
14
|
+
|
15
|
+
!!!caption: (fig:SystemOverview)卒論編集システムの概観.
|
16
|
+
{{attach_view(hikiutils_bob.006.jpeg)}}
|
17
|
+
|
18
|
+
*基本的な使い方{{cite(listings1)}}
|
19
|
+
*独自のカラー化{{cite(listings2)}}
|
20
|
+
!reference:
|
21
|
+
:listings1:[[http://d.hatena.ne.jp/mallowlabs/20061226/1167137637]]
|
22
|
+
:listings2:[[http://www.ipc.akita-nct.ac.jp/~yamamoto/comp/latex/make_doc/source/source.html]]
|
23
|
+
\end{lstlisting}
|
24
|
+
これをlatexにかけると次の通りになります.(体裁は乱れている)
|
25
|
+
|
26
|
+
図\ref{fig:SystemOverview}に卒論編集システムの概観を示しています.
|
27
|
+
|
28
|
+
\begin{figure}[htbp]\begin{center}
|
29
|
+
\includegraphics[width=10cm,bb=]{../figs/./hikiutils_bob.006.jpeg}
|
30
|
+
\caption{卒論編集システムの概観.}
|
31
|
+
\label{fig:SystemOverview}
|
32
|
+
\label{default}\end{center}\end{figure}
|
33
|
+
\begin{itemize}
|
34
|
+
\item 基本的な使い方\cite{listings1}
|
35
|
+
\item 独自のカラー化\cite{listings2}
|
36
|
+
\end{itemize}
|
37
|
+
\begin{thebibliography}{99}
|
38
|
+
\bibitem{listings1} \verb|http://d.hatena.ne.jp/mallowlabs/20061226/1167137637|
|
39
|
+
\bibitem{listings2} \verb|http://www.ipc.akita-nct.ac.jp/~yamamoto/comp/latex/make_doc/source/source.html|
|
40
|
+
\end{thebibliography}
|
41
|
+
\subsection{システムの概要}
|
42
|
+
卒論編集システム開発時のメモです.図\ref{fig:SystemOverview}に卒論編集システムの概観を示しています.
|
43
|
+
|
44
|
+
hikiシステムとの同期は,hikiutilsのhikiが下請けしている.
|
45
|
+
一方,latex\_dirへの出力はlatex2hikiが引き受けている.
|
46
|
+
フォーマットをいじるときには,基本的に
|
47
|
+
\begin{description}
|
48
|
+
\item[hikiへ] hikiがやるので,そのまえにtmp.txtへ写して置換
|
49
|
+
|
50
|
+
\item[texへ] latex2hikiからの出力(tmp.txt)を処理してtexへ
|
51
|
+
|
52
|
+
\end{description}
|
53
|
+
で行っている,あるいはおこなう.
|
54
|
+
|
55
|
+
\subsection{rake mk\_toc}
|
56
|
+
latexが作成するtableofcontentsの実態であるtocファイルからhiki用のtoc.hikiを作成する.
|
57
|
+
|
@@ -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) 8 FEB 2017
|
1
|
+
This is e-pTeX, Version 3.14159265-p3.7-160201-2.6 (utf8.euc) (TeX Live 2016) (preloaded format=platex 2017.1.26) 8 FEB 2017 15:22
|
2
2
|
entering extended mode
|
3
3
|
restricted \write18 enabled.
|
4
4
|
file:line:error style messages enabled.
|
@@ -112,30 +112,31 @@ 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
|
-
(./jlisting.sty
|
116
|
-
Package: jlisting 2006/02/20 0.2 (Thor)
|
117
|
-
\lst@nextchar=\count99
|
118
|
-
\lst@inputfile=\read1
|
119
|
-
) (./hikiutils_bob.aux (./sync.aux
|
120
115
|
|
121
|
-
LaTeX
|
116
|
+
! LaTeX Error: File `jlisting.sty' not found.
|
122
117
|
|
118
|
+
Type X to quit or <RETURN> to proceed,
|
119
|
+
or enter new name. (Default extension: sty)
|
123
120
|
|
124
|
-
|
121
|
+
Enter file name:
|
122
|
+
./hikiutils_bob.tex:6: Emergency stop.
|
123
|
+
<read *>
|
124
|
+
|
125
|
+
l.6 \lstset
|
126
|
+
{^^M
|
127
|
+
End of file on the terminal!
|
125
128
|
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 38.
|
138
|
-
LaTeX Font Info: ... okay on input line 38.
|
129
|
+
|
130
|
+
Here is how much of TeX's memory you used:
|
131
|
+
2145 strings out of 493683
|
132
|
+
29784 string characters out of 6149653
|
133
|
+
87092 words of memory out of 5000000
|
134
|
+
5756 multiletter control sequences out of 15000+600000
|
135
|
+
8372 words of font info for 36 fonts, out of 8000000 for 9000
|
136
|
+
934 hyphenation exceptions out of 8191
|
137
|
+
26i,0n,32p,222b,219s stack positions out of 5000i,500n,10000p,200000b,80000s
|
138
|
+
No pages of output.
|
139
|
+
okay on input line 38.
|
139
140
|
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 38.
|
140
141
|
LaTeX Font Info: ... okay on input line 38.
|
141
142
|
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 38.
|
@@ -228,55 +229,26 @@ LaTeX Font Info: Font shape `JT1/gt/m/n' will be
|
|
228
229
|
(Font) scaled to size 6.72699pt on input line 39.
|
229
230
|
LaTeX Font Info: Font shape `JY1/gt/m/n' will be
|
230
231
|
(Font) scaled to size 6.72699pt on input line 39.
|
231
|
-
LaTeX Font Info: Font shape `JT1/gt/m/n' will be
|
232
|
-
(Font) scaled to size 8.64899pt on input line 40.
|
233
|
-
LaTeX Font Info: Font shape `JY1/gt/m/n' will be
|
234
|
-
(Font) scaled to size 8.64899pt on input line 40.
|
235
232
|
[5]
|
236
233
|
File: ../figs/./hikiutils_bob.004.jpeg Graphic file (type eps)
|
237
234
|
|
238
|
-
<../figs/./hikiutils_bob.004.jpeg> [6]
|
239
|
-
LaTeX Font Info: Font shape `JT1/gt/m/it' in size <9> not available
|
240
|
-
(Font) Font shape `JT1/gt/m/n' tried instead on input line 90.
|
241
|
-
LaTeX Font Info: Font shape `JT1/gt/m/n' will be
|
242
|
-
(Font) scaled to size 8.64899pt on input line 90.
|
243
|
-
LaTeX Font Info: Font shape `JY1/gt/m/it' in size <9> not available
|
244
|
-
(Font) Font shape `JY1/gt/m/n' tried instead on input line 90.
|
245
|
-
LaTeX Font Info: Font shape `JY1/gt/m/n' will be
|
246
|
-
(Font) scaled to size 8.64899pt on input line 90.
|
247
|
-
[7] [8] [9]
|
235
|
+
<../figs/./hikiutils_bob.004.jpeg> [6] [7] [8] [9]
|
248
236
|
File: ../figs/./hikiutils_bob.005.jpeg Graphic file (type eps)
|
249
237
|
|
250
|
-
<../figs/./hikiutils_bob.005.jpeg> [10]
|
251
|
-
Overfull \hbox (24.60419pt too wide) in paragraph at lines
|
238
|
+
<../figs/./hikiutils_bob.005.jpeg> [10] [11]
|
239
|
+
Overfull \hbox (24.60419pt too wide) in paragraph at lines 238--239
|
252
240
|
[]\OT1/cmtt/m/n/10 convert #{source} -resize 20% #{target}\JY1/gt/m/n/10 によ
|
253
241
|
って , \OT1/cmtt/m/n/10 target=figs/TAERGET.png
|
254
242
|
[]
|
255
243
|
|
256
|
-
|
244
|
+
) [12]
|
257
245
|
\openout2 = `latex_all.aux'.
|
258
246
|
|
259
247
|
(./latex_all.tex [13
|
260
248
|
|
261
249
|
|
262
|
-
]
|
263
|
-
|
264
|
-
(Font) Font shape `JT1/gt/m/n' tried instead on input line 97.
|
265
|
-
LaTeX Font Info: Font shape `JT1/gt/m/n' will be
|
266
|
-
(Font) scaled to size 8.64899pt on input line 97.
|
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 97.
|
269
|
-
LaTeX Font Info: Font shape `JY1/gt/m/n' will be
|
270
|
-
(Font) scaled to size 8.64899pt on input line 97.
|
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 97.
|
273
|
-
|
274
|
-
Overfull \hbox (71.46521pt too wide) in paragraph at lines 107--108
|
275
|
-
[]\JY1/mc/m/n/10 うまくできないときは\JY1/gt/m/n/10 ここ \OT1/cmtt/m/n/10 (http
|
276
|
-
://qiita.com/hideaki_polisci/items/3afd204449c6cdd995c9)
|
277
|
-
[]
|
278
|
-
|
279
|
-
[15] (/usr/local/texlive/2016/texmf-dist/tex/latex/listings/lstlang1.sty
|
250
|
+
]
|
251
|
+
(/usr/local/texlive/2016/texmf-dist/tex/latex/listings/lstlang1.sty
|
280
252
|
File: lstlang1.sty 2015/06/04 1.6 listings language file
|
281
253
|
)
|
282
254
|
(/usr/local/texlive/2016/texmf-dist/tex/latex/listings/lstlang2.sty
|
@@ -305,31 +277,60 @@ File: lstlang3.sty 2015/06/04 1.6 listings language file
|
|
305
277
|
)
|
306
278
|
(/usr/local/texlive/2016/texmf-dist/tex/latex/listings/lstmisc.sty
|
307
279
|
File: lstmisc.sty 2015/06/04 1.6 (Carsten Heinz)
|
308
|
-
) [
|
309
|
-
|
280
|
+
) [14]
|
281
|
+
LaTeX Font Info: Font shape `JT1/gt/bx/n' in size <7> not available
|
282
|
+
(Font) Font shape `JT1/gt/m/n' tried instead on input line 97.
|
283
|
+
LaTeX Font Info: Font shape `JT1/gt/m/n' will be
|
284
|
+
(Font) scaled to size 6.72699pt on input line 97.
|
285
|
+
LaTeX Font Info: Font shape `JY1/gt/bx/n' in size <7> not available
|
286
|
+
(Font) Font shape `JY1/gt/m/n' tried instead on input line 97.
|
287
|
+
LaTeX Font Info: Font shape `JY1/gt/m/n' will be
|
288
|
+
(Font) scaled to size 6.72699pt on input line 97.
|
289
|
+
LaTeX Font Info: Font shape `OT1/cmtt/bx/n' in size <7> not available
|
290
|
+
(Font) Font shape `OT1/cmtt/m/n' tried instead on input line 97.
|
291
|
+
|
292
|
+
Overfull \hbox (71.46521pt too wide) in paragraph at lines 107--108
|
293
|
+
[]\JY1/mc/m/n/10 うまくできないときは\JY1/gt/m/n/10 ここ \OT1/cmtt/m/n/10 (http
|
294
|
+
://qiita.com/hideaki_polisci/items/3afd204449c6cdd995c9)
|
295
|
+
[]
|
296
|
+
|
297
|
+
[15] [16] (/usr/local/texlive/2016/texmf-dist/tex/latex/listings/lstlang1.sty
|
310
298
|
File: lstlang1.sty 2015/06/04 1.6 listings language file
|
311
299
|
)
|
312
300
|
(/usr/local/texlive/2016/texmf-dist/tex/latex/listings/lstlang2.sty
|
313
301
|
File: lstlang2.sty 2015/06/04 1.6 listings language file
|
314
|
-
) [17]
|
302
|
+
) [17]
|
303
|
+
LaTeX Font Info: Font shape `JT1/gt/m/n' will be
|
304
|
+
(Font) scaled to size 8.64899pt on input line 223.
|
305
|
+
LaTeX Font Info: Font shape `JY1/gt/m/n' will be
|
306
|
+
(Font) scaled to size 8.64899pt on input line 223.
|
307
|
+
)
|
315
308
|
[18]
|
316
|
-
\openout2 = `
|
309
|
+
\openout2 = `code.aux'.
|
310
|
+
|
311
|
+
(./code.tex
|
312
|
+
File: ../figs/./hikiutils_bob.006.jpeg Graphic file (type eps)
|
313
|
+
<../figs/./hikiutils_bob.006.jpeg>
|
314
|
+
Overfull \hbox (65.05054pt too wide) in paragraph at lines 39--40
|
315
|
+
[]\OT1/cmtt/m/n/10 http://www.ipc.akita-nct.ac.jp/~yamamoto/comp/latex/make_doc
|
316
|
+
/source/source.html
|
317
|
+
[]
|
317
318
|
|
318
|
-
|
319
|
+
[19
|
319
320
|
|
320
321
|
|
321
|
-
] (./hikiutils_bob.aux (./sync.aux) (./latex_all.aux) (./
|
322
|
+
]) [20] (./hikiutils_bob.aux (./sync.aux) (./latex_all.aux) (./code.aux))
|
322
323
|
|
323
324
|
LaTeX Warning: There were multiply-defined labels.
|
324
325
|
|
325
326
|
)
|
326
327
|
Here is how much of TeX's memory you used:
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
328
|
+
3689 strings out of 493683
|
329
|
+
51255 string characters out of 6149653
|
330
|
+
209002 words of memory out of 5000000
|
331
|
+
7215 multiletter control sequences out of 15000+600000
|
332
|
+
15954 words of font info for 74 fonts, out of 8000000 for 9000
|
332
333
|
934 hyphenation exceptions out of 8191
|
333
|
-
50i,9n,78p,749b,
|
334
|
+
50i,9n,78p,749b,1859s stack positions out of 5000i,500n,10000p,200000b,80000s
|
334
335
|
|
335
|
-
Output written on hikiutils_bob.dvi (
|
336
|
+
Output written on hikiutils_bob.dvi (20 pages, 73100 bytes).
|
Binary file
|
@@ -3,21 +3,21 @@
|
|
3
3
|
\usepackage[dvipdfmx]{color}
|
4
4
|
\usepackage{listings,jlisting}% to use japanese correctly, install jlistings.
|
5
5
|
\lstset{
|
6
|
-
basicstyle={\
|
7
|
-
identifierstyle={
|
8
|
-
commentstyle={\
|
9
|
-
keywordstyle={\
|
10
|
-
ndkeywordstyle={
|
11
|
-
stringstyle={\
|
6
|
+
basicstyle={\ttfamily},
|
7
|
+
identifierstyle={},
|
8
|
+
commentstyle={\color{red}},
|
9
|
+
keywordstyle={\bfseries\color{cyan}},
|
10
|
+
ndkeywordstyle={},
|
11
|
+
stringstyle={\color{blue}},
|
12
12
|
frame={tb},
|
13
13
|
breaklines=true,
|
14
14
|
numbers=left,
|
15
|
-
numberstyle={
|
15
|
+
numberstyle={},
|
16
16
|
stepnumber=1,
|
17
17
|
numbersep=1zw,
|
18
18
|
xrightmargin=0zw,
|
19
19
|
xleftmargin=3zw,
|
20
|
-
lineskip
|
20
|
+
lineskip=0.5ex
|
21
21
|
}
|
22
22
|
\lstdefinestyle{customCsh}{
|
23
23
|
language={csh},
|
@@ -51,5 +51,5 @@
|
|
51
51
|
\end{itemize}
|
52
52
|
\include{sync}
|
53
53
|
\include{latex_all}
|
54
|
-
\include{
|
54
|
+
\include{code}
|
55
55
|
\end{document}
|
@@ -11,9 +11,10 @@
|
|
11
11
|
\contentsline {subsubsection}{\numberline {2.5.4}rake convert VAL DIR}{8}
|
12
12
|
\contentsline {subsubsection}{\numberline {2.5.5}rake increment}{9}
|
13
13
|
\contentsline {subsubsection}{\numberline {2.5.6}rake number}{9}
|
14
|
-
\contentsline {subsubsection}{\numberline {2.5.7}rake
|
15
|
-
\contentsline {subsubsection}{\numberline {2.5.8}rake
|
16
|
-
\contentsline {subsubsection}{\numberline {2.5.9}rake
|
14
|
+
\contentsline {subsubsection}{\numberline {2.5.7}rake open [FILE] (new)}{9}
|
15
|
+
\contentsline {subsubsection}{\numberline {2.5.8}rake touch [FILE](new)}{9}
|
16
|
+
\contentsline {subsubsection}{\numberline {2.5.9}rake github(new)}{9}
|
17
|
+
\contentsline {subsubsection}{\numberline {2.5.10}rake reset\_hiki(new)}{10}
|
17
18
|
\contentsline {subsection}{\numberline {2.6}githubによる同期}{10}
|
18
19
|
\contentsline {subsection}{\numberline {2.7}hikiutil関連のヘルプ}{11}
|
19
20
|
\contentsline {subsubsection}{\numberline {2.7.1}hikiで卒論を書くときの初期化と掟}{11}
|
@@ -32,7 +33,9 @@
|
|
32
33
|
\contentsline {subsection}{\numberline {3.4}補助コマンドの解説}{17}
|
33
34
|
\contentsline {subsubsection}{\numberline {3.4.1}rake reset\_latex\_dir(latex\_dirのゴミ掃除)}{17}
|
34
35
|
\contentsline {subsubsection}{\numberline {3.4.2}wrap関係}{17}
|
35
|
-
\contentsline {subsection}{\numberline {3.5}開発メモ(2017/2/8)}{
|
36
|
-
\contentsline {section}{\numberline {4}
|
37
|
-
\contentsline {subsection}{\numberline {4.1}
|
38
|
-
\contentsline {subsection}{\numberline {4.2}
|
36
|
+
\contentsline {subsection}{\numberline {3.5}開発メモ(2017/2/8)}{18}
|
37
|
+
\contentsline {section}{\numberline {4}Rakefile開発に関するメモ}{19}
|
38
|
+
\contentsline {subsection}{\numberline {4.1}日本語のcode listings}{19}
|
39
|
+
\contentsline {subsection}{\numberline {4.2}文献参照のシステム}{19}
|
40
|
+
\contentsline {subsection}{\numberline {4.3}システムの概要}{20}
|
41
|
+
\contentsline {subsection}{\numberline {4.4}rake mk\_toc}{20}
|