ulmul 0.5.3 → 0.6.0
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.
- checksums.yaml +5 -5
- data/ChangeLog +4 -0
- data/README-en +12 -11
- data/README-ja +12 -10
- data/Rakefile +10 -10
- data/index.en.html +15 -15
- data/index.ja.html +14 -13
- data/lib/ulmul.rb +13 -15
- data/ulmul-slidy.css +366 -59
- data/ulmul.gemspec +12 -14
- metadata +23 -26
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: ee7c57be35732f321d6726a210d52667214ce64590290e6ea68b9e2dce8c92a3
|
|
4
|
+
data.tar.gz: 8e6898709f4212ea232d7a2b28fb19f82eeb39899e6d6b74173997f1507b3d75
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 39dbcd096b889d6c71135a55e7ae27422b9d02ba9e0a7a1546453f15128fd160dd5bd1cd8632898b4a08dd3de1896dc6dae7da0cd0de278418c370a518824577
|
|
7
|
+
data.tar.gz: f29394fd5f9105b183882969467825626a099dc3eb1975bbd847ee13e4a217652ded5324d91216beecacc81a34e7de59a60c981994e8ae4040da6ad8705fc33a
|
data/ChangeLog
CHANGED
data/README-en
CHANGED
|
@@ -5,9 +5,11 @@ ULMUL text with TeX style equations into HTML5 documents with
|
|
|
5
5
|
MathML or MathJax, respectively. ULMUL is written in Ruby.
|
|
6
6
|
You can also use ulmul.rb as a library.
|
|
7
7
|
|
|
8
|
-
Homepage of ULMUL: http://
|
|
8
|
+
Homepage of ULMUL: http://t-nissie.users.sourceforge.net/ULMUL/
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
Ruby Gem of ULMUL: http://rubygems.org/gems/ulmul
|
|
11
|
+
|
|
12
|
+
Repository of ULMUL: https://github.com/t-nissie/ULMUL
|
|
11
13
|
|
|
12
14
|
== Features
|
|
13
15
|
* TeX style equations between two dollar marks ($) and between "\Eq:foo" and "/Eq:foo"
|
|
@@ -137,7 +139,7 @@ and terminate it with "/Code:baz", where "baz" is a tag for the code.
|
|
|
137
139
|
You can write a caption between them.
|
|
138
140
|
You can refer the code with "Code:baz" as Code:hello.
|
|
139
141
|
Code will be highlighted with google-code-prettify when
|
|
140
|
-
-j https://google
|
|
142
|
+
-j https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js is given.
|
|
141
143
|
|
|
142
144
|
Input:
|
|
143
145
|
\Code:hello hello.c
|
|
@@ -177,8 +179,8 @@ If you do not need the Table of Contents, specify 1.
|
|
|
177
179
|
* Its source is http://loto.sourceforge.net/feram/README
|
|
178
180
|
* http://loto.sourceforge.net/feram/doc/film.xhtml
|
|
179
181
|
* It is a Slidy presentation made from http://loto.sourceforge.net/feram/doc/film.txt
|
|
180
|
-
* http://
|
|
181
|
-
* Its source is http://
|
|
182
|
+
* http://t-nissie.users.sourceforge.net/ULMUL/index.en.html
|
|
183
|
+
* Its source is http://t-nissie.users.sourceforge.net/ULMUL/README-en (this document)
|
|
182
184
|
|
|
183
185
|
=== ulmul2xhtml is obsolete
|
|
184
186
|
ulmul2xhtml will be removed from next version 0.6.x.
|
|
@@ -186,7 +188,7 @@ ulmul2xhtml will be removed from next version 0.6.x.
|
|
|
186
188
|
== Usage of ulmul2mathjax
|
|
187
189
|
It uses MathJax http://www.mathjax.org/ to show equations.
|
|
188
190
|
$ ulmul2mathjax --help
|
|
189
|
-
$ ulmul2mathjax -s ulmul2html5.css -j https://google
|
|
191
|
+
$ ulmul2mathjax -s ulmul2html5.css -j https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js \
|
|
190
192
|
-j 'http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=default' README-en > README-en-mathjax.html
|
|
191
193
|
|
|
192
194
|
== Usage of ulmul2latex
|
|
@@ -204,13 +206,12 @@ ulmul2latex is still under development. Sorry.
|
|
|
204
206
|
* Citation.
|
|
205
207
|
For more, see TODO file.
|
|
206
208
|
|
|
207
|
-
==
|
|
208
|
-
You can
|
|
209
|
-
|
|
210
|
-
$ svn co svn://rubyforge.org/var/svn/ulmul/ulmul/trunk ulmul
|
|
209
|
+
== Repository in GitHub
|
|
210
|
+
You can clone the source tree of ULMUL from GitHub with git(1) command:
|
|
211
|
+
$ git clone git@github.com:t-nissie/ULMUL.git ulmul
|
|
211
212
|
|
|
212
213
|
== Copying
|
|
213
|
-
Copyright © 2008
|
|
214
|
+
Copyright © 2008,2009,2010,2011,2012,2013,2014,2015,2017,2022 by Takeshi Nishimatsu
|
|
214
215
|
|
|
215
216
|
ulmul.rb is distributed in the hope that
|
|
216
217
|
it will be useful, but WITHOUT ANY WARRANTY.
|
data/README-ja
CHANGED
|
@@ -5,9 +5,11 @@ ULMULは独自の軽量マークアップ言語 (Ultra Lightweight MarkUp Langua
|
|
|
5
5
|
ulmul2latexでLaTeXにも変換できます。
|
|
6
6
|
Rubyで書かれています。ulmul.rbをライブラリとして利用することも可能です。
|
|
7
7
|
|
|
8
|
-
ホームページ: http://
|
|
8
|
+
ホームページ: http://t-nissie.users.sourceforge.net/ULMUL/
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
Ruby Gem: http://rubygems.org/gems/ulmul
|
|
11
|
+
|
|
12
|
+
レポジトリ: https://github.com/t-nissie/ULMUL
|
|
11
13
|
|
|
12
14
|
== 特徴
|
|
13
15
|
* 文章中の2つのドル記号($)で挟まれた部分と"\Eq:foo"と"/Eq:foo"とで挟まれた行が
|
|
@@ -168,8 +170,8 @@ JavaScriptのファイル名を指定します。
|
|
|
168
170
|
* ソースは http://loto.sourceforge.net/feram/README
|
|
169
171
|
* http://loto.sourceforge.net/feram/doc/film.xhtml
|
|
170
172
|
* ソースは http://loto.sourceforge.net/feram/doc/film.txt
|
|
171
|
-
* http://
|
|
172
|
-
* ソースは http://
|
|
173
|
+
* http://t-nissie.users.sourceforge.net/ULMUL/index.ja.html
|
|
174
|
+
* ソースは http://t-nissie.users.sourceforge.net/ULMUL/README-ja (この文章)
|
|
173
175
|
|
|
174
176
|
=== ulmul2xhtmlは消します
|
|
175
177
|
次のバージョン (0.6.x) からulmul2xhtmlは消します。
|
|
@@ -177,7 +179,7 @@ JavaScriptのファイル名を指定します。
|
|
|
177
179
|
== ulmul2mathjaxの使用方法
|
|
178
180
|
数式を MathJax http://www.mathjax.org/ で出力します。
|
|
179
181
|
$ ulmul2mathjax --help
|
|
180
|
-
$ ulmul2mathjax -s ulmul2html5.css -j https://google
|
|
182
|
+
$ ulmul2mathjax -s ulmul2html5.css -j https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js \
|
|
181
183
|
-j 'http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=default' README-en > README-en-mathjax.html
|
|
182
184
|
|
|
183
185
|
== ulmul2latexの使用方法
|
|
@@ -189,13 +191,13 @@ JavaScriptのファイル名を指定します。
|
|
|
189
191
|
ulmul2latexはまだ発展途上です。
|
|
190
192
|
|
|
191
193
|
== 最新のソース・ツリーの入手方法
|
|
192
|
-
ソース・ツリーは
|
|
193
|
-
|
|
194
|
-
$
|
|
195
|
-
と匿名で
|
|
194
|
+
ソース・ツリーはGitHubに置いてあります。
|
|
195
|
+
git(1)コマンドを使って
|
|
196
|
+
$ git clone git@github.com:t-nissie/ULMUL.git ulmul
|
|
197
|
+
と匿名でcloneできます。
|
|
196
198
|
|
|
197
199
|
== 著作権表示
|
|
198
|
-
Copyright © 2008
|
|
200
|
+
Copyright © 2008,2009,2010,2011,2012,2013,2014,2015,2017,2022 by Takeshi Nishimatsu
|
|
199
201
|
|
|
200
202
|
ulmul.rb is distributed in the hope that
|
|
201
203
|
it will be useful, but WITHOUT ANY WARRANTY.
|
data/Rakefile
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#! /usr/bin/env rake
|
|
2
2
|
# -*-Ruby-*-
|
|
3
|
-
# Time-stamp: <
|
|
3
|
+
# Time-stamp: <2017-08-31 06:08:40 takeshi>
|
|
4
4
|
# Author: Takeshi Nishimatsu
|
|
5
5
|
##
|
|
6
6
|
$LOAD_PATH.unshift('lib')
|
|
@@ -47,16 +47,16 @@ end
|
|
|
47
47
|
# end
|
|
48
48
|
# end
|
|
49
49
|
|
|
50
|
-
desc "Publish to
|
|
51
|
-
task :
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
50
|
+
desc "Publish to SourceForge"
|
|
51
|
+
task :sourceforge => ["index.en.html",
|
|
52
|
+
"index.ja.html",
|
|
53
|
+
"index.var",
|
|
54
|
+
"ulmul2xhtml.css", "favicon.ico", "ruby.jpg", "hello.c"] do |t|
|
|
55
55
|
t.prerequisites.each do |f|
|
|
56
|
-
sh "scp #{f}
|
|
56
|
+
sh "scp #{f} web.sourceforge.net:/home/users/t/t-/t-nissie/userweb/htdocs/ULMUL/"
|
|
57
57
|
end
|
|
58
|
-
sh "scp index.en.html
|
|
59
|
-
sh "scp dot.htaccess
|
|
58
|
+
sh "scp index.en.html web.sourceforge.net:/home/users/t/t-/t-nissie/userweb/htdocs/ULMUL/index.html"
|
|
59
|
+
sh "scp dot.htaccess web.sourceforge.net:/home/users/t/t-/t-nissie/userweb/htdocs/ULMUL/.htaccess"
|
|
60
60
|
end
|
|
61
61
|
|
|
62
62
|
desc "Create presentation.en.html from README-en"
|
|
@@ -68,7 +68,7 @@ end
|
|
|
68
68
|
["en", "ja"].each{|lang|
|
|
69
69
|
desc "Create index.#{lang}.html"
|
|
70
70
|
file "index.#{lang}.html" => ["bin/ulmul2html5", "README-#{lang}", "ulmul2html5.css", "lib/ulmul.rb"] do |t|
|
|
71
|
-
sh "ruby -I lib #{t.prerequisites[0]} -n 'Takeshi Nishimatsu' -s #{t.prerequisites[2]} -j https://google
|
|
71
|
+
sh "ruby -I lib #{t.prerequisites[0]} -n 'Takeshi Nishimatsu' -s #{t.prerequisites[2]} -j https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js -l #{lang} #{t.prerequisites[1]} | \
|
|
72
72
|
sed -e 's%</h1>%</h1><div class=\"navi\">[<a href=\"index.en.html\">English</a>/<a href=\"index.ja.html\">Japanese</a>]</div>%' > #{t.name}"
|
|
73
73
|
end
|
|
74
74
|
}
|
data/index.en.html
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
});
|
|
13
13
|
</script>
|
|
14
14
|
<link rel="stylesheet" href="ulmul2html5.css" type="text/css" />
|
|
15
|
-
<script src="https://google
|
|
15
|
+
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" type="text/javascript"></script>
|
|
16
16
|
<link rel="icon" href="favicon.ico" />
|
|
17
17
|
</head>
|
|
18
18
|
<body onload="prettyPrint()">
|
|
@@ -26,10 +26,13 @@ MathML or MathJax, respectively. ULMUL is written in Ruby.
|
|
|
26
26
|
You can also use ulmul.rb as a library.
|
|
27
27
|
</p>
|
|
28
28
|
<p>
|
|
29
|
-
Homepage of ULMUL: <a href="http://
|
|
29
|
+
Homepage of ULMUL: <a href="http://t-nissie.users.sourceforge.net/ULMUL/">http://t-nissie.users.sourceforge.net/ULMUL/</a>
|
|
30
30
|
</p>
|
|
31
31
|
<p>
|
|
32
|
-
|
|
32
|
+
Ruby Gem of ULMUL: <a href="http://rubygems.org/gems/ulmul">http://rubygems.org/gems/ulmul</a>
|
|
33
|
+
</p>
|
|
34
|
+
<p>
|
|
35
|
+
Repository of ULMUL: <a href="https://github.com/t-nissie/ULMUL">https://github.com/t-nissie/ULMUL</a>
|
|
33
36
|
</p>
|
|
34
37
|
<br />
|
|
35
38
|
<div class="table of contents">
|
|
@@ -56,7 +59,7 @@ Table of Contents:
|
|
|
56
59
|
<li><a href="#LABEL-29">Usage of ulmul2mathjax</a></li>
|
|
57
60
|
<li><a href="#LABEL-30">Usage of ulmul2latex</a></li>
|
|
58
61
|
<li><a href="#LABEL-31">TODO</a></li>
|
|
59
|
-
<li><a href="#LABEL-32">
|
|
62
|
+
<li><a href="#LABEL-32">Repository in GitHub</a></li>
|
|
60
63
|
<li><a href="#LABEL-33">Copying</a></li>
|
|
61
64
|
<li><a href="#LABEL-34">Author of ULMUL</a></li>
|
|
62
65
|
</ul>
|
|
@@ -270,7 +273,7 @@ and terminate it with "/Code:baz", where "baz" is a tag for the code.
|
|
|
270
273
|
You can write a caption between them.
|
|
271
274
|
You can refer the code with "Code:baz" as <a href="#Code:hello">Code 1</a>.
|
|
272
275
|
Code will be highlighted with google-code-prettify when
|
|
273
|
-
-j <a href="https://google
|
|
276
|
+
-j <a href="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js">https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js</a> is given.
|
|
274
277
|
</p>
|
|
275
278
|
<p>
|
|
276
279
|
Input:
|
|
@@ -345,9 +348,9 @@ If you do not need the Table of Contents, specify 1.
|
|
|
345
348
|
<ul>
|
|
346
349
|
<li>It is a Slidy presentation made from <a href="http://loto.sourceforge.net/feram/doc/film.txt">http://loto.sourceforge.net/feram/doc/film.txt</a></li>
|
|
347
350
|
</ul></li>
|
|
348
|
-
<li><a href="http://
|
|
351
|
+
<li><a href="http://t-nissie.users.sourceforge.net/ULMUL/index.en.html">http://t-nissie.users.sourceforge.net/ULMUL/index.en.html</a>
|
|
349
352
|
<ul>
|
|
350
|
-
<li>Its source is <a href="http://
|
|
353
|
+
<li>Its source is <a href="http://t-nissie.users.sourceforge.net/ULMUL/README-en">http://t-nissie.users.sourceforge.net/ULMUL/README-en</a> (this document)</li>
|
|
351
354
|
</ul></li>
|
|
352
355
|
</ul>
|
|
353
356
|
<h3 id="LABEL-28">ulmul2xhtml is obsolete</h3>
|
|
@@ -364,7 +367,7 @@ It uses MathJax <a href="http://www.mathjax.org/">http://www.mathjax.org/</a> to
|
|
|
364
367
|
</p>
|
|
365
368
|
<pre>
|
|
366
369
|
$ ulmul2mathjax --help
|
|
367
|
-
$ ulmul2mathjax -s ulmul2html5.css -j https://google
|
|
370
|
+
$ ulmul2mathjax -s ulmul2html5.css -j https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js \
|
|
368
371
|
-j 'http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=default' README-en > README-en-mathjax.html
|
|
369
372
|
</pre>
|
|
370
373
|
</div>
|
|
@@ -401,13 +404,12 @@ For more, see TODO file.
|
|
|
401
404
|
|
|
402
405
|
|
|
403
406
|
<div class="slide">
|
|
404
|
-
<h2 id="LABEL-32">
|
|
407
|
+
<h2 id="LABEL-32">Repository in GitHub</h2>
|
|
405
408
|
<p>
|
|
406
|
-
You can
|
|
407
|
-
with svn(1) command:
|
|
409
|
+
You can clone the source tree of ULMUL from GitHub with git(1) command:
|
|
408
410
|
</p>
|
|
409
411
|
<pre>
|
|
410
|
-
$
|
|
412
|
+
$ git clone git@github.com:t-nissie/ULMUL.git ulmul
|
|
411
413
|
</pre>
|
|
412
414
|
</div>
|
|
413
415
|
|
|
@@ -415,7 +417,7 @@ $ svn co svn://rubyforge.org/var/svn/ulmul/ulmul/trunk ulmul
|
|
|
415
417
|
<div class="slide">
|
|
416
418
|
<h2 id="LABEL-33">Copying</h2>
|
|
417
419
|
<p>
|
|
418
|
-
Copyright © 2008
|
|
420
|
+
Copyright © 2008,2009,2010,2011,2012,2013,2014,2015,2017,2022 by Takeshi Nishimatsu
|
|
419
421
|
</p>
|
|
420
422
|
<p>
|
|
421
423
|
ulmul.rb is distributed in the hope that
|
|
@@ -442,7 +444,5 @@ and <a href="http://www.w3.org/Consortium/Legal/copyright-software">http://www.w
|
|
|
442
444
|
Takeshi Nishimatsu (t_nissie{at}yahoo.co.jp) <a href="http://t-nissie.users.sourceforge.net/">http://t-nissie.users.sourceforge.net/</a>
|
|
443
445
|
</p>
|
|
444
446
|
</div>
|
|
445
|
-
<hr />
|
|
446
|
-
<address>Copyright © 2015 Takeshi Nishimatsu</address>
|
|
447
447
|
</body>
|
|
448
448
|
</html>
|
data/index.ja.html
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
});
|
|
13
13
|
</script>
|
|
14
14
|
<link rel="stylesheet" href="ulmul2html5.css" type="text/css" />
|
|
15
|
-
<script src="https://google
|
|
15
|
+
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" type="text/javascript"></script>
|
|
16
16
|
<link rel="icon" href="favicon.ico" />
|
|
17
17
|
</head>
|
|
18
18
|
<body onload="prettyPrint()">
|
|
@@ -26,10 +26,13 @@ ulmul2latexでLaTeXにも変換できます。
|
|
|
26
26
|
Rubyで書かれています。ulmul.rbをライブラリとして利用することも可能です。
|
|
27
27
|
</p>
|
|
28
28
|
<p>
|
|
29
|
-
ホームページ: <a href="http://
|
|
29
|
+
ホームページ: <a href="http://t-nissie.users.sourceforge.net/ULMUL/">http://t-nissie.users.sourceforge.net/ULMUL/</a>
|
|
30
30
|
</p>
|
|
31
31
|
<p>
|
|
32
|
-
|
|
32
|
+
Ruby Gem: <a href="http://rubygems.org/gems/ulmul">http://rubygems.org/gems/ulmul</a>
|
|
33
|
+
</p>
|
|
34
|
+
<p>
|
|
35
|
+
レポジトリ: <a href="https://github.com/t-nissie/ULMUL">https://github.com/t-nissie/ULMUL</a>
|
|
33
36
|
</p>
|
|
34
37
|
<br />
|
|
35
38
|
<div class="table of contents">
|
|
@@ -328,9 +331,9 @@ JavaScriptのファイル名を指定します。
|
|
|
328
331
|
<ul>
|
|
329
332
|
<li>ソースは <a href="http://loto.sourceforge.net/feram/doc/film.txt">http://loto.sourceforge.net/feram/doc/film.txt</a></li>
|
|
330
333
|
</ul></li>
|
|
331
|
-
<li><a href="http://
|
|
334
|
+
<li><a href="http://t-nissie.users.sourceforge.net/ULMUL/index.ja.html">http://t-nissie.users.sourceforge.net/ULMUL/index.ja.html</a>
|
|
332
335
|
<ul>
|
|
333
|
-
<li>ソースは <a href="http://
|
|
336
|
+
<li>ソースは <a href="http://t-nissie.users.sourceforge.net/ULMUL/README-ja">http://t-nissie.users.sourceforge.net/ULMUL/README-ja</a> (この文章)</li>
|
|
334
337
|
</ul></li>
|
|
335
338
|
</ul>
|
|
336
339
|
<h3 id="LABEL-28">ulmul2xhtmlは消します</h3>
|
|
@@ -347,7 +350,7 @@ JavaScriptのファイル名を指定します。
|
|
|
347
350
|
</p>
|
|
348
351
|
<pre>
|
|
349
352
|
$ ulmul2mathjax --help
|
|
350
|
-
$ ulmul2mathjax -s ulmul2html5.css -j https://google
|
|
353
|
+
$ ulmul2mathjax -s ulmul2html5.css -j https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js \
|
|
351
354
|
-j 'http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=default' README-en > README-en-mathjax.html
|
|
352
355
|
</pre>
|
|
353
356
|
</div>
|
|
@@ -371,14 +374,14 @@ ulmul2latexはまだ発展途上です。
|
|
|
371
374
|
<div class="slide">
|
|
372
375
|
<h2 id="LABEL-31">最新のソース・ツリーの入手方法</h2>
|
|
373
376
|
<p>
|
|
374
|
-
ソース・ツリーは
|
|
375
|
-
|
|
377
|
+
ソース・ツリーはGitHubに置いてあります。
|
|
378
|
+
git(1)コマンドを使って
|
|
376
379
|
</p>
|
|
377
380
|
<pre>
|
|
378
|
-
$
|
|
381
|
+
$ git clone git@github.com:t-nissie/ULMUL.git ulmul
|
|
379
382
|
</pre>
|
|
380
383
|
<p>
|
|
381
|
-
と匿名で
|
|
384
|
+
と匿名でcloneできます。
|
|
382
385
|
</p>
|
|
383
386
|
</div>
|
|
384
387
|
|
|
@@ -386,7 +389,7 @@ $ svn co svn://rubyforge.org/var/svn/ulmul/ulmul/trunk ulmul
|
|
|
386
389
|
<div class="slide">
|
|
387
390
|
<h2 id="LABEL-32">著作権表示</h2>
|
|
388
391
|
<p>
|
|
389
|
-
Copyright © 2008
|
|
392
|
+
Copyright © 2008,2009,2010,2011,2012,2013,2014,2015,2017,2022 by Takeshi Nishimatsu
|
|
390
393
|
</p>
|
|
391
394
|
<p>
|
|
392
395
|
ulmul.rb is distributed in the hope that
|
|
@@ -413,7 +416,5 @@ and <a href="http://www.w3.org/Consortium/Legal/copyright-software">http://www.w
|
|
|
413
416
|
西松タケシ (t_nissie{at}yahoo.co.jp) <a href="http://t-nissie.users.sourceforge.net/">http://t-nissie.users.sourceforge.net/</a>
|
|
414
417
|
</p>
|
|
415
418
|
</div>
|
|
416
|
-
<hr />
|
|
417
|
-
<address>Copyright © 2015 Takeshi Nishimatsu</address>
|
|
418
419
|
</body>
|
|
419
420
|
</html>
|
data/lib/ulmul.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
# -*- coding: utf-8 -*-
|
|
3
3
|
# ulmul.rb
|
|
4
|
-
# Time-stamp: <
|
|
4
|
+
# Time-stamp: <2022-07-13 07:03:30 takeshi>
|
|
5
5
|
# Author: Takeshi Nishimatsu
|
|
6
6
|
##
|
|
7
7
|
require "rubygems"
|
|
@@ -83,7 +83,7 @@ end
|
|
|
83
83
|
class Ulmul
|
|
84
84
|
include AASM
|
|
85
85
|
include Itemize
|
|
86
|
-
VERSION = '0.
|
|
86
|
+
VERSION = '0.6.0'
|
|
87
87
|
|
|
88
88
|
aasm.initial_state :st_ground
|
|
89
89
|
|
|
@@ -263,19 +263,19 @@ class Ulmul
|
|
|
263
263
|
line = "=end\n"
|
|
264
264
|
end
|
|
265
265
|
case line
|
|
266
|
-
when /^=begin/,/^#/ then ev_ignore(
|
|
267
|
-
when /^=end/ then ev_heading(
|
|
268
|
-
when /^=+ / then ev_heading(
|
|
269
|
-
when /^ +\*/ then ev_asterisk(
|
|
270
|
-
when /^$/ then ev_empty(
|
|
271
|
-
when /^\s+/ then ev_offset(
|
|
266
|
+
when /^=begin/,/^#/ then ev_ignore($FILENAME, lnumber, line)
|
|
267
|
+
when /^=end/ then ev_heading($FILENAME, lnumber, line); break
|
|
268
|
+
when /^=+ / then ev_heading($FILENAME, lnumber, line)
|
|
269
|
+
when /^ +\*/ then ev_asterisk($FILENAME, lnumber, line)
|
|
270
|
+
when /^$/ then ev_empty($FILENAME, lnumber, line)
|
|
271
|
+
when /^\s+/ then ev_offset($FILENAME, lnumber, line)
|
|
272
272
|
when /^\\(Fig|Table|Code):/
|
|
273
|
-
then ev_env_begin(
|
|
273
|
+
then ev_env_begin($FILENAME, lnumber, line)
|
|
274
274
|
when /^\/(Fig|Table|Code):/
|
|
275
|
-
then ev_env_end(
|
|
276
|
-
when /^\\Eq:/ then ev_equation_begin(
|
|
277
|
-
when /^\/Eq:/ then ev_equation_end(
|
|
278
|
-
else ev_normal(
|
|
275
|
+
then ev_env_end($FILENAME, lnumber, line)
|
|
276
|
+
when /^\\Eq:/ then ev_equation_begin($FILENAME, lnumber, line)
|
|
277
|
+
when /^\/Eq:/ then ev_equation_end($FILENAME, lnumber, line)
|
|
278
|
+
else ev_normal($FILENAME, lnumber, line)
|
|
279
279
|
end
|
|
280
280
|
end
|
|
281
281
|
end
|
|
@@ -403,8 +403,6 @@ module HTML5
|
|
|
403
403
|
</head>
|
|
404
404
|
<body onload=\"prettyPrint()\">
|
|
405
405
|
#{body()}
|
|
406
|
-
<hr />
|
|
407
|
-
<address>Copyright © #{Date.today.year} #{name}</address>
|
|
408
406
|
</body>
|
|
409
407
|
</html>
|
|
410
408
|
"
|
data/ulmul-slidy.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/* ulmul-slidy.css
|
|
1
|
+
/* ulmul-slidy.css
|
|
2
2
|
|
|
3
3
|
Original slidy.css is modified by Takeshi NISHIMATSU
|
|
4
|
-
Time-stamp: <
|
|
4
|
+
Time-stamp: <2017-09-01 06:09:59 takeshi>
|
|
5
5
|
|
|
6
6
|
References:
|
|
7
7
|
http://daily-expo.com/csslite/
|
|
@@ -9,38 +9,88 @@
|
|
|
9
9
|
|
|
10
10
|
Original Copyright notice:
|
|
11
11
|
|
|
12
|
-
Copyright (c) 2005 W3C (MIT, ERCIM, Keio), All Rights Reserved.
|
|
12
|
+
Copyright (c) 2005-2010 W3C (MIT, ERCIM, Keio), All Rights Reserved.
|
|
13
13
|
W3C liability, trademark, document use and software licensing
|
|
14
14
|
rules apply, see:
|
|
15
15
|
|
|
16
16
|
http://www.w3.org/Consortium/Legal/copyright-documents
|
|
17
17
|
http://www.w3.org/Consortium/Legal/copyright-software
|
|
18
18
|
*/
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
body
|
|
20
|
+
{
|
|
21
|
+
margin: 0 0 0 0;
|
|
22
|
+
padding: 0 0 0 0;
|
|
23
23
|
width: 100%;
|
|
24
24
|
height: 100%;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
background-position: right top;
|
|
25
|
+
color: black;
|
|
26
|
+
background-color: white;
|
|
27
|
+
font-family: "Gill Sans MT", "Gill Sans", GillSans, sans-serif;
|
|
28
|
+
font-size: 14pt;
|
|
30
29
|
}
|
|
31
30
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
padding-left:
|
|
37
|
-
padding-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
31
|
+
div.toolbar {
|
|
32
|
+
position: fixed; z-index: 200;
|
|
33
|
+
top: auto; bottom: 0; left: 0; right: 0;
|
|
34
|
+
height: 1.2em; text-align: right;
|
|
35
|
+
padding-left: 1em;
|
|
36
|
+
padding-right: 1em;
|
|
37
|
+
font-size: 60%;
|
|
38
|
+
color: red;
|
|
39
|
+
background-color: rgb(240,240,240);
|
|
40
|
+
border-top: solid 1px rgb(180,180,180);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
div.toolbar span.copyright {
|
|
44
|
+
color: black;
|
|
45
|
+
margin-left: 0.5em;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
div.initial_prompt {
|
|
49
|
+
position: absolute;
|
|
50
|
+
z-index: 1000;
|
|
51
|
+
bottom: 1.2em;
|
|
52
|
+
width: 100%;
|
|
53
|
+
background-color: rgb(200,200,200);
|
|
54
|
+
opacity: 0.35;
|
|
55
|
+
background-color: rgba(200,200,200, 0.35);
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
div.initial_prompt p.help {
|
|
60
|
+
text-align: center;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
div.initial_prompt p.close {
|
|
64
|
+
text-align: right;
|
|
65
|
+
font-style: italic;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
div.slidy_toc {
|
|
69
|
+
position: absolute;
|
|
70
|
+
z-index: 300;
|
|
71
|
+
width: 60%;
|
|
72
|
+
max-width: 30em;
|
|
73
|
+
height: 30em;
|
|
74
|
+
overflow: auto;
|
|
75
|
+
top: auto;
|
|
76
|
+
right: auto;
|
|
77
|
+
left: 4em;
|
|
78
|
+
bottom: 4em;
|
|
79
|
+
padding: 1em;
|
|
80
|
+
background: rgb(240,240,240);
|
|
81
|
+
border-style: solid;
|
|
82
|
+
border-width: 2px;
|
|
83
|
+
font-size: 60%;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
div.slidy_toc .toc_heading {
|
|
87
|
+
text-align: center;
|
|
88
|
+
width: 100%;
|
|
89
|
+
margin: 0;
|
|
90
|
+
margin-bottom: 1em;
|
|
91
|
+
border-bottom-style: solid;
|
|
92
|
+
border-bottom-color: rgb(180,180,180);
|
|
93
|
+
border-bottom-width: 1px;
|
|
44
94
|
}
|
|
45
95
|
|
|
46
96
|
div.slide {
|
|
@@ -51,6 +101,7 @@ div.slide {
|
|
|
51
101
|
padding-left: 20px;
|
|
52
102
|
padding-right: 20px;
|
|
53
103
|
border-width: 0;
|
|
104
|
+
clear: both;
|
|
54
105
|
top: 0;
|
|
55
106
|
bottom: 0;
|
|
56
107
|
left: 0;
|
|
@@ -59,50 +110,89 @@ div.slide {
|
|
|
59
110
|
background-color: transparent;
|
|
60
111
|
}
|
|
61
112
|
|
|
62
|
-
div.
|
|
63
|
-
|
|
64
|
-
padding: 4px 0;
|
|
65
|
-
background: transparent;
|
|
66
|
-
border-bottom: 3px solid blue;
|
|
67
|
-
font-size: 1.6em;
|
|
68
|
-
font-weight: normal;
|
|
69
|
-
line-height: 1.2em;
|
|
70
|
-
color: blue;
|
|
113
|
+
div.background {
|
|
114
|
+
display: none;
|
|
71
115
|
}
|
|
72
116
|
|
|
73
|
-
div.
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
background-position: left top;
|
|
117
|
+
div.handout {
|
|
118
|
+
margin-left: 20px;
|
|
119
|
+
margin-right: 20px;
|
|
77
120
|
}
|
|
78
121
|
|
|
79
|
-
div.slide.
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
padding:
|
|
122
|
+
div.slide.titlepage {
|
|
123
|
+
text-align: center;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
div.slide.titlepage h1 {
|
|
127
|
+
padding-top: 10%;
|
|
128
|
+
margin-right: 0;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
div.slide h1 {
|
|
132
|
+
padding-left: 0;
|
|
133
|
+
padding-right: 20pt;
|
|
134
|
+
padding-top: 4pt;
|
|
135
|
+
padding-bottom: 4pt;
|
|
136
|
+
margin-top: 0;
|
|
137
|
+
margin-left: 0;
|
|
138
|
+
margin-right: 60pt;
|
|
139
|
+
margin-bottom: 0.5em;
|
|
140
|
+
display: block;
|
|
141
|
+
font-size: 160%;
|
|
142
|
+
line-height: 1.2em;
|
|
85
143
|
background: transparent;
|
|
86
|
-
border-bottom: 3px solid blue;
|
|
87
|
-
text-align: left;
|
|
88
|
-
color: blue;
|
|
89
144
|
}
|
|
90
145
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
146
|
+
@media screen and (max-device-width: 1024px)
|
|
147
|
+
{
|
|
148
|
+
div.slide { font-size: 100%; }
|
|
94
149
|
}
|
|
95
150
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
151
|
+
@media screen and (max-device-width: 800px)
|
|
152
|
+
{
|
|
153
|
+
div.slide { font-size: 200%; }
|
|
154
|
+
div.slidy_toc {
|
|
155
|
+
top: 1em;
|
|
156
|
+
left: 1em;
|
|
157
|
+
right: auto;
|
|
158
|
+
width: 80%;
|
|
159
|
+
font-size: 180%;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
div.toc-heading {
|
|
164
|
+
width: 100%;
|
|
165
|
+
border-bottom: solid 1px rgb(180,180,180);
|
|
166
|
+
margin-bottom: 1em;
|
|
167
|
+
text-align: center;
|
|
104
168
|
}
|
|
105
169
|
|
|
170
|
+
img {
|
|
171
|
+
image-rendering: optimize-quality;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
pre {
|
|
175
|
+
font-size: 80%;
|
|
176
|
+
font-weight: bold;
|
|
177
|
+
line-height: 120%;
|
|
178
|
+
padding-top: 0.2em;
|
|
179
|
+
padding-bottom: 0.2em;
|
|
180
|
+
padding-left: 1em;
|
|
181
|
+
padding-right: 1em;
|
|
182
|
+
border-style: solid;
|
|
183
|
+
border-left-width: 1em;
|
|
184
|
+
border-top-width: thin;
|
|
185
|
+
border-right-width: thin;
|
|
186
|
+
border-bottom-width: thin;
|
|
187
|
+
border-color: #95ABD0;
|
|
188
|
+
color: #00428C;
|
|
189
|
+
background-color: #E4E5E7;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
li pre { margin-left: 0; }
|
|
193
|
+
|
|
194
|
+
blockquote { font-style: italic }
|
|
195
|
+
|
|
106
196
|
figure img { width:50%;
|
|
107
197
|
margin-left:auto;
|
|
108
198
|
margin-right:auto;
|
|
@@ -115,11 +205,228 @@ figure figcaption { width:60%;
|
|
|
115
205
|
table {
|
|
116
206
|
border: blue 2px solid;
|
|
117
207
|
text-align: center;
|
|
118
|
-
margin: auto;
|
|
119
|
-
}
|
|
208
|
+
margin: auto;}
|
|
120
209
|
|
|
121
210
|
p.code.caption {
|
|
122
211
|
width: 80%;
|
|
123
212
|
margin: auto;
|
|
124
213
|
display: block;
|
|
125
214
|
}
|
|
215
|
+
|
|
216
|
+
img { background-color: transparent }
|
|
217
|
+
|
|
218
|
+
p.copyright { font-size: smaller }
|
|
219
|
+
|
|
220
|
+
.center { text-align: center }
|
|
221
|
+
.footnote { font-size: smaller; margin-left: 2em; }
|
|
222
|
+
|
|
223
|
+
a img { border-width: 0; border-style: none }
|
|
224
|
+
|
|
225
|
+
a:visited { color: navy }
|
|
226
|
+
a:link { color: navy }
|
|
227
|
+
a:hover { color: red; text-decoration: underline }
|
|
228
|
+
a:active { color: red; text-decoration: underline }
|
|
229
|
+
|
|
230
|
+
a {text-decoration: none}
|
|
231
|
+
.toolbar a:link {color: blue}
|
|
232
|
+
.toolbar a:visited {color: blue}
|
|
233
|
+
.toolbar a:active {color: red}
|
|
234
|
+
.toolbar a:hover {color: red}
|
|
235
|
+
|
|
236
|
+
ul { list-style-type: square; }
|
|
237
|
+
ul ul { list-style-type: disc; }
|
|
238
|
+
ul ul ul { list-style-type: circle; }
|
|
239
|
+
ul ul ul ul { list-style-type: disc; }
|
|
240
|
+
li { margin-left: 0.5em; margin-top: 0.5em; }
|
|
241
|
+
li li { font-size: 85%; font-style: italic }
|
|
242
|
+
li li li { font-size: 85%; font-style: normal }
|
|
243
|
+
|
|
244
|
+
div dt
|
|
245
|
+
{
|
|
246
|
+
margin-left: 0;
|
|
247
|
+
margin-top: 1em;
|
|
248
|
+
margin-bottom: 0.5em;
|
|
249
|
+
font-weight: bold;
|
|
250
|
+
}
|
|
251
|
+
div dd
|
|
252
|
+
{
|
|
253
|
+
margin-left: 2em;
|
|
254
|
+
margin-bottom: 0.5em;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
p,pre,ul,ol,blockquote,h2,h3,h4,h5,h6,dl,table {
|
|
259
|
+
margin-left: 1em;
|
|
260
|
+
margin-right: 1em;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
p.subhead { font-weight: bold; margin-top: 2em; }
|
|
264
|
+
|
|
265
|
+
.smaller { font-size: smaller }
|
|
266
|
+
.bigger { font-size: 130% }
|
|
267
|
+
|
|
268
|
+
td,th { padding: 0.2em }
|
|
269
|
+
|
|
270
|
+
ul {
|
|
271
|
+
margin: 0.5em 1.5em 0.5em 1.5em;
|
|
272
|
+
padding: 0;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
ol {
|
|
276
|
+
margin: 0.5em 1.5em 0.5em 1.5em;
|
|
277
|
+
padding: 0;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
ul { list-style-type: square; }
|
|
281
|
+
ul ul { list-style-type: disc; }
|
|
282
|
+
ul ul ul { list-style-type: circle; }
|
|
283
|
+
ul ul ul ul { list-style-type: disc; }
|
|
284
|
+
|
|
285
|
+
ul li {
|
|
286
|
+
list-style: square;
|
|
287
|
+
margin: 0.1em 0em 0.6em 0;
|
|
288
|
+
padding: 0 0 0 0;
|
|
289
|
+
line-height: 140%;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
ol li {
|
|
293
|
+
margin: 0.1em 0em 0.6em 1.5em;
|
|
294
|
+
padding: 0 0 0 0px;
|
|
295
|
+
line-height: 140%;
|
|
296
|
+
list-style-type: decimal;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
li ul li {
|
|
300
|
+
font-size: 85%;
|
|
301
|
+
font-style: italic;
|
|
302
|
+
list-style-type: disc;
|
|
303
|
+
background: transparent;
|
|
304
|
+
padding: 0 0 0 0;
|
|
305
|
+
}
|
|
306
|
+
li li ul li {
|
|
307
|
+
font-size: 85%;
|
|
308
|
+
font-style: normal;
|
|
309
|
+
list-style-type: circle;
|
|
310
|
+
background: transparent;
|
|
311
|
+
padding: 0 0 0 0;
|
|
312
|
+
}
|
|
313
|
+
li li li ul li {
|
|
314
|
+
list-style-type: disc;
|
|
315
|
+
background: transparent;
|
|
316
|
+
padding: 0 0 0 0;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
li ol li {
|
|
320
|
+
list-style-type: decimal;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
li li ol li {
|
|
325
|
+
list-style-type: decimal;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/*
|
|
329
|
+
setting class="outline on ol or ul makes it behave as an
|
|
330
|
+
ouline list where blocklevel content in li elements is
|
|
331
|
+
hidden by default and can be expanded or collapsed with
|
|
332
|
+
mouse click. Set class="expand" on li to override default
|
|
333
|
+
*/
|
|
334
|
+
|
|
335
|
+
ol.outline li:hover { cursor: pointer }
|
|
336
|
+
ol.outline li.nofold:hover { cursor: default }
|
|
337
|
+
|
|
338
|
+
ul.outline li:hover { cursor: pointer }
|
|
339
|
+
ul.outline li.nofold:hover { cursor: default }
|
|
340
|
+
|
|
341
|
+
ol.outline { list-style:decimal; }
|
|
342
|
+
ol.outline ol { list-style-type:lower-alpha }
|
|
343
|
+
|
|
344
|
+
ol.outline li.nofold {
|
|
345
|
+
padding: 0 0 0 20px;
|
|
346
|
+
background: transparent url(../graphics/nofold-dim.gif) no-repeat 0px 0.5em;
|
|
347
|
+
}
|
|
348
|
+
ol.outline li.unfolded {
|
|
349
|
+
padding: 0 0 0 20px;
|
|
350
|
+
background: transparent url(../graphics/fold-dim.gif) no-repeat 0px 0.5em;
|
|
351
|
+
}
|
|
352
|
+
ol.outline li.folded {
|
|
353
|
+
padding: 0 0 0 20px;
|
|
354
|
+
background: transparent url(../graphics/unfold-dim.gif) no-repeat 0px 0.5em;
|
|
355
|
+
}
|
|
356
|
+
ol.outline li.unfolded:hover {
|
|
357
|
+
padding: 0 0 0 20px;
|
|
358
|
+
background: transparent url(../graphics/fold.gif) no-repeat 0px 0.5em;
|
|
359
|
+
}
|
|
360
|
+
ol.outline li.folded:hover {
|
|
361
|
+
padding: 0 0 0 20px;
|
|
362
|
+
background: transparent url(../graphics/unfold.gif) no-repeat 0px 0.5em;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
ul.outline li.nofold {
|
|
366
|
+
padding: 0 0 0 20px;
|
|
367
|
+
background: transparent url(../graphics/nofold-dim.gif) no-repeat 0px 0.5em;
|
|
368
|
+
}
|
|
369
|
+
ul.outline li.unfolded {
|
|
370
|
+
padding: 0 0 0 20px;
|
|
371
|
+
background: transparent url(../graphics/fold-dim.gif) no-repeat 0px 0.5em;
|
|
372
|
+
}
|
|
373
|
+
ul.outline li.folded {
|
|
374
|
+
padding: 0 0 0 20px;
|
|
375
|
+
background: transparent url(../graphics/unfold-dim.gif) no-repeat 0px 0.5em;
|
|
376
|
+
}
|
|
377
|
+
ul.outline li.unfolded:hover {
|
|
378
|
+
padding: 0 0 0 20px;
|
|
379
|
+
background: transparent url(../graphics/fold.gif) no-repeat 0px 0.5em;
|
|
380
|
+
}
|
|
381
|
+
ul.outline li.folded:hover {
|
|
382
|
+
padding: 0 0 0 20px;
|
|
383
|
+
background: transparent url(../graphics/unfold.gif) no-repeat 0px 0.5em;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/* for slides with class "title" in table of contents */
|
|
387
|
+
a.titleslide { font-weight: bold; font-style: italic }
|
|
388
|
+
|
|
389
|
+
/*
|
|
390
|
+
hide images for work around for save as bug
|
|
391
|
+
where browsers fail to save images used by CSS
|
|
392
|
+
*/
|
|
393
|
+
img.hidden { display: none; visibility: hidden }
|
|
394
|
+
div.initial_prompt { display: none; visibility: hidden }
|
|
395
|
+
|
|
396
|
+
div.slide {
|
|
397
|
+
visibility: visible;
|
|
398
|
+
position: inherit;
|
|
399
|
+
}
|
|
400
|
+
div.handout {
|
|
401
|
+
border-top-style: solid;
|
|
402
|
+
border-top-width: thin;
|
|
403
|
+
border-top-color: black;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
@media screen {
|
|
407
|
+
.hidden { display: none; visibility: visible }
|
|
408
|
+
|
|
409
|
+
div.slide.hidden { display: block; visibility: visible }
|
|
410
|
+
div.handout.hidden { display: block; visibility: visible }
|
|
411
|
+
div.background { display: none; visibility: hidden }
|
|
412
|
+
body.single_slide div.initial_prompt { display: block; visibility: visible }
|
|
413
|
+
body.single_slide div.background { display: block; visibility: visible }
|
|
414
|
+
body.single_slide div.background.hidden { display: none; visibility: hidden }
|
|
415
|
+
body.single_slide .invisible { visibility: hidden }
|
|
416
|
+
body.single_slide .hidden { display: none; visibility: hidden }
|
|
417
|
+
body.single_slide div.slide { position: absolute }
|
|
418
|
+
body.single_slide div.handout { display: none; visibility: hidden }
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
@media print {
|
|
422
|
+
.hidden { display: block; visibility: visible }
|
|
423
|
+
|
|
424
|
+
div.slide pre { font-size: 60%; padding-left: 0.5em; }
|
|
425
|
+
div.toolbar { display: none; visibility: hidden; }
|
|
426
|
+
div.slidy_toc { display: none; visibility: hidden; }
|
|
427
|
+
div.background { display: none; visibility: hidden; }
|
|
428
|
+
div.slide { page-break-before: always }
|
|
429
|
+
/* :first-child isn't reliable for print media */
|
|
430
|
+
div.slide.first-slide { page-break-before: avoid }
|
|
431
|
+
}
|
|
432
|
+
|
data/ulmul.gemspec
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# ulmul.gemspec -*-ruby-*-
|
|
2
|
-
# Time-stamp: <
|
|
2
|
+
# Time-stamp: <2022-07-13 06:53:14 takeshi>
|
|
3
3
|
# Author: Takeshi Nishimatsu
|
|
4
4
|
##
|
|
5
5
|
Gem::Specification.new do |s|
|
|
@@ -27,26 +27,24 @@ Gem::Specification.new do |s|
|
|
|
27
27
|
s.author = 'Takeshi Nishimatsu'
|
|
28
28
|
s.email = 't_nissie@yahoo.co.jp'
|
|
29
29
|
s.license = 'GPLv3'
|
|
30
|
-
s.homepage = 'http://
|
|
30
|
+
s.homepage = 'http://t-nissie.users.sourceforge.net/ULMUL/'
|
|
31
31
|
s.test_files = ['test/unit/ulmul_test.rb']
|
|
32
32
|
|
|
33
33
|
s.has_rdoc = true
|
|
34
34
|
# s.extra_rdoc_files = %w(README)
|
|
35
35
|
|
|
36
36
|
s.add_dependency('math_ml', '~> 0.14')
|
|
37
|
-
s.add_dependency('aasm', '~>
|
|
38
|
-
s.add_dependency('exifr', '~> 1.
|
|
37
|
+
s.add_dependency('aasm', '~> 5.2', '>= 5.2.0')
|
|
38
|
+
s.add_dependency('exifr', '~> 1.3', '>= 1.3.9')
|
|
39
39
|
|
|
40
40
|
s.description = <<-EOF
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
You can also
|
|
48
|
-
|
|
49
|
-
Please use ulmul-slidy.js and ulmul-slidy.css in the
|
|
50
|
-
ulmul package for your presentations using Firefox.
|
|
41
|
+
ULMUL is an original Ultra Lightweight MarkUp Language.
|
|
42
|
+
You can write TeX-style equations in ULMUL texts.
|
|
43
|
+
The ULMUL texts can be converted
|
|
44
|
+
into HTML5+MathML with ulmul2html5 command,
|
|
45
|
+
into HTML5+MathJax with ulmul2mathjax and
|
|
46
|
+
into LaTeX with ulmul2latex.
|
|
47
|
+
You can also generate Slidy presentations.
|
|
48
|
+
Its library ulmul.rb is written in Ruby.
|
|
51
49
|
EOF
|
|
52
50
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ulmul
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Takeshi Nishimatsu
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-07-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: math_ml
|
|
@@ -30,51 +30,49 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '
|
|
33
|
+
version: '5.2'
|
|
34
34
|
- - ">="
|
|
35
35
|
- !ruby/object:Gem::Version
|
|
36
|
-
version:
|
|
36
|
+
version: 5.2.0
|
|
37
37
|
type: :runtime
|
|
38
38
|
prerelease: false
|
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
|
40
40
|
requirements:
|
|
41
41
|
- - "~>"
|
|
42
42
|
- !ruby/object:Gem::Version
|
|
43
|
-
version: '
|
|
43
|
+
version: '5.2'
|
|
44
44
|
- - ">="
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
|
-
version:
|
|
46
|
+
version: 5.2.0
|
|
47
47
|
- !ruby/object:Gem::Dependency
|
|
48
48
|
name: exifr
|
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
|
50
50
|
requirements:
|
|
51
51
|
- - "~>"
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: '1.
|
|
53
|
+
version: '1.3'
|
|
54
54
|
- - ">="
|
|
55
55
|
- !ruby/object:Gem::Version
|
|
56
|
-
version: 1.
|
|
56
|
+
version: 1.3.9
|
|
57
57
|
type: :runtime
|
|
58
58
|
prerelease: false
|
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
|
60
60
|
requirements:
|
|
61
61
|
- - "~>"
|
|
62
62
|
- !ruby/object:Gem::Version
|
|
63
|
-
version: '1.
|
|
63
|
+
version: '1.3'
|
|
64
64
|
- - ">="
|
|
65
65
|
- !ruby/object:Gem::Version
|
|
66
|
-
version: 1.
|
|
66
|
+
version: 1.3.9
|
|
67
67
|
description: |2
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
You can also
|
|
75
|
-
|
|
76
|
-
Please use ulmul-slidy.js and ulmul-slidy.css in the
|
|
77
|
-
ulmul package for your presentations using Firefox.
|
|
68
|
+
ULMUL is an original Ultra Lightweight MarkUp Language.
|
|
69
|
+
You can write TeX-style equations in ULMUL texts.
|
|
70
|
+
The ULMUL texts can be converted
|
|
71
|
+
into HTML5+MathML with ulmul2html5 command,
|
|
72
|
+
into HTML5+MathJax with ulmul2mathjax and
|
|
73
|
+
into LaTeX with ulmul2latex.
|
|
74
|
+
You can also generate Slidy presentations.
|
|
75
|
+
Its library ulmul.rb is written in Ruby.
|
|
78
76
|
email: t_nissie@yahoo.co.jp
|
|
79
77
|
executables:
|
|
80
78
|
- ulmul2html5
|
|
@@ -109,11 +107,11 @@ files:
|
|
|
109
107
|
- ulmul.gemspec
|
|
110
108
|
- ulmul2html5.css
|
|
111
109
|
- ulmul2xhtml.css
|
|
112
|
-
homepage: http://
|
|
110
|
+
homepage: http://t-nissie.users.sourceforge.net/ULMUL/
|
|
113
111
|
licenses:
|
|
114
112
|
- GPLv3
|
|
115
113
|
metadata: {}
|
|
116
|
-
post_install_message:
|
|
114
|
+
post_install_message:
|
|
117
115
|
rdoc_options: []
|
|
118
116
|
require_paths:
|
|
119
117
|
- lib
|
|
@@ -128,9 +126,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
128
126
|
- !ruby/object:Gem::Version
|
|
129
127
|
version: '0'
|
|
130
128
|
requirements: []
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
signing_key:
|
|
129
|
+
rubygems_version: 3.3.7
|
|
130
|
+
signing_key:
|
|
134
131
|
specification_version: 4
|
|
135
132
|
summary: ULMUL is an Ultra Lightweight Mark-Up Language
|
|
136
133
|
test_files:
|