hiki2yard 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,12 @@
1
+ \documentclass[10pt,a4j,twocolumn]{jsarticle}
2
+
3
+ \usepackage[dvipdfmx]{graphicx}
4
+
5
+ \setlength{¥textheight}{275mm}
6
+ \headheight 5mm
7
+ \topmargin -30mm
8
+ \textwidth 185mm
9
+ \oddsidemargin -15mm
10
+ \evensidemargin -15mm
11
+ \pagestyle{empty}
12
+ \begin{document}
@@ -0,0 +1,7 @@
1
+ \relax
2
+ \@writefile{toc}{\contentsline {section}{\numberline {1}TexManual}{1}}
3
+ \@writefile{toc}{\contentsline {subsection}{\numberline {1.1}teXShopの設定}{1}}
4
+ \@writefile{toc}{\contentsline {subsection}{\numberline {1.2}必要なgemの確認}{1}}
5
+ \@writefile{toc}{\contentsline {subsection}{\numberline {1.3}入力の方法}{1}}
6
+ \@writefile{toc}{\contentsline {subsection}{\numberline {1.4}作ったtextをページにして表示}{1}}
7
+ \@writefile{toc}{\contentsline {subsection}{\numberline {1.5}pdfファイルへの変換方法}{1}}
@@ -0,0 +1,12 @@
1
+ \documentclass[10pt,a4j,twocolumn]{jsarticle}
2
+
3
+ \usepackage[dvipdfmx]{graphicx}
4
+
5
+ \setlength{\textheight}{275mm}
6
+ \headheight 5mm
7
+ \topmargin -30mm
8
+ \textwidth 185mm
9
+ \oddsidemargin -15mm
10
+ \evensidemargin -15mm
11
+ \pagestyle{empty}
12
+ \begin{document}
@@ -0,0 +1,148 @@
1
+ This is e-pTeX, Version 3.14159265-p3.6-141210-2.6 (utf8.euc) (TeX Live 2015) (preloaded format=platex 2015.7.31) 17 AUG 2016 19:16
2
+ entering extended mode
3
+ restricted \write18 enabled.
4
+ file:line:error style messages enabled.
5
+ %&-line parsing enabled.
6
+ **TexManual
7
+ (./TexManual.tex
8
+ pLaTeX2e <2006/11/10> (based on LaTeX2e <2015/01/01> patch level 0)
9
+ Babel <3.9l> and hyphenation patterns for 79 languages loaded.
10
+ (/usr/local/texlive/2015/texmf-dist/tex/platex/jsclasses/jsarticle.cls
11
+ Document Class: jsarticle 2014/02/07 okumura
12
+ LaTeX Info: Redefining \rmfamily on input line 352.
13
+ LaTeX Info: Redefining \sffamily on input line 355.
14
+ LaTeX Info: Redefining \ttfamily on input line 358.
15
+ \symmincho=\mathgroup4
16
+ LaTeX Font Info: Overwriting symbol font `mincho' in version `bold'
17
+ (Font) JY1/mc/m/n --> JY1/gt/m/n on input line 423.
18
+ LaTeX Font Info: Font shape `JT1/mc/m/n' will be
19
+ (Font) scaled to size 9.60999pt on input line 613.
20
+ LaTeX Font Info: Font shape `JY1/mc/m/n' will be
21
+ (Font) scaled to size 9.60999pt on input line 613.
22
+ \fullwidth=\dimen118
23
+ LaTeX Font Info: Font shape `JT1/mc/m/n' will be
24
+ (Font) scaled to size 7.68799pt on input line 760.
25
+ LaTeX Font Info: Font shape `JY1/mc/m/n' will be
26
+ (Font) scaled to size 7.68799pt on input line 760.
27
+ \c@part=\count81
28
+ \c@section=\count82
29
+ \c@subsection=\count83
30
+ \c@subsubsection=\count84
31
+ \c@paragraph=\count85
32
+ \c@subparagraph=\count86
33
+ \@abstractbox=\box41
34
+ \c@figure=\count87
35
+ \c@table=\count88
36
+ \abovecaptionskip=\skip41
37
+ \belowcaptionskip=\skip42
38
+ \js@tocl@width=\dimen119
39
+ \@lnumwidth=\dimen120
40
+ \bibindent=\dimen121
41
+ LaTeX Info: Redefining \TeX on input line 1731.
42
+ LaTeX Info: Redefining \LaTeX on input line 1757.
43
+ LaTeX Info: Redefining \LaTeXe on input line 1782.
44
+ \heisei=\count89
45
+ ) (/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/graphicx.sty
46
+ Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
47
+
48
+ (/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/keyval.sty
49
+ Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
50
+ \KV@toks@=\toks15
51
+ )
52
+ (/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/graphics.sty
53
+ Package: graphics 2014/10/28 v1.0p Standard LaTeX Graphics (DPC,SPQR)
54
+
55
+ (/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/trig.sty
56
+ Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
57
+ )
58
+ (/usr/local/texlive/2015/texmf-dist/tex/latex/latexconfig/graphics.cfg
59
+ File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
60
+ )
61
+ Package graphics Info: Driver file: dvipdfmx.def on input line 94.
62
+
63
+ (/usr/local/texlive/2015/texmf-dist/tex/latex/dvipdfmx-def/dvipdfmx.def
64
+ File: dvipdfmx.def 2015/03/26 v4.04 LaTeX color/graphics driver for dvipdfmx (T
65
+ eX Live/ChoF)
66
+ ))
67
+ \Gin@req@height=\dimen122
68
+ \Gin@req@width=\dimen123
69
+ )
70
+ (./TexManual.aux)
71
+ \openout1 = `TexManual.aux'.
72
+
73
+ LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 12.
74
+ LaTeX Font Info: ... okay on input line 12.
75
+ LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 12.
76
+ LaTeX Font Info: ... okay on input line 12.
77
+ LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 12.
78
+ LaTeX Font Info: ... okay on input line 12.
79
+ LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 12.
80
+ LaTeX Font Info: ... okay on input line 12.
81
+ LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 12.
82
+ LaTeX Font Info: ... okay on input line 12.
83
+ LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 12.
84
+ LaTeX Font Info: ... okay on input line 12.
85
+ LaTeX Font Info: Checking defaults for JY1/mc/m/n on input line 12.
86
+ LaTeX Font Info: ... okay on input line 12.
87
+ LaTeX Font Info: Checking defaults for JT1/mc/m/n on input line 12.
88
+ LaTeX Font Info: ... okay on input line 12.
89
+ LaTeX Font Info: Font shape `JT1/mc/m/n' will be
90
+ (Font) scaled to size 11.53198pt on input line 13.
91
+ LaTeX Font Info: Font shape `JY1/mc/m/n' will be
92
+ (Font) scaled to size 11.53198pt on input line 13.
93
+ LaTeX Font Info: Font shape `JT1/gt/m/n' will be
94
+ (Font) scaled to size 11.53198pt on input line 13.
95
+ LaTeX Font Info: Font shape `JY1/gt/m/n' will be
96
+ (Font) scaled to size 11.53198pt on input line 13.
97
+ LaTeX Font Info: Font shape `JT1/gt/m/n' will be
98
+ (Font) scaled to size 9.60999pt on input line 14.
99
+ LaTeX Font Info: Font shape `JY1/gt/m/n' will be
100
+ (Font) scaled to size 9.60999pt on input line 14.
101
+ LaTeX Font Info: External font `cmex10' loaded for size
102
+ (Font) <7> on input line 15.
103
+ LaTeX Font Info: External font `cmex10' loaded for size
104
+ (Font) <5> on input line 15.
105
+ LaTeX Font Info: Font shape `JY1/mc/m/n' will be
106
+ (Font) scaled to size 6.72699pt on input line 15.
107
+ LaTeX Font Info: Font shape `JY1/mc/m/n' will be
108
+ (Font) scaled to size 4.805pt on input line 15.
109
+ Missing character: There is no ^^ef in font cmr10!
110
+ Missing character: There is no ^^b8 in font cmr10!
111
+ Missing character: There is no ^^8e in font cmr10!
112
+ Missing character: There is no ^^ef in font cmr10!
113
+ Missing character: There is no ^^b8 in font cmr10!
114
+ Missing character: There is no ^^8e in font cmr10!
115
+ LaTeX Font Info: Try loading font information for OMS+cmr on input line 20.
116
+ (/usr/local/texlive/2015/texmf-dist/tex/latex/base/omscmr.fd
117
+ File: omscmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions
118
+ )
119
+ LaTeX Font Info: Font shape `OMS/cmr/m/n' in size <10> not available
120
+ (Font) Font shape `OMS/cmsy/m/n' tried instead on input line 20.
121
+ LaTeX Font Info: Font shape `JT1/mc/bx/n' in size <10> not available
122
+ (Font) Font shape `JT1/gt/m/n' tried instead on input line 21.
123
+ LaTeX Font Info: Font shape `JT1/gt/m/n' will be
124
+ (Font) scaled to size 9.60999pt on input line 21.
125
+ LaTeX Font Info: Font shape `JY1/mc/bx/n' in size <10> not available
126
+ (Font) Font shape `JY1/gt/m/n' tried instead on input line 21.
127
+ LaTeX Font Info: Font shape `JY1/gt/m/n' will be
128
+ (Font) scaled to size 9.60999pt on input line 21.
129
+ Missing character: There is no ^^ef in font cmr10!
130
+ Missing character: There is no ^^b8 in font cmr10!
131
+ Missing character: There is no ^^8e in font cmr10!
132
+ Missing character: There is no ^^ef in font cmr10!
133
+ Missing character: There is no ^^b8 in font cmr10!
134
+ Missing character: There is no ^^8e in font cmr10!
135
+ [1
136
+
137
+
138
+ ] (./TexManual.aux) )
139
+ Here is how much of TeX's memory you used:
140
+ 745 strings out of 493777
141
+ 8733 string characters out of 6151334
142
+ 69985 words of memory out of 5000000
143
+ 4289 multiletter control sequences out of 15000+600000
144
+ 10625 words of font info for 48 fonts, out of 8000000 for 9000
145
+ 934 hyphenation exceptions out of 8191
146
+ 25i,4n,21p,184b,182s stack positions out of 5000i,500n,10000p,200000b,80000s
147
+
148
+ Output written on TexManual.dvi (1 page, 1852 bytes).
Binary file
@@ -0,0 +1,39 @@
1
+ \documentclass[10pt,a4j,twocolumn]{jsarticle}
2
+
3
+ \usepackage[dvipdfmx]{graphicx}
4
+
5
+ \setlength{\textheight}{275mm}
6
+ \headheight 5mm
7
+ \topmargin -30mm
8
+ \textwidth 185mm
9
+ \oddsidemargin -15mm
10
+ \evensidemargin -15mm
11
+ \pagestyle{empty}
12
+ \begin{document}
13
+ \section{TexManual}
14
+ \subsection{teXShopの設定}\begin{enumerate}
15
+ \item 『設定』 $\rightarrow$ ︎書類 $\rightarrow$ ︎エンコーディング $\rightarrow$ Unicode(UTF-8)
16
+ \item 『設定プロファイル』$\rightarrow$ pTeX(ptex2pdf)を選択
17
+ \item TeXShopを再起動
18
+ \end{enumerate}
19
+ \subsection{必要なgemの確認}\begin{itemize}
20
+ \item gem listコマンドを入力,以下のgemが入っているか確認\begin{itemize}
21
+ \item hikidoc
22
+ \item hikiutils
23
+ \end{itemize}
24
+ \item ︎︎無ければ(sudo) gem install hogehogeで入れる
25
+ \end{itemize}
26
+ \subsection{入力の方法}\begin{itemize}
27
+ \item open -a mi hogehogeでファイルを開き,入力していく
28
+ \end{itemize}
29
+ \subsection{作ったtextをページにして表示}\begin{itemize}
30
+ \item hiki -e hogehoge で編集
31
+ \item hiki -u hogehoge で表示
32
+ \end{itemize}
33
+ \subsection{pdfファイルへの変換方法}\begin{enumerate}
34
+ \item hiki2latex hogehoge.hiki $>$ hogehoge.tex
35
+ \item hikidoc hogehoge.hiki $>$ hogehoge.html
36
+ \item open hogehoge.tex
37
+ \item TeXShopが開く. 左上のタイプセットを押すとpdfファイルが出力される
38
+ \end{enumerate}
39
+ \end{document}
@@ -0,0 +1,11 @@
1
+ \documentclass[10pt,a4j,twocolumn]{jsarticle}
2
+
3
+ \usepackage[dvipdfmx]{graphicx}
4
+
5
+ \setlength{\textheight}{275mm}
6
+ \headheight 5mm
7
+ \topmargin -30mm
8
+ \textwidth 185mm
9
+ \oddsidemargin -15mm
10
+ \evensidemargin -15mm
11
+ \pagestyle{empty}
@@ -0,0 +1,7 @@
1
+ \relax
2
+ \@writefile{toc}{\contentsline {section}{\numberline {1}目的}{1}}
3
+ \@writefile{toc}{\contentsline {section}{\numberline {2}インストール}{1}}
4
+ \@writefile{toc}{\contentsline {section}{\numberline {3}環境構築}{1}}
5
+ \@writefile{toc}{\contentsline {section}{\numberline {4}directory構成と各ファイルの意味}{1}}
6
+ \@writefile{toc}{\contentsline {section}{\numberline {5}個別の準備}{1}}
7
+ \@writefile{toc}{\contentsline {section}{\numberline {6}参考資料}{1}}
@@ -0,0 +1,153 @@
1
+ This is e-pTeX, Version 3.14159265-p3.6-141210-2.6 (utf8.euc) (TeX Live 2015) (preloaded format=platex 2015.7.31) 17 AUG 2016 19:14
2
+ entering extended mode
3
+ restricted \write18 enabled.
4
+ file:line:error style messages enabled.
5
+ %&-line parsing enabled.
6
+ **handout_sample
7
+ (./handout_sample.tex
8
+ pLaTeX2e <2006/11/10> (based on LaTeX2e <2015/01/01> patch level 0)
9
+ Babel <3.9l> and hyphenation patterns for 79 languages loaded.
10
+ (/usr/local/texlive/2015/texmf-dist/tex/platex/jsclasses/jsarticle.cls
11
+ Document Class: jsarticle 2014/02/07 okumura
12
+ LaTeX Info: Redefining \rmfamily on input line 352.
13
+ LaTeX Info: Redefining \sffamily on input line 355.
14
+ LaTeX Info: Redefining \ttfamily on input line 358.
15
+ \symmincho=\mathgroup4
16
+ LaTeX Font Info: Overwriting symbol font `mincho' in version `bold'
17
+ (Font) JY1/mc/m/n --> JY1/gt/m/n on input line 423.
18
+ LaTeX Font Info: Font shape `JT1/mc/m/n' will be
19
+ (Font) scaled to size 9.60999pt on input line 613.
20
+ LaTeX Font Info: Font shape `JY1/mc/m/n' will be
21
+ (Font) scaled to size 9.60999pt on input line 613.
22
+ \fullwidth=\dimen118
23
+ LaTeX Font Info: Font shape `JT1/mc/m/n' will be
24
+ (Font) scaled to size 7.68799pt on input line 760.
25
+ LaTeX Font Info: Font shape `JY1/mc/m/n' will be
26
+ (Font) scaled to size 7.68799pt on input line 760.
27
+ \c@part=\count81
28
+ \c@section=\count82
29
+ \c@subsection=\count83
30
+ \c@subsubsection=\count84
31
+ \c@paragraph=\count85
32
+ \c@subparagraph=\count86
33
+ \@abstractbox=\box41
34
+ \c@figure=\count87
35
+ \c@table=\count88
36
+ \abovecaptionskip=\skip41
37
+ \belowcaptionskip=\skip42
38
+ \js@tocl@width=\dimen119
39
+ \@lnumwidth=\dimen120
40
+ \bibindent=\dimen121
41
+ LaTeX Info: Redefining \TeX on input line 1731.
42
+ LaTeX Info: Redefining \LaTeX on input line 1757.
43
+ LaTeX Info: Redefining \LaTeXe on input line 1782.
44
+ \heisei=\count89
45
+ ) (/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/graphicx.sty
46
+ Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
47
+
48
+ (/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/keyval.sty
49
+ Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
50
+ \KV@toks@=\toks15
51
+ )
52
+ (/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/graphics.sty
53
+ Package: graphics 2014/10/28 v1.0p Standard LaTeX Graphics (DPC,SPQR)
54
+
55
+ (/usr/local/texlive/2015/texmf-dist/tex/latex/graphics/trig.sty
56
+ Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
57
+ )
58
+ (/usr/local/texlive/2015/texmf-dist/tex/latex/latexconfig/graphics.cfg
59
+ File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
60
+ )
61
+ Package graphics Info: Driver file: dvipdfmx.def on input line 94.
62
+
63
+ (/usr/local/texlive/2015/texmf-dist/tex/latex/dvipdfmx-def/dvipdfmx.def
64
+ File: dvipdfmx.def 2015/03/26 v4.04 LaTeX color/graphics driver for dvipdfmx (T
65
+ eX Live/ChoF)
66
+ ))
67
+ \Gin@req@height=\dimen122
68
+ \Gin@req@width=\dimen123
69
+ )
70
+ (./handout_sample.aux)
71
+ \openout1 = `handout_sample.aux'.
72
+
73
+ LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 12.
74
+ LaTeX Font Info: ... okay on input line 12.
75
+ LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 12.
76
+ LaTeX Font Info: ... okay on input line 12.
77
+ LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 12.
78
+ LaTeX Font Info: ... okay on input line 12.
79
+ LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 12.
80
+ LaTeX Font Info: ... okay on input line 12.
81
+ LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 12.
82
+ LaTeX Font Info: ... okay on input line 12.
83
+ LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 12.
84
+ LaTeX Font Info: ... okay on input line 12.
85
+ LaTeX Font Info: Checking defaults for JY1/mc/m/n on input line 12.
86
+ LaTeX Font Info: ... okay on input line 12.
87
+ LaTeX Font Info: Checking defaults for JT1/mc/m/n on input line 12.
88
+ LaTeX Font Info: ... okay on input line 12.
89
+ LaTeX Font Info: Font shape `JT1/mc/m/n' will be
90
+ (Font) scaled to size 16.60605pt on input line 16.
91
+ LaTeX Font Info: Font shape `JY1/mc/m/n' will be
92
+ (Font) scaled to size 16.60605pt on input line 16.
93
+ LaTeX Font Info: Font shape `JT1/mc/m/n' will be
94
+ (Font) scaled to size 11.53198pt on input line 16.
95
+ LaTeX Font Info: Font shape `JY1/mc/m/n' will be
96
+ (Font) scaled to size 11.53198pt on input line 16.
97
+ LaTeX Font Info: External font `cmex10' loaded for size
98
+ (Font) <12> on input line 16.
99
+ LaTeX Font Info: External font `cmex10' loaded for size
100
+ (Font) <8> on input line 16.
101
+ LaTeX Font Info: External font `cmex10' loaded for size
102
+ (Font) <6> on input line 16.
103
+ LaTeX Font Info: Font shape `JY1/mc/m/n' will be
104
+ (Font) scaled to size 5.76599pt on input line 16.
105
+ LaTeX Font Info: Font shape `JT1/gt/m/n' will be
106
+ (Font) scaled to size 11.53198pt on input line 17.
107
+ LaTeX Font Info: Font shape `JY1/gt/m/n' will be
108
+ (Font) scaled to size 11.53198pt on input line 17.
109
+ LaTeX Font Info: Font shape `JT1/gt/m/n' will be
110
+ (Font) scaled to size 9.60999pt on input line 22.
111
+ LaTeX Font Info: Font shape `JY1/gt/m/n' will be
112
+ (Font) scaled to size 9.60999pt on input line 22.
113
+
114
+ Underfull \vbox (badness 10000) has occurred while \output is active []
115
+
116
+
117
+ Overfull \hbox (263.29828pt too wide) in paragraph at lines 76--76
118
+ []\OT1/cmtt/m/n/10 hiki2latex --pre latexes/handout_pre.tex hikis/handout_samp
119
+ le.hiki > latexes/handout_sample.tex[]
120
+ []
121
+
122
+ LaTeX Font Info: Try loading font information for OMS+cmr on input line 80.
123
+ (/usr/local/texlive/2015/texmf-dist/tex/latex/base/omscmr.fd
124
+ File: omscmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions
125
+ )
126
+ LaTeX Font Info: Font shape `OMS/cmr/m/n' in size <10> not available
127
+ (Font) Font shape `OMS/cmsy/m/n' tried instead on input line 80.
128
+
129
+ Overfull \hbox (19.32822pt too wide) in paragraph at lines 86--87
130
+ []\OT1/cmtt/m/n/10 hiki2latex(https://rubygems.org/gems/hiki2latex)\OT1/cmr/m/n
131
+ /10 ,
132
+ []
133
+
134
+
135
+ Overfull \hbox (56.0779pt too wide) in paragraph at lines 87--88
136
+ []\OT1/cmtt/m/n/10 sakibts/hiki2yard(https://github.com/sakibts/hiki2yard)\OT1/
137
+ cmr/m/n/10 ,
138
+ []
139
+
140
+ [1
141
+
142
+
143
+ ] (./handout_sample.aux) )
144
+ Here is how much of TeX's memory you used:
145
+ 760 strings out of 493777
146
+ 8939 string characters out of 6151334
147
+ 71985 words of memory out of 5000000
148
+ 4298 multiletter control sequences out of 15000+600000
149
+ 12807 words of font info for 56 fonts, out of 8000000 for 9000
150
+ 934 hyphenation exceptions out of 8191
151
+ 25i,7n,21p,218b,245s stack positions out of 5000i,500n,10000p,200000b,80000s
152
+
153
+ Output written on handout_sample.dvi (1 page, 4576 bytes).
@@ -0,0 +1,89 @@
1
+ \documentclass[10pt,a4j,twocolumn]{jsarticle}
2
+
3
+ \usepackage[dvipdfmx]{graphicx}
4
+
5
+ \setlength{\textheight}{275mm}
6
+ \headheight 5mm
7
+ \topmargin -30mm
8
+ \textwidth 185mm
9
+ \oddsidemargin -15mm
10
+ \evensidemargin -15mm
11
+ \pagestyle{empty}
12
+ \begin{document}
13
+ \title{hiki2yardによる数値計算資料の作成システム}
14
+ \author{情報科学科 西谷研究室 1234 西谷滋人}
15
+ \date{}
16
+ \maketitle
17
+ \section{目的}
18
+ hikiフォーマット文書をlatexフォーマットに変換するhiki2latex[1]をもちいて中間発表のabstract資料を作成する手順を紹介する.
19
+
20
+ \section{インストール}
21
+ 最初に,作業を自動化するhiki2yard[2]をrubygemsからinstallする.terminal上で,
22
+ \begin{quote}\begin{verbatim}
23
+ gem install hiki2yaml
24
+ \end{verbatim}\end{quote}
25
+ によって環境を構築するCUIがinstallされる.
26
+ \begin{quote}\begin{verbatim}
27
+ hiki2yard --version
28
+ \end{verbatim}\end{quote}
29
+ によってversionが表示されれば,正常にinstallがなされていることが確認できる.
30
+
31
+ \section{環境構築}
32
+ terminal上で
33
+ \begin{quote}\begin{verbatim}
34
+ hiki2yard --init
35
+ \end{verbatim}\end{quote}
36
+ によって,必要となるファイルが自動的に配置される.指示に従って,hogehoge.gemspecを
37
+ 手動で修正する必要がある.さらに,
38
+ \begin{quote}\begin{verbatim}
39
+ bundle update
40
+ \end{verbatim}\end{quote}
41
+ によって,必要なgem filesがinstallされる.
42
+
43
+ \section{directory構成と各ファイルの意味}
44
+ 次にdirectory構成を示す.これはbundle gem -bによって生成される標準gem構築環境に修正を加えた構成となる.
45
+ \begin{quote}\begin{verbatim}
46
+ bob% tree .
47
+ .
48
+ ├── CODE_OF_CONDUCT.md
49
+ ├── Gemfile
50
+ ├── Gemfile.lock
51
+ ├── LICENSE.txt
52
+ ├── README.md
53
+ ├── Rakefile
54
+ ├── bin
55
+ ├── doc
56
+ ├── exe
57
+ ├── hiki2yard.gemspec
58
+ ├── hiki2yard.wiki
59
+ ├── hikis
60
+ │ ├── README_en.hiki
61
+ │ ├── handout_sample.hiki
62
+ ...
63
+ ├── latexes
64
+ │ ├── handout_pre.tex
65
+ ├── lib
66
+ ├── pkg
67
+ └── spec
68
+ \end{verbatim}\end{quote}
69
+ hikisにtargetとなるfileをhiki構文で作る.Rakefileに必要なtaskが登録されている.latexesには現在のところ,中間発表のhandoutを生成するpre-formatのtexが置かれている.
70
+ \begin{quote}\begin{verbatim}
71
+ rake latex
72
+ \end{verbatim}\end{quote}
73
+ によって
74
+ \begin{quote}\begin{verbatim}
75
+ hiki2latex --pre latexes/handout_pre.tex hikis/handout_sample.hiki > latexes/handout_sample.tex
76
+ \end{verbatim}\end{quote}
77
+ が起動され,latexes上にtargetのtex format文書が生成される.この後,自動的に起動されるmacのapplicationであるTeXShop上でcommand-tを押下することで,latexからpdfへ変換を行い,中間発表のabstractを作成する.
78
+
79
+ \section{個別の準備}\begin{itemize}
80
+ \item 各人は自分でhikis/hogehoge.hikiファイルを生成する
81
+ \item Rakefileの:latexタスクにあるtarget変数を変更する
82
+ \end{itemize}
83
+ 後は,マニュアルに従ってpdf文書を作成できるはずである.質問がある場合は早めにね.
84
+
85
+ \section{参考資料}\begin{enumerate}
86
+ \item \verb|hiki2latex(https://rubygems.org/gems/hiki2latex)|, 2016/08/11アクセス.
87
+ \item \verb|sakibts/hiki2yard(https://github.com/sakibts/hiki2yard)|, 2016/08/11アクセス.
88
+ \end{enumerate}
89
+ \end{document}