mathjax-yard 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/.#Rakefile +1 -0
  3. data/.yardopts +1 -3
  4. data/README.md +70 -37
  5. data/Rakefile +8 -9
  6. data/doc/MathJaxYard.html +47 -47
  7. data/doc/MathJaxYard/Command.html +289 -182
  8. data/doc/Mathjax-yard_design_20160624.png +0 -0
  9. data/doc/_index.html +38 -33
  10. data/doc/class_list.html +24 -31
  11. data/doc/css/full_list.css +32 -31
  12. data/doc/css/style.css +220 -78
  13. data/doc/file.CODE_OF_CONDUCT.html +132 -0
  14. data/doc/file.Home.html +119 -66
  15. data/doc/file.README.html +119 -66
  16. data/doc/file.README_ja.html +119 -66
  17. data/doc/file.Why_mathjax-yard.html +29 -30
  18. data/doc/file.Why_mathjax-yard.mjx.html +29 -30
  19. data/doc/file.atom.html +30 -31
  20. data/doc/file.atom.mjx.html +30 -31
  21. data/doc/file.left_issue.html +111 -0
  22. data/doc/file.potential.html +29 -30
  23. data/doc/file.potential.mjx.html +29 -30
  24. data/doc/file_list.html +60 -38
  25. data/doc/frames.html +7 -16
  26. data/doc/index.html +119 -66
  27. data/doc/js/app.js +100 -76
  28. data/doc/js/full_list.js +170 -135
  29. data/doc/method_list.html +96 -68
  30. data/doc/top-level-namespace.html +48 -50
  31. data/hikis/Mathjax-yard_design_20160624.pdf +0 -0
  32. data/hikis/Mathjax-yard_design_20160624.png +0 -0
  33. data/{docs → hikis}/README_ja.hiki +68 -37
  34. data/{docs → hikis}/Why_mathjax-yard.hiki +0 -0
  35. data/{docs → hikis}/atom.hiki +1 -1
  36. data/hikis/left_issue.hiki +19 -0
  37. data/{docs → hikis}/potential.hiki +0 -0
  38. data/lib/mathjax-yard.rb +26 -0
  39. data/lib/mathjax-yard/init.rb +1 -1
  40. data/lib/mathjax-yard/version.rb +1 -1
  41. data/mathjax-yard.gemspec +2 -1
  42. data/mathjax.yml +4 -3
  43. metadata +28 -9
  44. data/mathjax.yml.bk +0 -28
@@ -1,6 +1,5 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
1
+ <!DOCTYPE html>
2
+ <html>
4
3
  <head>
5
4
  <script type="text/x-mathjax-config">
6
5
  MathJax.Hub.Config({
@@ -14,11 +13,12 @@
14
13
  src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML">
15
14
  </script>
16
15
  <meta http-equiv="X-UA-Compatible" CONTENT="IE=EmulateIE7" />
17
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
16
+ <meta charset="UTF-8">
17
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
18
18
  <title>
19
19
  File: atom
20
20
 
21
- &mdash; Documentation by YARD 0.8.7.6
21
+ &mdash; Documentation by YARD 0.9.5
22
22
 
23
23
  </title>
24
24
 
@@ -27,9 +27,8 @@
27
27
  <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
28
28
 
29
29
  <script type="text/javascript" charset="utf-8">
30
- hasFrames = window.top.frames.main ? true : false;
30
+ pathId = "atom";
31
31
  relpath = '';
32
- framesUrl = "frames.html#!file.atom.html";
33
32
  </script>
34
33
 
35
34
 
@@ -40,40 +39,39 @@
40
39
 
41
40
  </head>
42
41
  <body>
43
- <div id="header">
44
- <div id="menu">
42
+ <div class="nav_wrap">
43
+ <iframe id="nav" src="file_list.html"></iframe>
44
+ <div id="resizer"></div>
45
+ </div>
46
+
47
+ <div id="main" tabindex="-1">
48
+ <div id="header">
49
+ <div id="menu">
45
50
 
46
51
  <a href="_index.html">Index</a> &raquo;
47
52
  <span class="title">File: atom</span>
48
53
 
49
-
50
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
51
54
  </div>
52
55
 
53
- <div id="search">
56
+ <div id="search">
54
57
 
55
58
  <a class="full_list_link" id="class_list_link"
56
59
  href="class_list.html">
57
- Class List
58
- </a>
59
-
60
- <a class="full_list_link" id="method_list_link"
61
- href="method_list.html">
62
- Method List
63
- </a>
64
-
65
- <a class="full_list_link" id="file_list_link"
66
- href="file_list.html">
67
- File List
60
+
61
+ <svg width="24" height="24">
62
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
63
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
64
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
65
+ </svg>
68
66
  </a>
69
67
 
70
68
  </div>
71
- <div class="clear"></div>
72
- </div>
69
+ <div class="clear"></div>
70
+ </div>
73
71
 
74
- <iframe id="search_frame"></iframe>
72
+ <iframe id="search_frame" src="file_list.html"></iframe>
75
73
 
76
- <div id="content"><div id='filecontents'><ol>
74
+ <div id="content"><div id='filecontents'><ol>
77
75
  <li>概要</li>
78
76
  <li><p>EAM
79
77
  EAM(Embedded atom method)は1980年代に盛んに使われるようになった経験的原子間ポテンシャルである.</p>
@@ -97,7 +95,7 @@ $$
97
95
  これによって原子空孔を初め多くの金属物性を
98
96
  うまく表現することが可能となった.詳しくは西谷・赤本参照.</li>
99
97
  <li>具体例
100
- EAM potentialにおいて単原子空孔の生成エネルギEvは</li>
98
+ EAM potentialにおいて単原子空孔の生成エネルギ$E_v$は</li>
101
99
  </ol></li>
102
100
  </ol>
103
101
 
@@ -108,11 +106,12 @@ $$</p>
108
106
  <p>の関係がある.したがって,</p>
109
107
  </div></div>
110
108
 
111
- <div id="footer">
112
- Generated on Fri Jun 24 11:52:33 2016 by
109
+ <div id="footer">
110
+ Generated on Wed Aug 17 18:27:24 2016 by
113
111
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
114
- 0.8.7.6 (ruby-2.2.2).
112
+ 0.9.5 (ruby-2.2.2).
115
113
  </div>
116
114
 
115
+ </div>
117
116
  </body>
118
117
  </html>
@@ -1,6 +1,5 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
1
+ <!DOCTYPE html>
2
+ <html>
4
3
  <head>
5
4
  <script type="text/x-mathjax-config">
6
5
  MathJax.Hub.Config({
@@ -14,11 +13,12 @@
14
13
  src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML">
15
14
  </script>
16
15
  <meta http-equiv="X-UA-Compatible" CONTENT="IE=EmulateIE7" />
17
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
16
+ <meta charset="UTF-8">
17
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
18
18
  <title>
19
19
  File: atom.mjx
20
20
 
21
- &mdash; Documentation by YARD 0.8.7.6
21
+ &mdash; Documentation by YARD 0.9.5
22
22
 
23
23
  </title>
24
24
 
@@ -27,9 +27,8 @@
27
27
  <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
28
28
 
29
29
  <script type="text/javascript" charset="utf-8">
30
- hasFrames = window.top.frames.main ? true : false;
30
+ pathId = "atom.mjx";
31
31
  relpath = '';
32
- framesUrl = "frames.html#!file.atom.mjx.html";
33
32
  </script>
34
33
 
35
34
 
@@ -40,40 +39,39 @@
40
39
 
41
40
  </head>
42
41
  <body>
43
- <div id="header">
44
- <div id="menu">
42
+ <div class="nav_wrap">
43
+ <iframe id="nav" src="file_list.html"></iframe>
44
+ <div id="resizer"></div>
45
+ </div>
46
+
47
+ <div id="main" tabindex="-1">
48
+ <div id="header">
49
+ <div id="menu">
45
50
 
46
51
  <a href="_index.html">Index</a> &raquo;
47
52
  <span class="title">File: atom.mjx</span>
48
53
 
49
-
50
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
51
54
  </div>
52
55
 
53
- <div id="search">
56
+ <div id="search">
54
57
 
55
58
  <a class="full_list_link" id="class_list_link"
56
59
  href="class_list.html">
57
- Class List
58
- </a>
59
-
60
- <a class="full_list_link" id="method_list_link"
61
- href="method_list.html">
62
- Method List
63
- </a>
64
-
65
- <a class="full_list_link" id="file_list_link"
66
- href="file_list.html">
67
- File List
60
+
61
+ <svg width="24" height="24">
62
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
63
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
64
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
65
+ </svg>
68
66
  </a>
69
67
 
70
68
  </div>
71
- <div class="clear"></div>
72
- </div>
69
+ <div class="clear"></div>
70
+ </div>
73
71
 
74
- <iframe id="search_frame"></iframe>
72
+ <iframe id="search_frame" src="file_list.html"></iframe>
75
73
 
76
- <div id="content"><div id='filecontents'><ol>
74
+ <div id="content"><div id='filecontents'><ol>
77
75
  <li>概要</li>
78
76
  <li><p>EAM
79
77
  EAM(Embedded atom method)は1980年代に盛んに使われるようになった経験的原子間ポテンシャルである.</p>
@@ -93,7 +91,7 @@ $$によって求められる.$\rho$は強結合(tight binding)の2次モー
93
91
  これによって原子空孔を初め多くの金属物性を
94
92
  うまく表現することが可能となった.詳しくは西谷・赤本参照.</li>
95
93
  <li>具体例
96
- EAM potentialにおいて単原子空孔の生成エネルギEvは</li>
94
+ EAM potentialにおいて単原子空孔の生成エネルギ$E_v$は</li>
97
95
  </ol></li>
98
96
  </ol>
99
97
 
@@ -102,11 +100,12 @@ $$
102
100
  の関係がある.したがって,</p>
103
101
  </div></div>
104
102
 
105
- <div id="footer">
106
- Generated on Fri Jun 24 11:52:33 2016 by
103
+ <div id="footer">
104
+ Generated on Wed Aug 17 18:27:24 2016 by
107
105
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
108
- 0.8.7.6 (ruby-2.2.2).
106
+ 0.9.5 (ruby-2.2.2).
109
107
  </div>
110
108
 
109
+ </div>
111
110
  </body>
112
111
  </html>
@@ -0,0 +1,111 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <script type="text/x-mathjax-config">
5
+ MathJax.Hub.Config({
6
+ tex2jax:{
7
+ inlineMath: [ ['$','$'], ["\(","\)"] ],
8
+ displayMath: [ ['$$','$$'], ["\[","\]"] ]
9
+ }
10
+ });
11
+ </script>
12
+ <script type="text/javascript"
13
+ src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML">
14
+ </script>
15
+ <meta http-equiv="X-UA-Compatible" CONTENT="IE=EmulateIE7" />
16
+ <meta charset="UTF-8">
17
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
18
+ <title>
19
+ File: left_issue
20
+
21
+ &mdash; Documentation by YARD 0.9.5
22
+
23
+ </title>
24
+
25
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
26
+
27
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
28
+
29
+ <script type="text/javascript" charset="utf-8">
30
+ pathId = "left_issue";
31
+ relpath = '';
32
+ </script>
33
+
34
+
35
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
36
+
37
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
38
+
39
+
40
+ </head>
41
+ <body>
42
+ <div class="nav_wrap">
43
+ <iframe id="nav" src="file_list.html"></iframe>
44
+ <div id="resizer"></div>
45
+ </div>
46
+
47
+ <div id="main" tabindex="-1">
48
+ <div id="header">
49
+ <div id="menu">
50
+
51
+ <a href="_index.html">Index</a> &raquo;
52
+ <span class="title">File: left_issue</span>
53
+
54
+ </div>
55
+
56
+ <div id="search">
57
+
58
+ <a class="full_list_link" id="class_list_link"
59
+ href="class_list.html">
60
+
61
+ <svg width="24" height="24">
62
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
63
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
64
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
65
+ </svg>
66
+ </a>
67
+
68
+ </div>
69
+ <div class="clear"></div>
70
+ </div>
71
+
72
+ <iframe id="search_frame" src="file_list.html"></iframe>
73
+
74
+ <div id="content"><div id='filecontents'><h1>やり残したことの検討結果</h1>
75
+
76
+ <h2>-t mathjaxでの選択</h2>
77
+
78
+ <p>yard生成時にいまはすべての書類にmathjaxをtemplateにしている.
79
+ これでは,本来のhtml記法での\$\$が別の意味となる.
80
+ 特に,methodなどのcode解説において斜体表示となり,残念.</p>
81
+
82
+ <h3>yardでの対応</h3>
83
+
84
+ <ul>
85
+ <li>*.mjx.mdを別にyardがけする</li>
86
+ <li>.yardoptsの記述を変える.</li>
87
+ <li>Rakeのなかでtask.files, task.optionsで対応させようとしたが,うまく動作しない.</li>
88
+ </ul>
89
+
90
+ <p>実装してみたが,成功してない.</p>
91
+
92
+ <h3>mathjaxでの対応</h3>
93
+
94
+ <p>実際はRakefileでの対応となるが,</p>
95
+
96
+ <ul>
97
+ <li>mathjaxでひっかかったのを別フォルダーにして,yardを変える.</li>
98
+ </ul>
99
+
100
+ <p>まだ,トライしてない.いずれにしろ,task.optionsの挙動制御は必要</p>
101
+ </div></div>
102
+
103
+ <div id="footer">
104
+ Generated on Wed Aug 17 18:27:24 2016 by
105
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
106
+ 0.9.5 (ruby-2.2.2).
107
+ </div>
108
+
109
+ </div>
110
+ </body>
111
+ </html>
@@ -1,6 +1,5 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
1
+ <!DOCTYPE html>
2
+ <html>
4
3
  <head>
5
4
  <script type="text/x-mathjax-config">
6
5
  MathJax.Hub.Config({
@@ -14,11 +13,12 @@
14
13
  src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML">
15
14
  </script>
16
15
  <meta http-equiv="X-UA-Compatible" CONTENT="IE=EmulateIE7" />
17
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
16
+ <meta charset="UTF-8">
17
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
18
18
  <title>
19
19
  File: potential
20
20
 
21
- &mdash; Documentation by YARD 0.8.7.6
21
+ &mdash; Documentation by YARD 0.9.5
22
22
 
23
23
  </title>
24
24
 
@@ -27,9 +27,8 @@
27
27
  <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
28
28
 
29
29
  <script type="text/javascript" charset="utf-8">
30
- hasFrames = window.top.frames.main ? true : false;
30
+ pathId = "potential";
31
31
  relpath = '';
32
- framesUrl = "frames.html#!file.potential.html";
33
32
  </script>
34
33
 
35
34
 
@@ -40,40 +39,39 @@
40
39
 
41
40
  </head>
42
41
  <body>
43
- <div id="header">
44
- <div id="menu">
42
+ <div class="nav_wrap">
43
+ <iframe id="nav" src="file_list.html"></iframe>
44
+ <div id="resizer"></div>
45
+ </div>
46
+
47
+ <div id="main" tabindex="-1">
48
+ <div id="header">
49
+ <div id="menu">
45
50
 
46
51
  <a href="_index.html">Index</a> &raquo;
47
52
  <span class="title">File: potential</span>
48
53
 
49
-
50
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
51
54
  </div>
52
55
 
53
- <div id="search">
56
+ <div id="search">
54
57
 
55
58
  <a class="full_list_link" id="class_list_link"
56
59
  href="class_list.html">
57
- Class List
58
- </a>
59
-
60
- <a class="full_list_link" id="method_list_link"
61
- href="method_list.html">
62
- Method List
63
- </a>
64
-
65
- <a class="full_list_link" id="file_list_link"
66
- href="file_list.html">
67
- File List
60
+
61
+ <svg width="24" height="24">
62
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
63
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
64
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
65
+ </svg>
68
66
  </a>
69
67
 
70
68
  </div>
71
- <div class="clear"></div>
72
- </div>
69
+ <div class="clear"></div>
70
+ </div>
73
71
 
74
- <iframe id="search_frame"></iframe>
72
+ <iframe id="search_frame" src="file_list.html"></iframe>
75
73
 
76
- <div id="content"><div id='filecontents'><ol>
74
+ <div id="content"><div id='filecontents'><ol>
77
75
  <li>lj_0</li>
78
76
  </ol>
79
77
 
@@ -87,11 +85,12 @@ E=\frac{ d_0 \left( r_0/rr^nm- r_0/rr^m n \right) }{ -n + m }
87
85
  $$</p>
88
86
  </div></div>
89
87
 
90
- <div id="footer">
91
- Generated on Fri Jun 24 11:52:33 2016 by
88
+ <div id="footer">
89
+ Generated on Wed Aug 17 18:27:24 2016 by
92
90
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
93
- 0.8.7.6 (ruby-2.2.2).
91
+ 0.9.5 (ruby-2.2.2).
94
92
  </div>
95
93
 
94
+ </div>
96
95
  </body>
97
96
  </html>