my_help 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/.DS_Store +0 -0
  3. data/.gitignore +1 -0
  4. data/.rspec +2 -0
  5. data/Gemfile +1 -0
  6. data/README.md +1 -1
  7. data/Rakefile +35 -12
  8. data/exe/{todo_help → my_todo} +1 -1
  9. data/hikis/diff_against_org-mode.hiki +34 -0
  10. data/hikis/tmp.org +20 -0
  11. data/lib/.emacs_help.rb.swp +0 -0
  12. data/lib/daddygongon/my_todo.yml +31 -0
  13. data/lib/emacs_help.rb +15 -0
  14. data/lib/emacs_help.rb~ +137 -0
  15. data/lib/my_help/test.rb +3 -0
  16. data/lib/my_help/version.rb +1 -1
  17. data/lib/my_help.rb +1 -1
  18. data/lib/my_todo/my_todo.rb +7 -0
  19. data/lib/my_todo/my_todo.rb~ +7 -0
  20. data/lib/specific_help.rb +42 -11
  21. data/lib/specific_help.rb~ +193 -0
  22. data/lib/todo.rb +1 -0
  23. data/lib/todo.rb~ +1 -0
  24. data/lor +0 -0
  25. data/my_help.gemspec +4 -2
  26. data/my_help.wiki/Home.md +1 -1
  27. data/my_help.wiki/README_ja.md +1 -1
  28. data/my_help_nasu/.DS_Store +0 -0
  29. data/my_help_nasu/.gitignore +1 -0
  30. data/my_help_nasu/Rakefile +422 -0
  31. data/my_help_nasu/code.hiki +285 -0
  32. data/my_help_nasu/consideration.hiki +8 -0
  33. data/my_help_nasu/features.hiki +185 -0
  34. data/my_help_nasu/figs/my_help_nasu.001.jpeg +0 -0
  35. data/my_help_nasu/figs/my_help_nasu.001.jpg +0 -0
  36. data/my_help_nasu/figs/my_help_nasu1.001.jpg +0 -0
  37. data/my_help_nasu/head2.tex +9 -0
  38. data/my_help_nasu/hiki_help.yml +53 -0
  39. data/my_help_nasu/introduction.hiki +29 -0
  40. data/my_help_nasu/key_bind_mi +1 -0
  41. data/my_help_nasu/latex_dir/.gitignore +1 -0
  42. data/my_help_nasu/latex_dir/Rakefile +420 -0
  43. data/my_help_nasu/latex_dir/code.aux +25 -0
  44. data/my_help_nasu/latex_dir/code.tex +271 -0
  45. data/my_help_nasu/latex_dir/consideration.aux +22 -0
  46. data/my_help_nasu/latex_dir/consideration.tex +9 -0
  47. data/my_help_nasu/latex_dir/features.aux +31 -0
  48. data/my_help_nasu/latex_dir/features.tex +173 -0
  49. data/my_help_nasu/latex_dir/head.tex +9 -0
  50. data/my_help_nasu/latex_dir/hiki_help.yml +53 -0
  51. data/my_help_nasu/latex_dir/introduction.aux +22 -0
  52. data/my_help_nasu/latex_dir/introduction.tex +23 -0
  53. data/my_help_nasu/latex_dir/jlisting.sty +216 -0
  54. data/my_help_nasu/latex_dir/jlisting.tex +216 -0
  55. data/my_help_nasu/latex_dir/latex_dir/head.tex +9 -0
  56. data/my_help_nasu/latex_dir/latex_dir/jlisting.tex +216 -0
  57. data/my_help_nasu/latex_dir/latex_dir/pre.tex +36 -0
  58. data/my_help_nasu/latex_dir/method_bdd.aux +26 -0
  59. data/my_help_nasu/latex_dir/method_bdd.tex +28 -0
  60. data/my_help_nasu/latex_dir/method_cucumber.aux +28 -0
  61. data/my_help_nasu/latex_dir/method_cucumber.log +28 -0
  62. data/my_help_nasu/latex_dir/method_cucumber.tex +205 -0
  63. data/my_help_nasu/latex_dir/method_usage.aux +28 -0
  64. data/my_help_nasu/latex_dir/method_usage.tex +76 -0
  65. data/my_help_nasu/latex_dir/my_help_nasu.aux +12 -0
  66. data/my_help_nasu/latex_dir/my_help_nasu.log +328 -0
  67. data/my_help_nasu/latex_dir/my_help_nasu.pdf +0 -0
  68. data/my_help_nasu/latex_dir/my_help_nasu.synctex.gz +0 -0
  69. data/my_help_nasu/latex_dir/my_help_nasu.tex +74 -0
  70. data/my_help_nasu/latex_dir/my_help_nasu.toc +32 -0
  71. data/my_help_nasu/latex_dir/overview.aux +21 -0
  72. data/my_help_nasu/latex_dir/overview.tex +12 -0
  73. data/my_help_nasu/latex_dir/pre.tex +36 -0
  74. data/my_help_nasu/method_bdd.hiki +24 -0
  75. data/my_help_nasu/method_cucumber.hiki +184 -0
  76. data/my_help_nasu/method_usage.hiki +69 -0
  77. data/my_help_nasu/my_help_nasu/.DS_Store +0 -0
  78. data/my_help_nasu/my_help_nasu/my_help_nasu.001.jpeg +0 -0
  79. data/my_help_nasu/my_help_nasu.hiki +32 -0
  80. data/my_help_nasu/my_help_nasu.key +0 -0
  81. data/my_help_nasu/overview.hiki +11 -0
  82. data/tmp.txt +2 -0
  83. metadata +104 -10
  84. data/lib/daddygongon/git_help.yml +0 -30
  85. data/lib/daddygongon/todo_help.yml +0 -58
@@ -0,0 +1,216 @@
1
+ \NeedsTeXFormat{LaTeX2e}
2
+ \def\filedate{2006/02/20}
3
+ \def\fileversion{0.2}
4
+ \ProvidesPackage{jlisting}[\filedate\space\fileversion\space(Thor)]
5
+ %
6
+ \newcount\lst@nextchar
7
+ \let\lst@@ProcessSpace\lst@ProcessSpace
8
+ \def\lst@ProcessSpace#1{%
9
+ \lst@check@chartype{#1}%
10
+ \lst@@ProcessSpace
11
+ \lst@whitespacetrue}
12
+ \let\lst@@ProcessLetter\lst@ProcessLetter
13
+ \def\lst@ProcessLetter#1#2{%
14
+ \lst@check@chartype{#2}%
15
+ {\lst@@ProcessLetter{#1}}%
16
+ \relax}
17
+ \let\lst@@ProcessDigit\lst@ProcessDigit
18
+ \def\lst@ProcessDigit#1#2{%
19
+ \lst@check@chartype{#2}%
20
+ {\lst@@ProcessDigit{#1}}%
21
+ \relax}
22
+ \let\lst@@ProcessOther\lst@ProcessOther
23
+ \def\lst@ProcessOther#1#2{%
24
+ \lst@check@chartype{#2}%
25
+ {\lst@@ProcessOther{#1}}%
26
+ \relax}
27
+ \let\lst@@ProcessTabulator\lst@ProcessTabulator
28
+ \def\lst@ProcessTabulator#1{%
29
+ \lst@check@chartype{#1}%
30
+ \lst@@ProcessTabulator
31
+ \relax}
32
+ \def\lst@check@chartype#1#2#3{%
33
+ \edef\@tempa{\lst@nextchar=`\string#1\relax}%
34
+ \afterassignment\remove@to@nnil
35
+ \@tempa\@nnil
36
+ #2%
37
+ \ifnum\lst@nextchar<\@cclvi
38
+ #3%
39
+ \else
40
+ \lst@ifletter \else \lst@OutputOther \fi
41
+ \lst@whitespacefalse
42
+ \expandafter\lst@AppendJchar
43
+ \fi
44
+ #1}
45
+ \def\lst@AppendJchar#1#2{%
46
+ \lst@check@chartype{#2}%
47
+ {\advance\lst@length\@ne\lst@Append{#1}}%
48
+ \relax}
49
+ \def\lst@check@chartype@BOL#1{%
50
+ \edef\@tempa{\lst@nextchar=`\string#1\relax}%
51
+ \afterassignment\remove@to@nnil
52
+ \@tempa\@nnil
53
+ \ifnum\lst@nextchar<\@cclvi\else
54
+ \lst@whitespacefalse
55
+ \expandafter\lst@AppendJchar
56
+ \fi
57
+ #1}
58
+ \def\lst@InputListing#1{%
59
+ \begingroup
60
+ \lsthk@PreSet \gdef\lst@intname{#1}%
61
+ \expandafter\lstset\expandafter{\lst@set}%
62
+ \lsthk@DisplayStyle
63
+ \catcode\active=\active
64
+ \lst@Init\relax \let\lst@gobble\z@
65
+ \lst@SkipToFirst
66
+ \lst@ifprint \def\lst@next{\lst@get@filecontents{#1}}%
67
+ \else \let\lst@next\@empty
68
+ \fi
69
+ \lst@next
70
+ \lst@DeInit
71
+ \endgroup}
72
+ \newread\lst@inputfile
73
+ \def\lst@get@filecontents#1{%
74
+ \let\lst@filecontents\@empty
75
+ \openin\lst@inputfile=#1\relax
76
+ \let\@lst@get@filecontents@prevline\relax
77
+ \lst@get@filecontents@loop
78
+ \closein\lst@inputfile
79
+ \lst@filecontents\empty}
80
+ \def\lst@get@filecontents@loop{%
81
+ \read\lst@inputfile to\@lst@get@filecontents@currline
82
+ \ifx\@lst@get@filecontents@prevline\relax\else
83
+ \expandafter\expandafter\expandafter\def
84
+ \expandafter\expandafter\expandafter\lst@filecontents
85
+ \expandafter\expandafter\expandafter{%
86
+ \expandafter\lst@filecontents\@lst@get@filecontents@prevline}%
87
+ \fi
88
+ \let\@lst@get@filecontents@prevline\@lst@get@filecontents@currline
89
+ \ifeof\lst@inputfile\else
90
+ \expandafter\lst@get@filecontents@loop
91
+ \fi}
92
+ %%% [$B$3$N=hM}$b!$AjEv6/0z$G$9!%(B]
93
+ \def\lst@BOLGobble{%
94
+ \ifnum\lst@gobble>\z@
95
+ \@tempcnta\lst@gobble\relax
96
+ \expandafter\lst@BOLGobble@
97
+ \else
98
+ \expandafter\lst@check@chartype@BOL
99
+ \fi}
100
+ \def\lst@BOLGobble@#1{%
101
+ \let\lst@next#1%
102
+ \ifx \lst@next\relax\else
103
+ \ifx \lst@next\lst@MProcessListing\else
104
+ \ifx \lst@next\lst@ProcessFormFeed\else
105
+ \ifx \lst@next\lstenv@backslash
106
+ \let\lst@next\lstenv@BOLGobble@@
107
+ \else
108
+ \let\lst@next\lst@BOLGobble@@
109
+ \ifx #1\lst@ProcessTabulator
110
+ \advance\@tempcnta-\lst@tabsize\relax
111
+ \ifnum\@tempcnta<\z@
112
+ \lst@length-\@tempcnta \lst@PreGotoTabStop
113
+ \fi
114
+ \else
115
+ \edef\@tempa{\lst@nextchar=`\string#1\relax}%
116
+ \@tempa
117
+ \ifnum\lst@nextchar<\@cclvi\else
118
+ \advance\@tempcnta\m@ne
119
+ \fi
120
+ \advance\@tempcnta\m@ne
121
+ \fi
122
+ \fi \fi \fi \fi
123
+ \lst@next}
124
+ \def\lst@BOLGobble@@{%
125
+ \ifnum\@tempcnta>\z@
126
+ \expandafter\lst@BOLGobble@
127
+ \else
128
+ \expandafter\lst@check@chartype@BOL
129
+ \fi
130
+ }
131
+ %
132
+ % \begin{$B=$@5;v9`(B}{1.3}
133
+ % $B$A$g$C$H$7$?=$@5(B
134
+ \gdef\lst@breakProcessOther#1{\lst@ProcessOther#1}
135
+ % $B%=!<%9%3!<%IL\<!$K$*$1$kJ8;z$HHV9f$N6u$-(B
136
+ \let \l@lstlisting = \l@figure
137
+ % $B%-%c%W%7%g%s$H%=!<%9%3!<%IL\<!$KBP$9$kF|K\8lBP1~(B
138
+ \def\lstlistingname{$B%=!<%9%3!<%I(B}
139
+ \def\lstlistlistingname{$B%=!<%9%3!<%IL\<!(B}
140
+ % \end{$B=$@5;v9`(B}
141
+ \endinput
142
+ %
143
+ %#!platex
144
+ \documentclass[papersize]{jsarticle}
145
+ % Macros
146
+ \IfFileExists{dvipdfmx.def}{%
147
+ \usepackage[dvipdfmx]{color,graphicx}%
148
+ }{%
149
+ \usepackage[dvipdfm]{color,graphicx}%
150
+ }
151
+ \usepackage{listings}[2004/09/07]
152
+ \usepackage{jlisting}[2006/02/20]
153
+ \usepackage{url}
154
+ \usepackage{verbatim}
155
+
156
+ \makeatletter
157
+ % Original Macros
158
+ \def\email#1{\gdef\@email{\texttt{#1}}}
159
+ \def\homepage#1{\gdef\@homepage{\texttt{#1}}}
160
+ \def\mac#1{\textsf{#1}}
161
+ \def\URL#1{\texttt{#1}}
162
+ \def\src#1{\texttt{#1}}
163
+
164
+ % Dvipdfmx.def
165
+ \def\dvipdfmxDefi{http://tex.dante.jp/ok/dvipdfmx/}
166
+ \def\dvipdfmxDefii{http://ftp.ktug.or.kr/KTUG/dvipdfmx/contrib/latex/}
167
+
168
+ \IfFileExists{dvipdfmx.def}{%
169
+ \let \IfDvipdfmxDef = \empty \relax}{%
170
+ \typeout{^^Jget dvipdfmx.def at \dvipdfmxDefi^^J
171
+ or \dvipdfmxDefii^^J}%
172
+ \def\IfDvipdfmxDef{Get \src{dvipdfmx.def} at \URL \dvipdfmxDefii \\
173
+ or \URL \dvipdfmxDefi.}%
174
+ }
175
+
176
+ % Author Info
177
+ \author {Th\'or Watanabe\thanks \@email \space \thanks \@homepage}
178
+ \title {\mac{jlisting.sty}\\
179
+ ---Japanese Localized Patch File of \mac{listings}---}
180
+ \email {thor@tex.dante.jp}
181
+ \homepage {http://tex.dante.jp/typo/}
182
+ \date {2006/02/20}
183
+
184
+ \makeatother
185
+
186
+ \begin{document}
187
+ \maketitle
188
+ %\IfDvipdfmxDef
189
+
190
+ \section{$B$A$g$C$H$7$?@bL@(B}% Short Description
191
+
192
+ $B1|B<@2I';a$N7G<(HD$N!VHFMQE*$JIbF0BN!W$H$$$&0lO"$N=q$-9~$_$+$i(B
193
+ $BE>:\$7$^$7$?!#(B
194
+
195
+ \begin{quote}
196
+ \url{http://http://cise.edu.mie-u.ac.jp/~okumura/texfaq/qa/21172.html}\\
197
+ \url{http://http://cise.edu.mie-u.ac.jp/~okumura/texfaq/qa/21184.html}\\
198
+ \url{http://http://cise.edu.mie-u.ac.jp/~okumura/texfaq/qa/21189.html}\\
199
+ \url{http://http://cise.edu.mie-u.ac.jp/~okumura/texfaq/qa/21197.html}
200
+ \end{quote}
201
+
202
+ Copyright $B$O5H1JE/H~;a$K$"$k$N$@$H;W$$$^$9!%(B
203
+
204
+ \section{$B99?7MzNr(B}% ChageLogs
205
+
206
+ \begin{description}
207
+ \item[ver.~0.1 (2004/03/24)]
208
+ $B$H$j$"$($:8x3+!%(B
209
+ \item[ver.~0.2 (2006/02/20)]
210
+ \verb|\lst@breakProcessOther| $BL?Na$NDj5A$NDI2C!%(B
211
+ \end{description}
212
+
213
+ \section{$B%=!<%9%3!<%I(B}
214
+ \par\narrowbaselines
215
+ \verbatiminput{jlisting.sty}
216
+ \end{document}
@@ -0,0 +1,216 @@
1
+ \NeedsTeXFormat{LaTeX2e}
2
+ \def\filedate{2006/02/20}
3
+ \def\fileversion{0.2}
4
+ \ProvidesPackage{jlisting}[\filedate\space\fileversion\space(Thor)]
5
+ %
6
+ \newcount\lst@nextchar
7
+ \let\lst@@ProcessSpace\lst@ProcessSpace
8
+ \def\lst@ProcessSpace#1{%
9
+ \lst@check@chartype{#1}%
10
+ \lst@@ProcessSpace
11
+ \lst@whitespacetrue}
12
+ \let\lst@@ProcessLetter\lst@ProcessLetter
13
+ \def\lst@ProcessLetter#1#2{%
14
+ \lst@check@chartype{#2}%
15
+ {\lst@@ProcessLetter{#1}}%
16
+ \relax}
17
+ \let\lst@@ProcessDigit\lst@ProcessDigit
18
+ \def\lst@ProcessDigit#1#2{%
19
+ \lst@check@chartype{#2}%
20
+ {\lst@@ProcessDigit{#1}}%
21
+ \relax}
22
+ \let\lst@@ProcessOther\lst@ProcessOther
23
+ \def\lst@ProcessOther#1#2{%
24
+ \lst@check@chartype{#2}%
25
+ {\lst@@ProcessOther{#1}}%
26
+ \relax}
27
+ \let\lst@@ProcessTabulator\lst@ProcessTabulator
28
+ \def\lst@ProcessTabulator#1{%
29
+ \lst@check@chartype{#1}%
30
+ \lst@@ProcessTabulator
31
+ \relax}
32
+ \def\lst@check@chartype#1#2#3{%
33
+ \edef\@tempa{\lst@nextchar=`\string#1\relax}%
34
+ \afterassignment\remove@to@nnil
35
+ \@tempa\@nnil
36
+ #2%
37
+ \ifnum\lst@nextchar<\@cclvi
38
+ #3%
39
+ \else
40
+ \lst@ifletter \else \lst@OutputOther \fi
41
+ \lst@whitespacefalse
42
+ \expandafter\lst@AppendJchar
43
+ \fi
44
+ #1}
45
+ \def\lst@AppendJchar#1#2{%
46
+ \lst@check@chartype{#2}%
47
+ {\advance\lst@length\@ne\lst@Append{#1}}%
48
+ \relax}
49
+ \def\lst@check@chartype@BOL#1{%
50
+ \edef\@tempa{\lst@nextchar=`\string#1\relax}%
51
+ \afterassignment\remove@to@nnil
52
+ \@tempa\@nnil
53
+ \ifnum\lst@nextchar<\@cclvi\else
54
+ \lst@whitespacefalse
55
+ \expandafter\lst@AppendJchar
56
+ \fi
57
+ #1}
58
+ \def\lst@InputListing#1{%
59
+ \begingroup
60
+ \lsthk@PreSet \gdef\lst@intname{#1}%
61
+ \expandafter\lstset\expandafter{\lst@set}%
62
+ \lsthk@DisplayStyle
63
+ \catcode\active=\active
64
+ \lst@Init\relax \let\lst@gobble\z@
65
+ \lst@SkipToFirst
66
+ \lst@ifprint \def\lst@next{\lst@get@filecontents{#1}}%
67
+ \else \let\lst@next\@empty
68
+ \fi
69
+ \lst@next
70
+ \lst@DeInit
71
+ \endgroup}
72
+ \newread\lst@inputfile
73
+ \def\lst@get@filecontents#1{%
74
+ \let\lst@filecontents\@empty
75
+ \openin\lst@inputfile=#1\relax
76
+ \let\@lst@get@filecontents@prevline\relax
77
+ \lst@get@filecontents@loop
78
+ \closein\lst@inputfile
79
+ \lst@filecontents\empty}
80
+ \def\lst@get@filecontents@loop{%
81
+ \read\lst@inputfile to\@lst@get@filecontents@currline
82
+ \ifx\@lst@get@filecontents@prevline\relax\else
83
+ \expandafter\expandafter\expandafter\def
84
+ \expandafter\expandafter\expandafter\lst@filecontents
85
+ \expandafter\expandafter\expandafter{%
86
+ \expandafter\lst@filecontents\@lst@get@filecontents@prevline}%
87
+ \fi
88
+ \let\@lst@get@filecontents@prevline\@lst@get@filecontents@currline
89
+ \ifeof\lst@inputfile\else
90
+ \expandafter\lst@get@filecontents@loop
91
+ \fi}
92
+ %%% [$B$3$N=hM}$b!$AjEv6/0z$G$9!%(B]
93
+ \def\lst@BOLGobble{%
94
+ \ifnum\lst@gobble>\z@
95
+ \@tempcnta\lst@gobble\relax
96
+ \expandafter\lst@BOLGobble@
97
+ \else
98
+ \expandafter\lst@check@chartype@BOL
99
+ \fi}
100
+ \def\lst@BOLGobble@#1{%
101
+ \let\lst@next#1%
102
+ \ifx \lst@next\relax\else
103
+ \ifx \lst@next\lst@MProcessListing\else
104
+ \ifx \lst@next\lst@ProcessFormFeed\else
105
+ \ifx \lst@next\lstenv@backslash
106
+ \let\lst@next\lstenv@BOLGobble@@
107
+ \else
108
+ \let\lst@next\lst@BOLGobble@@
109
+ \ifx #1\lst@ProcessTabulator
110
+ \advance\@tempcnta-\lst@tabsize\relax
111
+ \ifnum\@tempcnta<\z@
112
+ \lst@length-\@tempcnta \lst@PreGotoTabStop
113
+ \fi
114
+ \else
115
+ \edef\@tempa{\lst@nextchar=`\string#1\relax}%
116
+ \@tempa
117
+ \ifnum\lst@nextchar<\@cclvi\else
118
+ \advance\@tempcnta\m@ne
119
+ \fi
120
+ \advance\@tempcnta\m@ne
121
+ \fi
122
+ \fi \fi \fi \fi
123
+ \lst@next}
124
+ \def\lst@BOLGobble@@{%
125
+ \ifnum\@tempcnta>\z@
126
+ \expandafter\lst@BOLGobble@
127
+ \else
128
+ \expandafter\lst@check@chartype@BOL
129
+ \fi
130
+ }
131
+ %
132
+ % \begin{$B=$@5;v9`(B}{1.3}
133
+ % $B$A$g$C$H$7$?=$@5(B
134
+ \gdef\lst@breakProcessOther#1{\lst@ProcessOther#1}
135
+ % $B%=!<%9%3!<%IL\<!$K$*$1$kJ8;z$HHV9f$N6u$-(B
136
+ \let \l@lstlisting = \l@figure
137
+ % $B%-%c%W%7%g%s$H%=!<%9%3!<%IL\<!$KBP$9$kF|K\8lBP1~(B
138
+ \def\lstlistingname{$B%=!<%9%3!<%I(B}
139
+ \def\lstlistlistingname{$B%=!<%9%3!<%IL\<!(B}
140
+ % \end{$B=$@5;v9`(B}
141
+ \endinput
142
+ %
143
+ %#!platex
144
+ \documentclass[papersize]{jsarticle}
145
+ % Macros
146
+ \IfFileExists{dvipdfmx.def}{%
147
+ \usepackage[dvipdfmx]{color,graphicx}%
148
+ }{%
149
+ \usepackage[dvipdfm]{color,graphicx}%
150
+ }
151
+ \usepackage{listings}[2004/09/07]
152
+ \usepackage{jlisting}[2006/02/20]
153
+ \usepackage{url}
154
+ \usepackage{verbatim}
155
+
156
+ \makeatletter
157
+ % Original Macros
158
+ \def\email#1{\gdef\@email{\texttt{#1}}}
159
+ \def\homepage#1{\gdef\@homepage{\texttt{#1}}}
160
+ \def\mac#1{\textsf{#1}}
161
+ \def\URL#1{\texttt{#1}}
162
+ \def\src#1{\texttt{#1}}
163
+
164
+ % Dvipdfmx.def
165
+ \def\dvipdfmxDefi{http://tex.dante.jp/ok/dvipdfmx/}
166
+ \def\dvipdfmxDefii{http://ftp.ktug.or.kr/KTUG/dvipdfmx/contrib/latex/}
167
+
168
+ \IfFileExists{dvipdfmx.def}{%
169
+ \let \IfDvipdfmxDef = \empty \relax}{%
170
+ \typeout{^^Jget dvipdfmx.def at \dvipdfmxDefi^^J
171
+ or \dvipdfmxDefii^^J}%
172
+ \def\IfDvipdfmxDef{Get \src{dvipdfmx.def} at \URL \dvipdfmxDefii \\
173
+ or \URL \dvipdfmxDefi.}%
174
+ }
175
+
176
+ % Author Info
177
+ \author {Th\'or Watanabe\thanks \@email \space \thanks \@homepage}
178
+ \title {\mac{jlisting.sty}\\
179
+ ---Japanese Localized Patch File of \mac{listings}---}
180
+ \email {thor@tex.dante.jp}
181
+ \homepage {http://tex.dante.jp/typo/}
182
+ \date {2006/02/20}
183
+
184
+ \makeatother
185
+
186
+ \begin{document}
187
+ \maketitle
188
+ %\IfDvipdfmxDef
189
+
190
+ \section{$B$A$g$C$H$7$?@bL@(B}% Short Description
191
+
192
+ $B1|B<@2I';a$N7G<(HD$N!VHFMQE*$JIbF0BN!W$H$$$&0lO"$N=q$-9~$_$+$i(B
193
+ $BE>:\$7$^$7$?!#(B
194
+
195
+ \begin{quote}
196
+ \url{http://http://cise.edu.mie-u.ac.jp/~okumura/texfaq/qa/21172.html}\\
197
+ \url{http://http://cise.edu.mie-u.ac.jp/~okumura/texfaq/qa/21184.html}\\
198
+ \url{http://http://cise.edu.mie-u.ac.jp/~okumura/texfaq/qa/21189.html}\\
199
+ \url{http://http://cise.edu.mie-u.ac.jp/~okumura/texfaq/qa/21197.html}
200
+ \end{quote}
201
+
202
+ Copyright $B$O5H1JE/H~;a$K$"$k$N$@$H;W$$$^$9!%(B
203
+
204
+ \section{$B99?7MzNr(B}% ChageLogs
205
+
206
+ \begin{description}
207
+ \item[ver.~0.1 (2004/03/24)]
208
+ $B$H$j$"$($:8x3+!%(B
209
+ \item[ver.~0.2 (2006/02/20)]
210
+ \verb|\lst@breakProcessOther| $BL?Na$NDj5A$NDI2C!%(B
211
+ \end{description}
212
+
213
+ \section{$B%=!<%9%3!<%I(B}
214
+ \par\narrowbaselines
215
+ \verbatiminput{jlisting.sty}
216
+ \end{document}
@@ -0,0 +1,9 @@
1
+ \title{卒業論文\\
2
+ \vspace{4cm} hikiutilsを用いた\\卒業論文作成}
3
+ \author{ 関西学院大学 理工学部 情報科学科\\\\1234 西谷滋人}
4
+ \date{\vspace{3cm} 2017年 3月\\
5
+ \vspace{3cm} 指導教員  西谷 滋人 教授}
6
+ \maketitle
7
+ \setcounter{tocdepth}{6}
8
+ \tableofcontents
9
+
@@ -0,0 +1,216 @@
1
+ \NeedsTeXFormat{LaTeX2e}
2
+ \def\filedate{2006/02/20}
3
+ \def\fileversion{0.2}
4
+ \ProvidesPackage{jlisting}[\filedate\space\fileversion\space(Thor)]
5
+ %
6
+ \newcount\lst@nextchar
7
+ \let\lst@@ProcessSpace\lst@ProcessSpace
8
+ \def\lst@ProcessSpace#1{%
9
+ \lst@check@chartype{#1}%
10
+ \lst@@ProcessSpace
11
+ \lst@whitespacetrue}
12
+ \let\lst@@ProcessLetter\lst@ProcessLetter
13
+ \def\lst@ProcessLetter#1#2{%
14
+ \lst@check@chartype{#2}%
15
+ {\lst@@ProcessLetter{#1}}%
16
+ \relax}
17
+ \let\lst@@ProcessDigit\lst@ProcessDigit
18
+ \def\lst@ProcessDigit#1#2{%
19
+ \lst@check@chartype{#2}%
20
+ {\lst@@ProcessDigit{#1}}%
21
+ \relax}
22
+ \let\lst@@ProcessOther\lst@ProcessOther
23
+ \def\lst@ProcessOther#1#2{%
24
+ \lst@check@chartype{#2}%
25
+ {\lst@@ProcessOther{#1}}%
26
+ \relax}
27
+ \let\lst@@ProcessTabulator\lst@ProcessTabulator
28
+ \def\lst@ProcessTabulator#1{%
29
+ \lst@check@chartype{#1}%
30
+ \lst@@ProcessTabulator
31
+ \relax}
32
+ \def\lst@check@chartype#1#2#3{%
33
+ \edef\@tempa{\lst@nextchar=`\string#1\relax}%
34
+ \afterassignment\remove@to@nnil
35
+ \@tempa\@nnil
36
+ #2%
37
+ \ifnum\lst@nextchar<\@cclvi
38
+ #3%
39
+ \else
40
+ \lst@ifletter \else \lst@OutputOther \fi
41
+ \lst@whitespacefalse
42
+ \expandafter\lst@AppendJchar
43
+ \fi
44
+ #1}
45
+ \def\lst@AppendJchar#1#2{%
46
+ \lst@check@chartype{#2}%
47
+ {\advance\lst@length\@ne\lst@Append{#1}}%
48
+ \relax}
49
+ \def\lst@check@chartype@BOL#1{%
50
+ \edef\@tempa{\lst@nextchar=`\string#1\relax}%
51
+ \afterassignment\remove@to@nnil
52
+ \@tempa\@nnil
53
+ \ifnum\lst@nextchar<\@cclvi\else
54
+ \lst@whitespacefalse
55
+ \expandafter\lst@AppendJchar
56
+ \fi
57
+ #1}
58
+ \def\lst@InputListing#1{%
59
+ \begingroup
60
+ \lsthk@PreSet \gdef\lst@intname{#1}%
61
+ \expandafter\lstset\expandafter{\lst@set}%
62
+ \lsthk@DisplayStyle
63
+ \catcode\active=\active
64
+ \lst@Init\relax \let\lst@gobble\z@
65
+ \lst@SkipToFirst
66
+ \lst@ifprint \def\lst@next{\lst@get@filecontents{#1}}%
67
+ \else \let\lst@next\@empty
68
+ \fi
69
+ \lst@next
70
+ \lst@DeInit
71
+ \endgroup}
72
+ \newread\lst@inputfile
73
+ \def\lst@get@filecontents#1{%
74
+ \let\lst@filecontents\@empty
75
+ \openin\lst@inputfile=#1\relax
76
+ \let\@lst@get@filecontents@prevline\relax
77
+ \lst@get@filecontents@loop
78
+ \closein\lst@inputfile
79
+ \lst@filecontents\empty}
80
+ \def\lst@get@filecontents@loop{%
81
+ \read\lst@inputfile to\@lst@get@filecontents@currline
82
+ \ifx\@lst@get@filecontents@prevline\relax\else
83
+ \expandafter\expandafter\expandafter\def
84
+ \expandafter\expandafter\expandafter\lst@filecontents
85
+ \expandafter\expandafter\expandafter{%
86
+ \expandafter\lst@filecontents\@lst@get@filecontents@prevline}%
87
+ \fi
88
+ \let\@lst@get@filecontents@prevline\@lst@get@filecontents@currline
89
+ \ifeof\lst@inputfile\else
90
+ \expandafter\lst@get@filecontents@loop
91
+ \fi}
92
+ %%% [$B$3$N=hM}$b!$AjEv6/0z$G$9!%(B]
93
+ \def\lst@BOLGobble{%
94
+ \ifnum\lst@gobble>\z@
95
+ \@tempcnta\lst@gobble\relax
96
+ \expandafter\lst@BOLGobble@
97
+ \else
98
+ \expandafter\lst@check@chartype@BOL
99
+ \fi}
100
+ \def\lst@BOLGobble@#1{%
101
+ \let\lst@next#1%
102
+ \ifx \lst@next\relax\else
103
+ \ifx \lst@next\lst@MProcessListing\else
104
+ \ifx \lst@next\lst@ProcessFormFeed\else
105
+ \ifx \lst@next\lstenv@backslash
106
+ \let\lst@next\lstenv@BOLGobble@@
107
+ \else
108
+ \let\lst@next\lst@BOLGobble@@
109
+ \ifx #1\lst@ProcessTabulator
110
+ \advance\@tempcnta-\lst@tabsize\relax
111
+ \ifnum\@tempcnta<\z@
112
+ \lst@length-\@tempcnta \lst@PreGotoTabStop
113
+ \fi
114
+ \else
115
+ \edef\@tempa{\lst@nextchar=`\string#1\relax}%
116
+ \@tempa
117
+ \ifnum\lst@nextchar<\@cclvi\else
118
+ \advance\@tempcnta\m@ne
119
+ \fi
120
+ \advance\@tempcnta\m@ne
121
+ \fi
122
+ \fi \fi \fi \fi
123
+ \lst@next}
124
+ \def\lst@BOLGobble@@{%
125
+ \ifnum\@tempcnta>\z@
126
+ \expandafter\lst@BOLGobble@
127
+ \else
128
+ \expandafter\lst@check@chartype@BOL
129
+ \fi
130
+ }
131
+ %
132
+ % \begin{$B=$@5;v9`(B}{1.3}
133
+ % $B$A$g$C$H$7$?=$@5(B
134
+ \gdef\lst@breakProcessOther#1{\lst@ProcessOther#1}
135
+ % $B%=!<%9%3!<%IL\<!$K$*$1$kJ8;z$HHV9f$N6u$-(B
136
+ \let \l@lstlisting = \l@figure
137
+ % $B%-%c%W%7%g%s$H%=!<%9%3!<%IL\<!$KBP$9$kF|K\8lBP1~(B
138
+ \def\lstlistingname{$B%=!<%9%3!<%I(B}
139
+ \def\lstlistlistingname{$B%=!<%9%3!<%IL\<!(B}
140
+ % \end{$B=$@5;v9`(B}
141
+ \endinput
142
+ %
143
+ %#!platex
144
+ \documentclass[papersize]{jsarticle}
145
+ % Macros
146
+ \IfFileExists{dvipdfmx.def}{%
147
+ \usepackage[dvipdfmx]{color,graphicx}%
148
+ }{%
149
+ \usepackage[dvipdfm]{color,graphicx}%
150
+ }
151
+ \usepackage{listings}[2004/09/07]
152
+ \usepackage{jlisting}[2006/02/20]
153
+ \usepackage{url}
154
+ \usepackage{verbatim}
155
+
156
+ \makeatletter
157
+ % Original Macros
158
+ \def\email#1{\gdef\@email{\texttt{#1}}}
159
+ \def\homepage#1{\gdef\@homepage{\texttt{#1}}}
160
+ \def\mac#1{\textsf{#1}}
161
+ \def\URL#1{\texttt{#1}}
162
+ \def\src#1{\texttt{#1}}
163
+
164
+ % Dvipdfmx.def
165
+ \def\dvipdfmxDefi{http://tex.dante.jp/ok/dvipdfmx/}
166
+ \def\dvipdfmxDefii{http://ftp.ktug.or.kr/KTUG/dvipdfmx/contrib/latex/}
167
+
168
+ \IfFileExists{dvipdfmx.def}{%
169
+ \let \IfDvipdfmxDef = \empty \relax}{%
170
+ \typeout{^^Jget dvipdfmx.def at \dvipdfmxDefi^^J
171
+ or \dvipdfmxDefii^^J}%
172
+ \def\IfDvipdfmxDef{Get \src{dvipdfmx.def} at \URL \dvipdfmxDefii \\
173
+ or \URL \dvipdfmxDefi.}%
174
+ }
175
+
176
+ % Author Info
177
+ \author {Th\'or Watanabe\thanks \@email \space \thanks \@homepage}
178
+ \title {\mac{jlisting.sty}\\
179
+ ---Japanese Localized Patch File of \mac{listings}---}
180
+ \email {thor@tex.dante.jp}
181
+ \homepage {http://tex.dante.jp/typo/}
182
+ \date {2006/02/20}
183
+
184
+ \makeatother
185
+
186
+ \begin{document}
187
+ \maketitle
188
+ %\IfDvipdfmxDef
189
+
190
+ \section{$B$A$g$C$H$7$?@bL@(B}% Short Description
191
+
192
+ $B1|B<@2I';a$N7G<(HD$N!VHFMQE*$JIbF0BN!W$H$$$&0lO"$N=q$-9~$_$+$i(B
193
+ $BE>:\$7$^$7$?!#(B
194
+
195
+ \begin{quote}
196
+ \url{http://http://cise.edu.mie-u.ac.jp/~okumura/texfaq/qa/21172.html}\\
197
+ \url{http://http://cise.edu.mie-u.ac.jp/~okumura/texfaq/qa/21184.html}\\
198
+ \url{http://http://cise.edu.mie-u.ac.jp/~okumura/texfaq/qa/21189.html}\\
199
+ \url{http://http://cise.edu.mie-u.ac.jp/~okumura/texfaq/qa/21197.html}
200
+ \end{quote}
201
+
202
+ Copyright $B$O5H1JE/H~;a$K$"$k$N$@$H;W$$$^$9!%(B
203
+
204
+ \section{$B99?7MzNr(B}% ChageLogs
205
+
206
+ \begin{description}
207
+ \item[ver.~0.1 (2004/03/24)]
208
+ $B$H$j$"$($:8x3+!%(B
209
+ \item[ver.~0.2 (2006/02/20)]
210
+ \verb|\lst@breakProcessOther| $BL?Na$NDj5A$NDI2C!%(B
211
+ \end{description}
212
+
213
+ \section{$B%=!<%9%3!<%I(B}
214
+ \par\narrowbaselines
215
+ \verbatiminput{jlisting.sty}
216
+ \end{document}
@@ -0,0 +1,36 @@
1
+ \documentclass[10pt,a4j]{article}
2
+
3
+ \def\Vec#1{\mbox{\boldmath $#1$}}
4
+ \usepackage[dvipdfmx]{graphicx}
5
+
6
+ \setlength{\textheight}{275mm}
7
+ \headheight 5mm
8
+ \topmargin -20mm
9
+ \textwidth 160mm
10
+ \textheight 250mm
11
+ \oddsidemargin -0mm
12
+ \evensidemargin -5mm
13
+
14
+ \pagestyle{empty}
15
+ \makeatletter
16
+ \def\@maketitle{%
17
+ \newpage\null
18
+ \vskip 2em%
19
+ \begin{center}%
20
+ \let\footnote\thanks
21
+ {\large\bf \@title \par}%
22
+ \vskip 1.5em%
23
+ {\large\bf \@author \par}%
24
+ \vskip 1.5em%
25
+ {\small \@date}%
26
+ \end{center}%
27
+ }
28
+ \makeatother
29
+
30
+ %\documentclass[10pt, a4j]{article}
31
+ %%\usepackage{citesort}
32
+ \usepackage{amssymb}
33
+ \usepackage[dvipdfmx]{graphicx}% 図を入れるときに使用
34
+ \usepackage{wrapfig}% 図の周りに本文を流し込みたいときに使用
35
+ \usepackage{subfigure}
36
+ \usepackage{here}