review 3.0.0.preview4 → 3.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/NEWS.ja.md +61 -4
  3. data/NEWS.md +61 -4
  4. data/README.md +2 -1
  5. data/doc/config.yml.sample +48 -20
  6. data/doc/config.yml.sample-simple +7 -6
  7. data/doc/format_idg.ja.md +6 -2
  8. data/doc/pdfmaker.ja.md +95 -4
  9. data/doc/pdfmaker.md +79 -0
  10. data/doc/quickstart.ja.md +26 -3
  11. data/doc/quickstart.md +25 -3
  12. data/doc/writing_vertical.ja.md +19 -2
  13. data/lib/review/epubmaker.rb +27 -27
  14. data/lib/review/i18n.yml +1 -0
  15. data/lib/review/init.rb +34 -22
  16. data/lib/review/latexbuilder.rb +95 -18
  17. data/lib/review/pdfmaker.rb +1 -0
  18. data/lib/review/update.rb +60 -25
  19. data/lib/review/version.rb +1 -1
  20. data/review.gemspec +1 -1
  21. data/samples/sample-book/src/config.yml +3 -3
  22. data/samples/syntax-book/config.yml +3 -3
  23. data/templates/latex/config.erb +3 -0
  24. data/templates/latex/review-jlreq/README.md +97 -7
  25. data/templates/latex/review-jlreq/review-base.sty +8 -0
  26. data/templates/latex/review-jlreq/review-jlreq.cls +28 -6
  27. data/templates/latex/review-jsbook/README.md +18 -20
  28. data/templates/latex/review-jsbook/review-base.sty +15 -0
  29. data/templates/latex/review-jsbook/review-jsbook.cls +172 -230
  30. data/test/test_epubmaker_cmd.rb +1 -1
  31. data/test/test_helper.rb +3 -3
  32. data/test/test_image_finder.rb +9 -9
  33. data/test/test_latexbuilder.rb +20 -1
  34. data/test/test_makerhelper.rb +12 -12
  35. data/test/test_pdfmaker_cmd.rb +1 -1
  36. data/test/test_update.rb +18 -4
  37. data/test/test_zip_exporter.rb +7 -7
  38. data/vendor/jsclasses/.gitignore +163 -0
  39. data/vendor/jsclasses/LICENSE +25 -0
  40. data/vendor/jsclasses/Makefile +88 -0
  41. data/vendor/jsclasses/README.md +43 -0
  42. data/vendor/jsclasses/create_archive.sh +59 -0
  43. data/vendor/jsclasses/jis/Makefile +62 -0
  44. data/vendor/jsclasses/jis/jsarticle.cls +1935 -0
  45. data/vendor/jsclasses/jis/jsbook.cls +2026 -0
  46. data/vendor/jsclasses/jis/jsclasses.dtx +5961 -0
  47. data/vendor/jsclasses/jis/jsclasses.ins +8 -0
  48. data/vendor/jsclasses/jis/jslogo.dtx +413 -0
  49. data/vendor/jsclasses/jis/jslogo.ins +4 -0
  50. data/vendor/jsclasses/jis/jslogo.sty +223 -0
  51. data/vendor/jsclasses/jis/jspf.cls +1766 -0
  52. data/vendor/jsclasses/jis/jsreport.cls +2020 -0
  53. data/vendor/jsclasses/jis/jsverb.dtx +322 -0
  54. data/vendor/jsclasses/jis/jsverb.ins +4 -0
  55. data/vendor/jsclasses/jis/jsverb.sty +128 -0
  56. data/vendor/jsclasses/jis/kiyou.cls +1882 -0
  57. data/vendor/jsclasses/jis/minijs.sty +52 -0
  58. data/vendor/jsclasses/jis/okumacro.dtx +1179 -0
  59. data/vendor/jsclasses/jis/okumacro.ins +4 -0
  60. data/vendor/jsclasses/jis/okumacro.sty +455 -0
  61. data/vendor/jsclasses/jis/okuverb.dtx +243 -0
  62. data/vendor/jsclasses/jis/okuverb.ins +4 -0
  63. data/vendor/jsclasses/jis/okuverb.sty +102 -0
  64. data/vendor/jsclasses/jis/winjis.sty +87 -0
  65. data/vendor/jsclasses/jsarticle.cls +1938 -0
  66. data/vendor/jsclasses/jsbook.cls +2029 -0
  67. data/vendor/jsclasses/jsclasses.dtx +5966 -0
  68. data/vendor/jsclasses/jsclasses.ins +8 -0
  69. data/vendor/jsclasses/jsclasses.pdf +0 -0
  70. data/vendor/jsclasses/jslogo.dtx +424 -0
  71. data/vendor/jsclasses/jslogo.ins +4 -0
  72. data/vendor/jsclasses/jslogo.pdf +0 -0
  73. data/vendor/jsclasses/jslogo.sty +223 -0
  74. data/vendor/jsclasses/jspf.cls +1769 -0
  75. data/vendor/jsclasses/jsreport.cls +2023 -0
  76. data/vendor/jsclasses/jsverb.dtx +333 -0
  77. data/vendor/jsclasses/jsverb.ins +4 -0
  78. data/vendor/jsclasses/jsverb.pdf +0 -0
  79. data/vendor/jsclasses/jsverb.sty +128 -0
  80. data/vendor/jsclasses/kiyou.cls +1885 -0
  81. data/vendor/jsclasses/minijs.sty +52 -0
  82. data/vendor/jsclasses/okumacro.dtx +1184 -0
  83. data/vendor/jsclasses/okumacro.ins +4 -0
  84. data/vendor/jsclasses/okumacro.pdf +0 -0
  85. data/vendor/jsclasses/okumacro.sty +458 -0
  86. data/vendor/jsclasses/okuverb.dtx +254 -0
  87. data/vendor/jsclasses/okuverb.ins +4 -0
  88. data/vendor/jsclasses/okuverb.pdf +0 -0
  89. data/vendor/jsclasses/okuverb.sty +102 -0
  90. data/vendor/jsclasses/winjis.sty +87 -0
  91. metadata +55 -2
@@ -0,0 +1,8 @@
1
+ \def\batchfile{jsclasses.ins}
2
+ \input docstrip.tex
3
+ \keepsilent
4
+ \generateFile{jsarticle.cls}{f}{\from{jsclasses.dtx}{article}}
5
+ \generateFile{jsbook.cls}{f}{\from{jsclasses.dtx}{book}}
6
+ \generateFile{jsreport.cls}{f}{\from{jsclasses.dtx}{report}}
7
+ \generateFile{jspf.cls}{f}{\from{jsclasses.dtx}{jspf}}
8
+ \generateFile{kiyou.cls}{f}{\from{jsclasses.dtx}{kiyou}}
@@ -0,0 +1,413 @@
1
+ % ^^A -*- japanese-latex -*-
2
+ % \iffalse meta-comment
3
+ %
4
+ % LaTeX $B4XO"$N%m%4!J(BpLaTeX2$B&E?7%I%-%e%a%s%H%/%i%9IUO?!K(B
5
+ %
6
+ % Copyright 1999-2016 Haruhiko Okumura
7
+ % Copyright 2016-2017 Japanese TeX Development Community
8
+ %
9
+ % \fi
10
+ %
11
+ % \iffalse
12
+ %
13
+ % \begin{macrocode}
14
+ %<package>\NeedsTeXFormat{LaTeX2e}
15
+ %<package>\ProvidesPackage{jslogo}
16
+ %<*driver>
17
+ \ProvidesFile{jslogo.dtx}
18
+ %</driver>
19
+ [2017/02/24 okumura, texjporg]
20
+ %<*driver>
21
+ \documentclass{jsarticle}
22
+ \usepackage{doc}
23
+ \xspcode"5C=1 %% \
24
+ \xspcode"22=1 %% "
25
+ \addtolength{\textwidth}{-1in}
26
+ \addtolength{\evensidemargin}{1in}
27
+ \addtolength{\oddsidemargin}{1in}
28
+ \addtolength{\marginparwidth}{1in}
29
+ \setlength\marginparpush{0pt}
30
+ % \OnlyDescription
31
+ \CodelineNumbered
32
+ \DisableCrossrefs
33
+ \setcounter{StandardModuleDepth}{1}
34
+ \GetFileInfo{jslogo.dtx}
35
+ \begin{document}
36
+ \DocInput{jslogo.dtx}
37
+ \end{document}
38
+ %</driver>
39
+ % \end{macrocode}
40
+ %
41
+ % \fi
42
+ %
43
+ % \title{\pLaTeXe $B?7%I%-%e%a%s%H%/%i%9IUO?(B $B%m%4%Q%C%1!<%8(B}
44
+ % \author{$B1|B<@2I'!$F|K\8l(B\TeX $B3+H/%3%_%e%K%F%#(B}
45
+ % \date{\filedate}
46
+ % \maketitle
47
+ %
48
+ % \MakeShortVerb{\|}
49
+ %
50
+ % \section{$B$O$8$a$K(B}
51
+ %
52
+ % $B$3$l$O$b$H$b$H1|B<@2I';a$K$h$k(B\texttt{jsclasses.dtx}$B$GDj5A$5$l(B
53
+ % $B$F$$$?(B\LaTeX $B4XO"$N%m%4$r!$FHN)$N%Q%C%1!<%8$KCj=P$7$?$b$N$G$9!#(B
54
+ % \texttt{jsclasses}$B$G$O%G%U%)%k%H$GFI$_9~$^$l$^$9!#(B
55
+ % $B8=:_$OF|K\8l(B\TeX $B3+H/%3%_%e%K%F%#$K$h$j(BGitHub$B$G4IM}$5$l$F$$$^$9!#(B
56
+ % \begin{quote}
57
+ % |https://github.com/texjporg/jsclasses|
58
+ % \end{quote}
59
+ % $B%i%$%;%s%9$O(Bmodified BSD$B$G$9!#(B
60
+ %
61
+ % \StopEventually{}
62
+ %
63
+ % $B0J2<$G$O<B:]$N%3!<%I$KB($7$F@bL@$7$^$9!#(B
64
+ %
65
+ %
66
+ % \section{$B$$$m$$$m$J%m%4(B}
67
+ %
68
+ % \LaTeX $B4XO"$N%m%4$r:n$jD>$7$^$9!#(B
69
+ %
70
+ % \begin{macro}{\jslg@small}
71
+ % \begin{macro}{\jslg@uppersmall}
72
+ %
73
+ % $BJ8;z$r>.$5$a$K=P$7$?$j>e4s$j$K>.$5$a$K=P$7$?$j$9$kL?Na$G$9!#(B
74
+ %
75
+ % \begin{macrocode}
76
+ \def\jslg@small#1{\hbox{$\m@th$%
77
+ \csname S@\f@size\endcsname
78
+ \fontsize\sf@size\z@
79
+ \math@fontsfalse\selectfont
80
+ #1}}
81
+ \def\jslg@uppersmall#1{{\sbox\z@ T\vbox to\ht0{\jslg@small{#1}\vss}}}
82
+ % \end{macrocode}
83
+ % \end{macro}
84
+ % \end{macro}
85
+ %
86
+ % \begin{macro}{\TeX}
87
+ % \begin{macro}{\LaTeX}
88
+ %
89
+ % $B$3$l$i$O(B \texttt{ltlogos.dtx} $B$GDj5A$5$l$F$$$^$9$,!$(B
90
+ % Times$B$d(BHelvetica$B$G$b8+1I$($,$9$k$h$&$K<c43JQ99$7$^$7$?!#(B
91
+ %
92
+ % Computer Modern Roman$B$G$9!J%U%!%_%jL>(B\texttt{cmr}$B!K!#(B
93
+ % $B85$NDj5A$K:G$b6a$$$N$G!$FCJL$KDj5A$7$J$$>l9g$KMQ$$$^$9!#(B
94
+ %
95
+ % \begin{macrocode}
96
+ \def\cmrTeX{%
97
+ \ifdim \fontdimen\@ne\font >\z@
98
+ T\kern-.25em\lower.5ex\hbox{E}\kern-.125emX\@
99
+ \else
100
+ T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX\@
101
+ \fi}
102
+ \def\cmrLaTeX{%
103
+ \ifdim \fontdimen\@ne\font >\z@
104
+ L\kern-.32em\jslg@uppersmall{A}\kern-.22em\cmrTeX
105
+ \else
106
+ L\kern-.36em\jslg@uppersmall{A}\kern-.15em\cmrTeX
107
+ \fi}
108
+ % \end{macrocode}
109
+ %
110
+ % Computer Modern Sans Serif$B!J%U%!%_%jL>(B\texttt{cmss}$B!K$d(B
111
+ % Helvetica$B!J%U%!%_%jL>(B\texttt{phv}$B!K$J$I$N%5%s%;%j%UBN$G$9!#(B
112
+ %
113
+ % \begin{macrocode}
114
+ \def\sfTeX{T\kern-.1em\lower.4ex\hbox{E}\kern-.07emX\@}
115
+ \def\sfLaTeX{L\kern-.25em\jslg@uppersmall{A}\kern-.08em\sfTeX}
116
+ % \end{macrocode}
117
+ %
118
+ % Times$B$G$9!J%U%!%_%jL>(B\texttt{ptm}$B!K!#(B
119
+ % TX$B%U%)%s%H!J%U%!%_%jL>(B\texttt{txr}$B!K$G$bMQ$$$^$9!#(B
120
+ %
121
+ % \begin{macrocode}
122
+ \def\ptmTeX{%
123
+ \ifdim \fontdimen\@ne\font >\z@
124
+ T\kern-.12em\lower.37ex\hbox{E}\kern-.02emX\@
125
+ \else
126
+ T\kern-.07em\lower.37ex\hbox{E}\kern-.05emX\@
127
+ \fi}
128
+ \def\ptmLaTeX{%
129
+ \ifdim \fontdimen\@ne\font >\z@
130
+ L\kern-.2em\jslg@uppersmall{A}\kern-.1em\ptmTeX
131
+ \else
132
+ L\kern-.3em\jslg@uppersmall{A}\kern-.1em\ptmTeX
133
+ \fi}
134
+ % \end{macrocode}
135
+ %
136
+ % New Century Schoolbook$B$G$9!J%U%!%_%jL>(B\texttt{pnc}$B!K!#(B
137
+ %
138
+ % \begin{macrocode}
139
+ \def\pncTeX{%
140
+ \ifdim \fontdimen\@ne\font >\z@
141
+ T\kern-.2em\lower.5ex\hbox{E}\kern-.08emX\@
142
+ \else
143
+ T\kern-.13em\lower.5ex\hbox{E}\kern-.13emX\@
144
+ \fi}
145
+ \def\pncLaTeX{%
146
+ \ifdim \fontdimen\@ne\font >\z@
147
+ L\kern-.3em\jslg@uppersmall{A}\kern-.1em\pncTeX
148
+ \else
149
+ L\kern-.3em\jslg@uppersmall{A}\kern-.1em\pncTeX
150
+ \fi}
151
+ % \end{macrocode}
152
+ %
153
+ % Palatino$B$G$9!J%U%!%_%jL>(B\texttt{ppl}$B!K!#(B
154
+ % PX$B%U%)%s%H!J%U%!%_%jL>(B\texttt{pxr}$B!K$G$bMQ$$$^$9!#(B
155
+ %
156
+ % \begin{macrocode}
157
+ \def\pplTeX{%
158
+ \ifdim \fontdimen\@ne\font >\z@
159
+ T\kern-.17em\lower.32ex\hbox{E}\kern-.15emX\@
160
+ \else
161
+ T\kern-.12em\lower.34ex\hbox{E}\kern-.1emX\@
162
+ \fi}
163
+ \def\pplLaTeX{%
164
+ \ifdim \fontdimen\@ne\font >\z@
165
+ L\kern-.27em\jslg@uppersmall{A}\kern-.12em\pplTeX
166
+ \else
167
+ L\kern-.3em\jslg@uppersmall{A}\kern-.15em\pplTeX
168
+ \fi}
169
+ % \end{macrocode}
170
+ %
171
+ % URW Garamond$B$G$9!J%U%!%_%jL>(B\texttt{ugm}$B!K!#(B
172
+ %
173
+ % \begin{macrocode}
174
+ \def\ugmTeX{%
175
+ \ifdim \fontdimen\@ne\font >\z@
176
+ T\kern-.1em\lower.32ex\hbox{E}\kern-.06emX\@
177
+ \else
178
+ T\kern-.12em\lower.34ex\hbox{E}\kern-.1emX\@
179
+ \fi}
180
+ \def\ugmLaTeX{%
181
+ \ifdim \fontdimen\@ne\font >\z@
182
+ L\kern-.2em\jslg@uppersmall{A}\kern-.13em\ugmTeX
183
+ \else
184
+ L\kern-.3em\jslg@uppersmall{A}\kern-.13em\ugmTeX
185
+ \fi}
186
+ % \end{macrocode}
187
+ %
188
+ % $B0J>e$NDj5A$r!$%U%!%_%j$K$h$C$F;H$$J,$1$^$9!#(B
189
+ %
190
+ % [2003-06-12] Palatino$B$b2C$($^$7$?!JMWD4@0!K!#(B
191
+ %
192
+ % \begin{macrocode}
193
+ \DeclareRobustCommand{\TeX}{%
194
+ \def\@tempa{cmss}%
195
+ \ifx\f@family\@tempa\sfTeX
196
+ \else
197
+ \def\@tempa{phv}%
198
+ \ifx\f@family\@tempa\sfTeX
199
+ \else
200
+ \def\@tempa{qhv}%
201
+ \ifx\f@family\@tempa\sfTeX
202
+ \else
203
+ \def\@tempa{ptm}%
204
+ \ifx\f@family\@tempa\ptmTeX
205
+ \else
206
+ \def\@tempa{qtm}%
207
+ \ifx\f@family\@tempa\ptmTeX
208
+ \else
209
+ \def\@tempa{txr}%
210
+ \ifx\f@family\@tempa\ptmTeX
211
+ \else
212
+ \def\@tempa{ntxtlf}%
213
+ \ifx\f@family\@tempa\ptmTeX
214
+ \else
215
+ \def\@tempa{pnc}%
216
+ \ifx\f@family\@tempa\pncTeX
217
+ \else
218
+ \def\@tempa{ppl}%
219
+ \ifx\f@family\@tempa\pplTeX
220
+ \else
221
+ \def\@tempa{qpl}%
222
+ \ifx\f@family\@tempa\pplTeX
223
+ \else
224
+ \def\@tempa{pplx}%
225
+ \ifx\f@family\@tempa\pplTeX
226
+ \else
227
+ \def\@tempa{pplj}%
228
+ \ifx\f@family\@tempa\pplTeX
229
+ \else
230
+ \def\@tempa{pxr}%
231
+ \ifx\f@family\@tempa\pplTeX
232
+ \else
233
+ \def\@tempa{zpltlf}%
234
+ \ifx\f@family\@tempa\pplTeX
235
+ \else
236
+ \def\@tempa{ugm}%
237
+ \ifx\f@family\@tempa\ugmTeX
238
+ \else\cmrTeX
239
+ \fi
240
+ \fi\fi
241
+ \fi\fi\fi\fi
242
+ \fi
243
+ \fi\fi
244
+ \fi\fi
245
+ \fi\fi\fi}
246
+ \DeclareRobustCommand{\LaTeX}{%
247
+ \def\@tempa{cmss}%
248
+ \ifx\f@family\@tempa\sfLaTeX
249
+ \else
250
+ \def\@tempa{phv}%
251
+ \ifx\f@family\@tempa\sfLaTeX
252
+ \else
253
+ \def\@tempa{qhv}%
254
+ \ifx\f@family\@tempa\sfLaTeX
255
+ \else
256
+ \def\@tempa{ptm}%
257
+ \ifx\f@family\@tempa\ptmLaTeX
258
+ \else
259
+ \def\@tempa{qtm}%
260
+ \ifx\f@family\@tempa\ptmLaTeX
261
+ \else
262
+ \def\@tempa{txr}%
263
+ \ifx\f@family\@tempa\ptmLaTeX
264
+ \else
265
+ \def\@tempa{ntxtlf}%
266
+ \ifx\f@family\@tempa\ptmLaTeX
267
+ \else
268
+ \def\@tempa{pnc}%
269
+ \ifx\f@family\@tempa\pncLaTeX
270
+ \else
271
+ \def\@tempa{ppl}%
272
+ \ifx\f@family\@tempa\pplLaTeX
273
+ \else
274
+ \def\@tempa{qpl}%
275
+ \ifx\f@family\@tempa\pplLaTeX
276
+ \else
277
+ \def\@tempa{pplx}%
278
+ \ifx\f@family\@tempa\pplLaTeX
279
+ \else
280
+ \def\@tempa{pplj}%
281
+ \ifx\f@family\@tempa\pplLaTeX
282
+ \else
283
+ \def\@tempa{pxr}%
284
+ \ifx\f@family\@tempa\pplLaTeX
285
+ \else
286
+ \def\@tempa{zpltlf}%
287
+ \ifx\f@family\@tempa\pplLaTeX
288
+ \else
289
+ \def\@tempa{ugm}%
290
+ \ifx\f@family\@tempa\ugmLaTeX
291
+ \else\cmrLaTeX
292
+ \fi
293
+ \fi\fi
294
+ \fi\fi\fi\fi
295
+ \fi
296
+ \fi\fi
297
+ \fi\fi
298
+ \fi\fi\fi}
299
+ % \end{macrocode}
300
+ %
301
+ % \end{macro}
302
+ % \end{macro}
303
+ %
304
+ % \begin{macro}{\LaTeXe}
305
+ %
306
+ % |\LaTeXe| $B%3%^%s%I$N(B |\mbox{\m@th ...| $B$G;O$^$k?7$7$$Dj5A$G$O(B
307
+ % $BD>8e$NOBJ8$H$N4V$K(B |\xkanjiskip| $B$,F~$j$^$;$s!#$^$?!$(B
308
+ % |mathptmx| $B%Q%C%1!<%8$J$I$HJ;MQ$9$k$H!$:G8e$N(B $\varepsilon$ $B$,(B
309
+ % $B2<$,$j$9$.$F$7$^$$$^$9!#$=$N$?$a!$$A$g$C$H<j$r2C$($^$7$?!#(B
310
+ %
311
+ % \begin{macrocode}
312
+ \DeclareRobustCommand{\LaTeXe}{$\mbox{%
313
+ \if b\expandafter\@car\f@series\@nil\boldmath\fi
314
+ \LaTeX\kern.15em2\raisebox{-.37ex}{$\textstyle\varepsilon$}}$}
315
+ % \end{macrocode}
316
+ % \end{macro}
317
+ %
318
+ % \begin{macro}{\pTeX}
319
+ % \begin{macro}{\pLaTeX}
320
+ % \begin{macro}{\pLaTeXe}
321
+ %
322
+ % \pTeX $B!$(B\pLaTeXe $B$N%m%4$r=P$9L?Na$G$9!#(B
323
+ %
324
+ % \begin{macrocode}
325
+ \def\pTeX{p\kern-.05em\TeX}
326
+ \def\pLaTeX{p\LaTeX}
327
+ \def\pLaTeXe{p\LaTeXe}
328
+ % \end{macrocode}
329
+ %
330
+ % \end{macro}
331
+ % \end{macro}
332
+ % \end{macro}
333
+ %
334
+ % \begin{macro}{\upTeX}
335
+ % \begin{macro}{\upLaTeX}
336
+ % \begin{macro}{\upLaTeXe}
337
+ %
338
+ % [2016-07-14] \upTeX $B!$(B\upLaTeXe $B$N%m%4$r=P$9L?Na$bDj5A$7$^$9!#(B
339
+ %
340
+ % \begin{macrocode}
341
+ \def\upTeX{u\pTeX}
342
+ \def\upLaTeX{u\pLaTeX}
343
+ \def\upLaTeXe{u\pLaTeXe}
344
+ % \end{macrocode}
345
+ %
346
+ % \end{macro}
347
+ % \end{macro}
348
+ % \end{macro}
349
+ %
350
+ % \begin{macro}{\AmSTeX}
351
+ %
352
+ % \texttt{amstex.sty} $B$GDj5A$5$l$F$$$^$9!#(B
353
+ %
354
+ % \begin{macrocode}
355
+ \def\AmSTeX{\protect\AmS-\protect\TeX{}}
356
+ % \end{macrocode}
357
+ %
358
+ % \end{macro}
359
+ %
360
+ % \begin{macro}{\BibTeX}
361
+ % \begin{macro}{\SliTeX}
362
+ %
363
+ % $B$3$l$i$O(B \texttt{doc.dtx} $B$+$i<h$C$?$b$N$G$9!#(B
364
+ % $B$?$@$7!$(B|\BibTeX| $B$@$1$O$A$g$C$H=$@5$7$^$7$?!#(B
365
+ %
366
+ % \begin{macrocode}
367
+ % \@ifundefined{BibTeX}
368
+ % {\def\BibTeX{{\rmfamily B\kern-.05em%
369
+ % \textsc{i\kern-.025em b}\kern-.08em%
370
+ % T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}}{}
371
+ \DeclareRobustCommand{\BibTeX}{B\kern-.05em\jslg@small{I\kern-.025em B}%
372
+ \ifx\f@family\cmr\kern-.08em\else\kern-.15em\fi\TeX}
373
+ \DeclareRobustCommand{\SliTeX}{%
374
+ S\kern-.06emL\kern-.18em\jslg@uppersmall{I}\kern -.03em\TeX}
375
+ % \end{macrocode}
376
+ % \end{macro}
377
+ % \end{macro}
378
+ %
379
+ %
380
+ % \section{PDF$BJ8;zNsCf$G%m%4$,;H$o$l$?>l9g$X$NBP:v(B}
381
+ %
382
+ % $B0J>e$G%m%4$NDj5A$O=*$o$j$G$9$,!$(B|hyperref|$B$rFI$_9~$s$@>uBV$G(B |jslogo| $B$NL?Na$r(B
383
+ % PDF$BJ8;zNs$H$7$F2r<a$5$l$k2U=j!JNc(B |\section| $B$J$I!K$G;H$&$H7Y9p$,=P$F$7$^$$$^$9!#(B
384
+ %\begin{verbatim}
385
+ % Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
386
+ % (hyperref) \kern -0.50003pt
387
+ % (hyperref) removed on input line 5.
388
+ %\end{verbatim}
389
+ % $B$=$3$G!$$3$N7Y9p$,=P$J$$$h$&$KBP:v$7$^$9(B(Issue \#51)$B!#(B
390
+ %
391
+ % $B$^$:!$(B|\pdfstringdefPreHook| $B$r!J$J$1$l$P!KMQ0U$7$^$9!#(B
392
+ % \begin{macrocode}
393
+ \providecommand*\pdfstringdefPreHook{}
394
+ % \end{macrocode}
395
+ %
396
+ % $B$=$7$F!$7Y9p$,=P$F$7$^$&%m%4$KBP$9$k(BPDF$BJ8;zNsCf$G$NDj5A$rDI2C$7$^$9!#(B
397
+ % \begin{macrocode}
398
+ \g@addto@macro\pdfstringdefPreHook{%
399
+ \def\pTeX{p\TeX}%
400
+ \def\AmS{AMS}%
401
+ \def\SliTeX{Sli\TeX}%
402
+ \def\BibTeX{Bib\TeX}%
403
+ }
404
+ % \end{macrocode}
405
+ %
406
+ % |hyperref| $BFI9~;~$K(B |\pdfstringdefPreHook| $B$,Dj5A:Q$J$i$=$l$O$=$N$^$^J];}$5$l!$(B
407
+ % $B7Y9p$,=P$J$/$J$j$^$9!#(B
408
+ %
409
+ % $B0J>e$G$9!#(B
410
+ %
411
+ % \Finale
412
+ %
413
+ \endinput
@@ -0,0 +1,4 @@
1
+ \def\batchfile{jslogo.ins}
2
+ \input docstrip.tex
3
+ \keepsilent
4
+ \generateFile{jslogo.sty}{f}{\from{jslogo.dtx}{package}}
@@ -0,0 +1,223 @@
1
+ %%
2
+ %% This is file `jslogo.sty',
3
+ %% generated with the docstrip utility.
4
+ %%
5
+ %% The original source files were:
6
+ %%
7
+ %% jslogo.dtx (with options: `package')
8
+ %%
9
+ %% IMPORTANT NOTICE:
10
+ %%
11
+ %% For the copyright see the source file.
12
+ %%
13
+ %% Any modified versions of this file must be renamed
14
+ %% with new filenames distinct from jslogo.sty.
15
+ %%
16
+ %% For distribution of the original source see the terms
17
+ %% for copying and modification in the file jslogo.dtx.
18
+ %%
19
+ %% This generated file may be distributed as long as the
20
+ %% original source files, as listed above, are part of the
21
+ %% same distribution. (The sources need not necessarily be
22
+ %% in the same archive or directory.)
23
+ \NeedsTeXFormat{LaTeX2e}
24
+ \ProvidesPackage{jslogo}
25
+ [2017/02/24 okumura, texjporg]
26
+ \def\jslg@small#1{\hbox{$\m@th$%
27
+ \csname S@\f@size\endcsname
28
+ \fontsize\sf@size\z@
29
+ \math@fontsfalse\selectfont
30
+ #1}}
31
+ \def\jslg@uppersmall#1{{\sbox\z@ T\vbox to\ht0{\jslg@small{#1}\vss}}}
32
+ \def\cmrTeX{%
33
+ \ifdim \fontdimen\@ne\font >\z@
34
+ T\kern-.25em\lower.5ex\hbox{E}\kern-.125emX\@
35
+ \else
36
+ T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX\@
37
+ \fi}
38
+ \def\cmrLaTeX{%
39
+ \ifdim \fontdimen\@ne\font >\z@
40
+ L\kern-.32em\jslg@uppersmall{A}\kern-.22em\cmrTeX
41
+ \else
42
+ L\kern-.36em\jslg@uppersmall{A}\kern-.15em\cmrTeX
43
+ \fi}
44
+ \def\sfTeX{T\kern-.1em\lower.4ex\hbox{E}\kern-.07emX\@}
45
+ \def\sfLaTeX{L\kern-.25em\jslg@uppersmall{A}\kern-.08em\sfTeX}
46
+ \def\ptmTeX{%
47
+ \ifdim \fontdimen\@ne\font >\z@
48
+ T\kern-.12em\lower.37ex\hbox{E}\kern-.02emX\@
49
+ \else
50
+ T\kern-.07em\lower.37ex\hbox{E}\kern-.05emX\@
51
+ \fi}
52
+ \def\ptmLaTeX{%
53
+ \ifdim \fontdimen\@ne\font >\z@
54
+ L\kern-.2em\jslg@uppersmall{A}\kern-.1em\ptmTeX
55
+ \else
56
+ L\kern-.3em\jslg@uppersmall{A}\kern-.1em\ptmTeX
57
+ \fi}
58
+ \def\pncTeX{%
59
+ \ifdim \fontdimen\@ne\font >\z@
60
+ T\kern-.2em\lower.5ex\hbox{E}\kern-.08emX\@
61
+ \else
62
+ T\kern-.13em\lower.5ex\hbox{E}\kern-.13emX\@
63
+ \fi}
64
+ \def\pncLaTeX{%
65
+ \ifdim \fontdimen\@ne\font >\z@
66
+ L\kern-.3em\jslg@uppersmall{A}\kern-.1em\pncTeX
67
+ \else
68
+ L\kern-.3em\jslg@uppersmall{A}\kern-.1em\pncTeX
69
+ \fi}
70
+ \def\pplTeX{%
71
+ \ifdim \fontdimen\@ne\font >\z@
72
+ T\kern-.17em\lower.32ex\hbox{E}\kern-.15emX\@
73
+ \else
74
+ T\kern-.12em\lower.34ex\hbox{E}\kern-.1emX\@
75
+ \fi}
76
+ \def\pplLaTeX{%
77
+ \ifdim \fontdimen\@ne\font >\z@
78
+ L\kern-.27em\jslg@uppersmall{A}\kern-.12em\pplTeX
79
+ \else
80
+ L\kern-.3em\jslg@uppersmall{A}\kern-.15em\pplTeX
81
+ \fi}
82
+ \def\ugmTeX{%
83
+ \ifdim \fontdimen\@ne\font >\z@
84
+ T\kern-.1em\lower.32ex\hbox{E}\kern-.06emX\@
85
+ \else
86
+ T\kern-.12em\lower.34ex\hbox{E}\kern-.1emX\@
87
+ \fi}
88
+ \def\ugmLaTeX{%
89
+ \ifdim \fontdimen\@ne\font >\z@
90
+ L\kern-.2em\jslg@uppersmall{A}\kern-.13em\ugmTeX
91
+ \else
92
+ L\kern-.3em\jslg@uppersmall{A}\kern-.13em\ugmTeX
93
+ \fi}
94
+ \DeclareRobustCommand{\TeX}{%
95
+ \def\@tempa{cmss}%
96
+ \ifx\f@family\@tempa\sfTeX
97
+ \else
98
+ \def\@tempa{phv}%
99
+ \ifx\f@family\@tempa\sfTeX
100
+ \else
101
+ \def\@tempa{qhv}%
102
+ \ifx\f@family\@tempa\sfTeX
103
+ \else
104
+ \def\@tempa{ptm}%
105
+ \ifx\f@family\@tempa\ptmTeX
106
+ \else
107
+ \def\@tempa{qtm}%
108
+ \ifx\f@family\@tempa\ptmTeX
109
+ \else
110
+ \def\@tempa{txr}%
111
+ \ifx\f@family\@tempa\ptmTeX
112
+ \else
113
+ \def\@tempa{ntxtlf}%
114
+ \ifx\f@family\@tempa\ptmTeX
115
+ \else
116
+ \def\@tempa{pnc}%
117
+ \ifx\f@family\@tempa\pncTeX
118
+ \else
119
+ \def\@tempa{ppl}%
120
+ \ifx\f@family\@tempa\pplTeX
121
+ \else
122
+ \def\@tempa{qpl}%
123
+ \ifx\f@family\@tempa\pplTeX
124
+ \else
125
+ \def\@tempa{pplx}%
126
+ \ifx\f@family\@tempa\pplTeX
127
+ \else
128
+ \def\@tempa{pplj}%
129
+ \ifx\f@family\@tempa\pplTeX
130
+ \else
131
+ \def\@tempa{pxr}%
132
+ \ifx\f@family\@tempa\pplTeX
133
+ \else
134
+ \def\@tempa{zpltlf}%
135
+ \ifx\f@family\@tempa\pplTeX
136
+ \else
137
+ \def\@tempa{ugm}%
138
+ \ifx\f@family\@tempa\ugmTeX
139
+ \else\cmrTeX
140
+ \fi
141
+ \fi\fi
142
+ \fi\fi\fi\fi
143
+ \fi
144
+ \fi\fi
145
+ \fi\fi
146
+ \fi\fi\fi}
147
+ \DeclareRobustCommand{\LaTeX}{%
148
+ \def\@tempa{cmss}%
149
+ \ifx\f@family\@tempa\sfLaTeX
150
+ \else
151
+ \def\@tempa{phv}%
152
+ \ifx\f@family\@tempa\sfLaTeX
153
+ \else
154
+ \def\@tempa{qhv}%
155
+ \ifx\f@family\@tempa\sfLaTeX
156
+ \else
157
+ \def\@tempa{ptm}%
158
+ \ifx\f@family\@tempa\ptmLaTeX
159
+ \else
160
+ \def\@tempa{qtm}%
161
+ \ifx\f@family\@tempa\ptmLaTeX
162
+ \else
163
+ \def\@tempa{txr}%
164
+ \ifx\f@family\@tempa\ptmLaTeX
165
+ \else
166
+ \def\@tempa{ntxtlf}%
167
+ \ifx\f@family\@tempa\ptmLaTeX
168
+ \else
169
+ \def\@tempa{pnc}%
170
+ \ifx\f@family\@tempa\pncLaTeX
171
+ \else
172
+ \def\@tempa{ppl}%
173
+ \ifx\f@family\@tempa\pplLaTeX
174
+ \else
175
+ \def\@tempa{qpl}%
176
+ \ifx\f@family\@tempa\pplLaTeX
177
+ \else
178
+ \def\@tempa{pplx}%
179
+ \ifx\f@family\@tempa\pplLaTeX
180
+ \else
181
+ \def\@tempa{pplj}%
182
+ \ifx\f@family\@tempa\pplLaTeX
183
+ \else
184
+ \def\@tempa{pxr}%
185
+ \ifx\f@family\@tempa\pplLaTeX
186
+ \else
187
+ \def\@tempa{zpltlf}%
188
+ \ifx\f@family\@tempa\pplLaTeX
189
+ \else
190
+ \def\@tempa{ugm}%
191
+ \ifx\f@family\@tempa\ugmLaTeX
192
+ \else\cmrLaTeX
193
+ \fi
194
+ \fi\fi
195
+ \fi\fi\fi\fi
196
+ \fi
197
+ \fi\fi
198
+ \fi\fi
199
+ \fi\fi\fi}
200
+ \DeclareRobustCommand{\LaTeXe}{$\mbox{%
201
+ \if b\expandafter\@car\f@series\@nil\boldmath\fi
202
+ \LaTeX\kern.15em2\raisebox{-.37ex}{$\textstyle\varepsilon$}}$}
203
+ \def\pTeX{p\kern-.05em\TeX}
204
+ \def\pLaTeX{p\LaTeX}
205
+ \def\pLaTeXe{p\LaTeXe}
206
+ \def\upTeX{u\pTeX}
207
+ \def\upLaTeX{u\pLaTeX}
208
+ \def\upLaTeXe{u\pLaTeXe}
209
+ \def\AmSTeX{\protect\AmS-\protect\TeX{}}
210
+ \DeclareRobustCommand{\BibTeX}{B\kern-.05em\jslg@small{I\kern-.025em B}%
211
+ \ifx\f@family\cmr\kern-.08em\else\kern-.15em\fi\TeX}
212
+ \DeclareRobustCommand{\SliTeX}{%
213
+ S\kern-.06emL\kern-.18em\jslg@uppersmall{I}\kern -.03em\TeX}
214
+ \providecommand*\pdfstringdefPreHook{}
215
+ \g@addto@macro\pdfstringdefPreHook{%
216
+ \def\pTeX{p\TeX}%
217
+ \def\AmS{AMS}%
218
+ \def\SliTeX{Sli\TeX}%
219
+ \def\BibTeX{Bib\TeX}%
220
+ }
221
+ \endinput
222
+ %%
223
+ %% End of file `jslogo.sty'.