ulmul 0.4.1 → 0.5.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.
Files changed (41) hide show
  1. data/README-en +118 -63
  2. data/README-ja +92 -58
  3. data/Rakefile +26 -10
  4. data/bin/ulmul2html5 +7 -58
  5. data/bin/ulmul2latex +34 -0
  6. data/bin/ulmul2xhtml +6 -58
  7. data/google-code-prettify/CHANGES.html +130 -0
  8. data/google-code-prettify/COPYING +202 -0
  9. data/google-code-prettify/README-zh-Hans.html +143 -0
  10. data/google-code-prettify/README.html +203 -0
  11. data/google-code-prettify/src/lang-apollo.js +51 -0
  12. data/google-code-prettify/src/lang-css.js +78 -0
  13. data/google-code-prettify/src/lang-fortran.js +53 -0
  14. data/google-code-prettify/src/lang-hs.js +101 -0
  15. data/google-code-prettify/src/lang-lisp.js +93 -0
  16. data/google-code-prettify/src/lang-lua.js +59 -0
  17. data/google-code-prettify/src/lang-ml.js +56 -0
  18. data/google-code-prettify/src/lang-proto.js +35 -0
  19. data/google-code-prettify/src/lang-scala.js +54 -0
  20. data/google-code-prettify/src/lang-sql.js +57 -0
  21. data/google-code-prettify/src/lang-vb.js +61 -0
  22. data/google-code-prettify/src/lang-vhdl.js +34 -0
  23. data/google-code-prettify/src/lang-wiki.js +53 -0
  24. data/google-code-prettify/src/lang-yaml.js +27 -0
  25. data/google-code-prettify/src/prettify.css +44 -0
  26. data/google-code-prettify/src/prettify.js +1508 -0
  27. data/google-code-prettify/tests/large_input_test.html +122 -0
  28. data/google-code-prettify/tests/prettify_test.html +2772 -0
  29. data/google-code-prettify/tests/test_base.js +132 -0
  30. data/google-code-prettify/tests/test_styles.css +5 -0
  31. data/hello.c +7 -0
  32. data/index.en.html +221 -120
  33. data/index.ja.html +182 -115
  34. data/lib/ulmul.rb +477 -276
  35. data/test/unit/ulmul_test.rb +21 -0
  36. data/ulmul-slidy.css +21 -8
  37. data/ulmul.gemspec +9 -5
  38. data/ulmul2html5.css +19 -5
  39. data/ulmul2xhtml.css +17 -1
  40. metadata +90 -12
  41. data/tests/ulmul_test.rb +0 -14
data/index.ja.html CHANGED
@@ -1,21 +1,21 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
3
- "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" dir="ltr">
1
+ <!DOCTYPE html>
2
+ <html lang="ja">
5
3
  <head>
6
- <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />
4
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
5
  <title>ULMUL取扱説明書</title>
8
6
  <meta name="author" content="Takeshi Nishimatsu" />
9
- <meta name="copyright" content="Copyright &#169; 2010 Takeshi Nishimatsu" />
10
- <link rel="stylesheet" href="ulmul2xhtml.css" type="text/css" />
7
+ <meta name="copyright" content="Copyright &#169; 2011 Takeshi Nishimatsu" />
8
+ <link rel="stylesheet" href="ulmul2html5.css" type="text/css" />
9
+ <link rel="stylesheet" href="google-code-prettify/src/prettify.css" type="text/css" />
10
+ <script src="google-code-prettify/src/prettify.js" type="text/javascript"></script>
11
11
  <link rel="shortcut icon" href="favicon.ico" />
12
12
  </head>
13
- <body>
13
+ <body onload="prettyPrint()">
14
14
  <div class="slide cover">
15
15
  <h1 id="LABEL-1">ULMUL取扱説明書</h1><div class="navi">[<a href="index.en.html">English</a>/<a href="index.ja.html">Japanese</a>]</div>
16
16
  <p>
17
17
  ULMULは独自の軽量マークアップ言語 (Ultra Lightweight MarkUp Language) です。
18
- コマンドulmul2html5でHTML5に、ulmul2xhtmlXHTMLに変換できます。
18
+ コマンドulmul2html5でHTML5に、ulmul2latexLaTeXに変換できます。
19
19
  文章中のTeXスタイルで書かれた数式をMathMLに変換できるのが特徴です。
20
20
  Rubyで書かれています。ulmul.rbをライブラリとして利用することも可能です。
21
21
  </p>
@@ -23,34 +23,36 @@ Rubyで書かれています。ulmul.rbをライブラリとして利用する
23
23
  ホームページ: <a href="http://ulmul.rubyforge.org/">http://ulmul.rubyforge.org/</a>
24
24
  </p>
25
25
  <p>
26
- ダウンロード: <a href="http://rubyforge.org/projects/ulmul/">http://rubyforge.org/projects/ulmul/</a> または <a href="http://rubygems.org/gems/ulmul">http://rubygems.org/gems/ulmul</a>
26
+ ダウンロード: <a href="http://rubygems.org/gems/ulmul">http://rubygems.org/gems/ulmul</a> または <a href="http://rubyforge.org/projects/ulmul/">http://rubyforge.org/projects/ulmul/</a>
27
27
  </p>
28
- <br />Contents:
28
+ <br />
29
+ <div class="table of contents">
30
+ Table of Contents:
29
31
  <ul>
30
32
  <li><a href="#LABEL-2">特徴</a></li>
31
- <li><a href="#LABEL-3">インストール方法</a>
33
+ <li><a href="#LABEL-3">インストール方法</a></li>
34
+ <li><a href="#LABEL-4">ULMULテキストの書き方</a>
32
35
  <ul>
33
- <li><a href="#LABEL-4">I. setup.rbを使う方法</a></li>
34
- <li><a href="#LABEL-5">II. RubyGemsを使えば簡単にインストールができます</a></li>
36
+ <li><a href="#LABEL-5">各行の種類</a></li>
37
+ <li><a href="#LABEL-13">その他のルール</a></li>
38
+ <li><a href="#LABEL-14">数式の書き方</a></li>
39
+ <li><a href="#LABEL-15">図の挿入方法</a></li>
40
+ <li><a href="#LABEL-16">表の挿入方法</a></li>
41
+ <li><a href="#LABEL-17">コードの挿入方法</a></li>
35
42
  </ul></li>
36
- <li><a href="#LABEL-6">ULMULテキストの書き方</a>
37
- <ul>
38
- <li><a href="#LABEL-7">各行の種類</a></li>
39
- <li><a href="#LABEL-15">その他のルール</a></li>
40
- <li><a href="#LABEL-16">数式の書き方</a></li>
41
- <li><a href="#LABEL-17">図の挿入方法</a></li>
42
- </ul></li>
43
- <li><a href="#LABEL-18">使用方法</a>
43
+ <li><a href="#LABEL-18">ulmul2html5の使用方法</a>
44
44
  <ul>
45
45
  <li><a href="#LABEL-19">例</a></li>
46
46
  <li><a href="#LABEL-20">コマンド・ライン・オプション</a></li>
47
- <li><a href="#LABEL-27">使用例</a></li>
47
+ <li><a href="#LABEL-27">実際の使用例</a></li>
48
+ <li><a href="#LABEL-28">ulmul2xhtmlは消します</a></li>
48
49
  </ul></li>
49
- <li><a href="#LABEL-28">ulmul.rbの仕組み</a></li>
50
- <li><a href="#LABEL-29">最新のソース・ツリーの入手方法</a></li>
51
- <li><a href="#LABEL-30">著作権表示</a></li>
52
- <li><a href="#LABEL-31">作者</a></li>
50
+ <li><a href="#LABEL-29">Usage of ulmul2latex</a></li>
51
+ <li><a href="#LABEL-30">最新のソース・ツリーの入手方法</a></li>
52
+ <li><a href="#LABEL-31">著作権表示</a></li>
53
+ <li><a href="#LABEL-32">作者</a></li>
53
54
  </ul>
55
+ </div>
54
56
 
55
57
  </div>
56
58
 
@@ -59,19 +61,21 @@ Rubyで書かれています。ulmul.rbをライブラリとして利用する
59
61
  <h2 id="LABEL-2">特徴</h2>
60
62
 
61
63
  <ul>
62
- <li>文章中の2つのドル記号($)で挟まれた部分とEq.…/Eq.で挟まれた行が数式としてTeX形式からMathML形式に変換されます。
63
- MathMLとはXMLで数式を記述するための規格です。込み入った規格なので人間が直接MathMLを記述する
64
- ことは想定されていませんが、ULMULでやっているようにTeXなどからの変換により生成することができます。
65
- Firefoxのバージョン3.0以上やIE+MathPlayerで読めるようです。
64
+ <li>文章中の2つのドル記号($)で挟まれた部分と\Eq:fooと/Eq:fooとで挟まれた行が
65
+ 数式としてTeX形式からMathML形式に変換されます。MathMLとはXMLで数式を記述
66
+ するための規格です。込み入った規格なので人間が直接MathMLを記述する
67
+ ことは想定されていませんが、ULMULでやっているようにTeXなどからの変換により
68
+ 生成することができます。Firefox4やIE9で読めるようです。
66
69
  math_ml.rb <a href="http://www.hinet.mydns.jp/?mathml.rb">http://www.hinet.mydns.jp/?mathml.rb</a> を使っています。</li>
67
70
  <li>ウェブ・ブラウザ+CSS+XHTML+JavaScriptを使ったプレゼン環境
68
71
  Slidy <a href="http://www.w3.org/Talks/Tools/Slidy/">http://www.w3.org/Talks/Tools/Slidy/</a> に対応したxhtmlが出力可能。
69
72
  パッケージの中の ulmul-slidy.js と ulmul-slidy.css とを使ってください。</li>
73
+ <li>図、表、コードが挿入でき、文中でそれらの参照ができます。</li>
70
74
  <li>=begin, =end はあってもなくてもかまいません。</li>
71
75
  <li>行を#ではじめるとコメントになります。</li>
72
76
  <li>ulmul.rbをライブラリとしても使えます。</li>
73
77
  <li>subs_rulesに俺ルールを加えることができます。</li>
74
- <li>目次 (Contents) を自動的に生成できます。</li>
78
+ <li>目次 (Table of Contents) を自動的に生成できます。</li>
75
79
  <li>はじめの「= ABCD EFGH」がタイトルになります。Slidyの表紙にもなります。</li>
76
80
  <li>テキストファイルはutf-8で書きます。自然言語は--language=jaなどとオプションで指定できます。</li>
77
81
  </ul>
@@ -81,153 +85,199 @@ Rubyで書かれています。ulmul.rbをライブラリとして利用する
81
85
  <div class="slide">
82
86
  <h2 id="LABEL-3">インストール方法</h2>
83
87
  <p>
84
- 2通りのインストール方法があります。
88
+ gemでインストールすれば必要なライブラリも自動的にインストールされます:
85
89
  </p>
86
- <h3 id="LABEL-4">I. setup.rbを使う方法</h3>
87
- <p>
88
- パッケージ ulmul-X.Y.Z.tgz を次のようにインストールします:
89
- </p>
90
- <pre> $ tar zxf ulmul-X.Y.Z.tgz
91
- $ cd ulmul-X.Y.Z
92
- $ sudo ruby setup.rb
93
- </pre>
94
- <p>
95
- なお、ULMULを使うにはeim_xmlライブラリとmath_mlライブラリとが必要です。
96
- </p>
97
- <h3 id="LABEL-5">II. RubyGemsを使えば簡単にインストールができます</h3>
98
- <p>
99
- gemでインストールすればeim_xmlライブラリとmath_mlライブラリとは自動的にインストールされます:
100
- </p>
101
- <pre> $ sudo gem install ulmul
90
+ <pre>
91
+ $ sudo gem install ulmul
102
92
  </pre>
103
93
  </div>
104
94
 
105
95
 
106
96
  <div class="slide">
107
- <h2 id="LABEL-6">ULMULテキストの書き方</h2>
97
+ <h2 id="LABEL-4">ULMULテキストの書き方</h2>
108
98
  <p>
109
99
  ULMULテキストのエンコーディングにはutf-8を使ってください。
110
100
  </p>
111
- <h3 id="LABEL-7">各行の種類</h3>
112
- <h4 id="LABEL-8">空行 (empty)</h4>
101
+ <h3 id="LABEL-5">各行の種類</h3>
102
+ <p>
103
+ ulmul.rbは状態遷移 (state machine) ライブラリaasmを使っていて、
104
+ 入力の各行を「イベント」として扱っています。
105
+ </p>
106
+ <h4 id="LABEL-6">空行 (empty)</h4>
113
107
  <p>
114
108
  空行は段落を分割します。
115
109
  </p>
116
- <h4 id="LABEL-9">ヘディング (heading)</h4>
110
+ <h4 id="LABEL-7">ヘディング (heading)</h4>
117
111
  <p>
118
112
  "= ", "== ", "=== ", "==== ", "===== ", または "====== " で始めてください。
119
113
  「= ABCD EFGH」ならABCD EFGHがタイトルになります。Slidyの表紙にもなります。
120
114
  </p>
121
- <h4 id="LABEL-10">アスタリスクで始まる行は箇条書きになります (asterisk)</h4>
115
+ <h4 id="LABEL-8">アスタリスクで始まる行は箇条書きになります (asterisk)</h4>
116
+ <p>
117
+ 5段までネストした箇条書きが可能です:
118
+ たとえば、
119
+ </p>
120
+ <pre>
121
+ # Nesting is allowed uo to 5th level.
122
+ * First
123
+ * Second
124
+ * Third
125
+ * Fourth
126
+ * more for Fourth
127
+ second continue
128
+ * More for third
129
+ * More for first
130
+ </pre>
122
131
  <p>
123
- 6段までネストした箇条書きが可能です:
132
+
124
133
  </p>
125
- <pre>" *"
126
- " *"
127
- " *"
128
- " *"
129
- " *"
130
- </pre>
131
- <h4 id="LABEL-11">オフセットされて書かれた行はそのまま出力 (verbatim, pre) されます (offset)</h4>
134
+
135
+ <ul>
136
+ <li>First
137
+ <ul>
138
+ <li>Second
139
+ <ul>
140
+ <li>Third
141
+ <ul>
142
+ <li>Fourth</li>
143
+ <li>more for Fourth</li>
144
+ </ul></li>
145
+ </ul>
146
+ second continue
147
+ <ul>
148
+ <li>More for third</li>
149
+ </ul></li>
150
+ </ul></li>
151
+ <li>More for first</li>
152
+ </ul>
153
+ <p>
154
+ と変換されます。
155
+ </p>
156
+ <h4 id="LABEL-9">オフセットされて書かれた行はそのまま出力 (verbatim, pre) されます (offset)</h4>
132
157
  <p>
133
158
  1つスペースを置いて書き始めた行はverbatimになります。
134
159
  </p>
135
- <h4 id="LABEL-12">終わり (end)</h4>
160
+ <h4 id="LABEL-10">終わり (end)</h4>
136
161
  <p>
137
162
  EOF と "=end" が出てくると処理が終了します。
138
163
  </p>
139
- <h4 id="LABEL-13">無視される行 (ignore)</h4>
164
+ <h4 id="LABEL-11">無視される行 (ignore)</h4>
140
165
  <p>
141
166
  Lines starting with"#" and "=begin" are ignored.
142
167
  </p>
143
- <h4 id="LABEL-14">その他の入力行 (normal)</h4>
168
+ <h4 id="LABEL-12">その他の入力行 (normal)</h4>
144
169
  <p>
145
170
  地の文になります。
146
171
  </p>
147
- <h3 id="LABEL-15">その他のルール</h3>
172
+ <h3 id="LABEL-13">その他のルール</h3>
148
173
 
149
174
  <ul>
150
175
  <li>"=end"より後の行はすべて無視されます。</li>
151
176
  <li>あなたのオリジナル・ルールを @subs_rules に加えることができます。</li>
152
177
  </ul>
153
- <h3 id="LABEL-16">数式の書き方</h3>
178
+ <h3 id="LABEL-14">数式の書き方</h3>
154
179
  <p>
155
180
  文章中の2つのドル記号($)で挟まれた部分がTeX形式からMathML形式に変換されます。
156
- また、Eq.…/Eq.で挟まれた行も次の例のように処理されます。
181
+ また、\Eq:fooと/Eq:fooとで挟まれた行も次の例のように処理されます。
157
182
  </p>
158
183
  <p>
159
184
  入力:
160
185
  </p>
161
- <pre>Mass $m$ can be converted into energy $E$ as
162
- Eq. 1
186
+ <pre>
187
+ Mass $m$ can be converted into energy $E$ as
188
+ \Eq:Emc2
163
189
  E=mc^2.
164
- /Eq.
190
+ /Eq:Emc2
165
191
  </pre>
166
192
  <p>
167
193
  出力:
168
194
  </p>
169
195
  <p>
170
- Mass <math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><mi>m</mi></math> can be converted into energy <math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><mi>E</mi></math> as
171
- <math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><mi>E</mi><mo>=</mo><mi>m</mi><msup><mi>c</mi><mn>2</mn></msup><mo>.</mo></math>
196
+ Mass <math display='inline' xmlns='http://www.w3.org/1998/Math/MathML'><mi>m</mi></math> can be converted into energy <math display='inline' xmlns='http://www.w3.org/1998/Math/MathML'><mi>E</mi></math> as
197
+ <math id="Eq:Emc2" display='block' xmlns='http://www.w3.org/1998/Math/MathML'><mi>E</mi><mo>=</mo><mi>m</mi><msup><mi>c</mi><mn>2</mn></msup><mo>.</mo></math>
172
198
  </p>
173
199
  <p>
174
200
  数式を正しくご覧いただくには
175
201
  </p>
176
202
 
177
203
  <ul>
178
- <li>Firefox <a href="http://mozilla.jp/firefox/">http://mozilla.jp/firefox/</a></li>
179
- <li>IE8 + MathPlayer <a href="http://www.dessci.com/en/products/mathplayer/">http://www.dessci.com/en/products/mathplayer/</a></li>
204
+ <li>Firefox4 <a href="http://mozilla.jp/firefox/">http://mozilla.jp/firefox/</a></li>
205
+ <li>IE9</li>
180
206
  </ul>
181
207
  <p>
182
208
  などのブラウザを試してみて下さい。
183
209
  </p>
184
- <h3 id="LABEL-17">図の挿入方法</h3>
210
+ <h3 id="LABEL-15">図の挿入方法</h3>
211
+ <p>
212
+ 「図環境」は "\Fig:foo FILENAME.jpg" で始めて "/Fig:foo" で閉じてください。
213
+ 間に図のキャプションを書くことができます。
214
+ ここで "foo" は図のタグです。
215
+ "Fig:foo"で図を参照することができます。こんな具合です <a href="#Fig:ruby">Fig. 1</a> 。
216
+ </p>
185
217
  <p>
186
218
  入力:
187
219
  </p>
188
- <pre>Fig. 1 ruby.jpg
220
+ <pre>
221
+ \Fig:ruby ruby.jpg
189
222
  The is a dummy figure for an example.
190
223
  Cute red logo of Ruby, isn't it?
191
- /Fig.
224
+ /Fig:ruby
192
225
  </pre>
193
226
  <p>
194
227
  出力:
195
228
  </p>
196
- <div class="figure">
229
+ <figure id="Fig:ruby">
197
230
  <img src="ruby.jpg" alt="ruby.jpg" />
198
- <div class="figcaption">
199
- The is a dummy figure for an example.
231
+ <figcaption>
232
+ Figure 1: The is a dummy figure for an example.
200
233
  Cute red logo of Ruby, isn't it?
201
- </div>
202
- </div>
203
- </div>
204
-
205
-
206
- <div class="slide">
207
- <h2 id="LABEL-18">使用方法</h2>
234
+ </figcaption>
235
+ </figure>
236
+ <h3 id="LABEL-16">表の挿入方法</h3>
208
237
  <p>
209
- ulmul2xhtmlとulmul2html5の2つのコマンドがあります。
210
- 特に指定がなければ ulmul2xhtml.css と ulmul2html5.css とがそれぞれのCSSファイルのなります。
211
- これら2つのファイルはパッケージに同梱されています。
238
+ Table環境はまだインプリメントされていません。
212
239
  </p>
240
+ <h3 id="LABEL-17">コードの挿入方法</h3>
213
241
  <p>
214
- 2010年4月現在、ulmul2xhtmlの出力を.htmlの拡張子を持ったファイルにリダイレクトして
215
- httpサーバからtext/htmlのMIMEタイプで送信されるようにすれば
216
- いくつかのブラウザが数式を表示してくれるようです。
217
- 1行目のxml宣言を取るとさらにうまく表示される場合もあります。
242
+ 「コード環境」は "\Code:baz FILENAME" で始めて "/Code:baz" で閉じてください。
243
+ 間にキャプションを書くことができます。
244
+ ここで "baz" は図のタグです。
245
+ "Code:baz"で当該コードを参照することができます。こんな具合です <a href="#Code:hello">Code 1</a> 。
218
246
  </p>
219
247
  <p>
220
- Firefox3.6でHTML5を表示するには、URLとして about:config を入力して、
221
- html5.enableをfalseからtrueに変更してください。
248
+ 入力:
222
249
  </p>
250
+ <pre>
251
+ \Code:hello hello.c
252
+ Ordinary hello.c.
253
+ Can you see stdio.h?
254
+ /Code:hello
255
+ </pre>
223
256
  <p>
224
- IE8はMathMLで書かれた数式を含んだHTML5をうまく表示できないようです。
257
+ 出力:
225
258
  </p>
259
+ <p id="Code:hello" class="code caption">
260
+ Code 1: Ordinary hello.c.
261
+ Can you see stdio.h?
262
+ (download: <a href="hello.c">hello.c</a>)</p>
263
+ <pre class="prettyprint">
264
+ /* hello.c */
265
+ #include &lt;stdio.h&gt;
266
+ int main()
267
+ {
268
+ printf("hello, world\n");
269
+ return 0;
270
+ }
271
+ </pre>
272
+ </div>
273
+
274
+
275
+ <div class="slide">
276
+ <h2 id="LABEL-18">ulmul2html5の使用方法</h2>
226
277
  <h3 id="LABEL-19">例</h3>
227
- <pre>$ ulmul2xhtml without-equations.txt &gt; without-equations.html # XHTML1.0 Transitional
228
- $ ulmul2xhtml with-equations.txt &gt; with-equations.html # XHTML1.1 + MathML2.0
229
- $ ulmul2xhtml -n 'Takeshi Nishimatsu' -s ulmul-slidy.css -j ulmul-slidy.js presentation.txt &gt; presentation.xhtml
230
- $ ulmul2html5 with-equations.txt &gt; with-equations.html # HTML5
278
+ <pre>
279
+ $ ulmul2html5 foo.txt > foo.html
280
+ $ ulmul2html5 -n 'Takeshi Nishimatsu' -s ulmul-slidy.css -j ulmul-slidy.js presentation.txt > presentation.html
231
281
  </pre>
232
282
  <h3 id="LABEL-20">コマンド・ライン・オプション</h3>
233
283
  <h4 id="LABEL-21">--help</h4>
@@ -250,12 +300,12 @@ JavaScriptのファイル名を指定します。
250
300
  <p>
251
301
  自然言語の種類を指定します。既定値は"en"です。日本語の場合は-l jaとします。
252
302
  </p>
253
- <h4 id="LABEL-26">-c, --contents-range</h4>
303
+ <h4 id="LABEL-26">-m, --max-table-of-contents</h4>
254
304
  <p>
255
- 目次の深さを指定します。既定値は"2..3"です。
256
- 目次が必要なければ-c 3..2とします。
305
+ 目次の深さを指定します。既定値は"3"です。
306
+ 目次が必要なければ1を指定してください。
257
307
  </p>
258
- <h3 id="LABEL-27">使用例</h3>
308
+ <h3 id="LABEL-27">実際の使用例</h3>
259
309
 
260
310
  <ul>
261
311
  <li><a href="http://loto.sourceforge.net/feram/">http://loto.sourceforge.net/feram/</a>
@@ -271,36 +321,47 @@ JavaScriptのファイル名を指定します。
271
321
  <li>ソースは <a href="http://ulmul.rubyforge.org/README-ja">http://ulmul.rubyforge.org/README-ja</a> (この文章)</li>
272
322
  </ul></li>
273
323
  </ul>
324
+ <h3 id="LABEL-28">ulmul2xhtmlは消します</h3>
325
+ <p>
326
+ 次のバージョン (0.6.x) からulmul2xhtmlは消します。
327
+ </p>
274
328
  </div>
275
329
 
276
330
 
277
331
  <div class="slide">
278
- <h2 id="LABEL-28">ulmul.rbの仕組み</h2>
332
+ <h2 id="LABEL-29">Usage of ulmul2latex</h2>
333
+ <pre>
334
+ $ ulmul2latex --help
335
+ $ ulmul2latex test.ulmul | tee test.tex
336
+ $ latex test.tex
337
+ $ latex test.tex
338
+ $ dvipdfmx test.dvi
339
+ </pre>
279
340
  <p>
280
- 入力の各行をイベントとして状態遷移しています。
281
- 定数Ulmul::TABLEが状態遷移表です。
341
+ ulmul2latexはまだ発展途上です。
282
342
  </p>
283
343
  </div>
284
344
 
285
345
 
286
346
  <div class="slide">
287
- <h2 id="LABEL-29">最新のソース・ツリーの入手方法</h2>
347
+ <h2 id="LABEL-30">最新のソース・ツリーの入手方法</h2>
288
348
  <p>
289
349
  ソース・ツリーはRubyForge.orgのSubversionレポジトリで管理されています。
290
350
  svn(1)コマンドを使って
291
351
  </p>
292
- <pre>$ svn co svn://rubyforge.org/var/svn/ulmul/ulmul/trunk ulmul
352
+ <pre>
353
+ $ svn co svn://rubyforge.org/var/svn/ulmul/ulmul/trunk ulmul
293
354
  </pre>
294
355
  <p>
295
- checkoutできます。
356
+ と匿名でcheckoutできます。
296
357
  </p>
297
358
  </div>
298
359
 
299
360
 
300
361
  <div class="slide">
301
- <h2 id="LABEL-30">著作権表示</h2>
362
+ <h2 id="LABEL-31">著作権表示</h2>
302
363
  <p>
303
- Copyright © 2008-2010 by Takeshi Nishimatsu
364
+ Copyright © 2008-2011 by Takeshi Nishimatsu
304
365
  </p>
305
366
  <p>
306
367
  ulmul.rb is distributed in the hope that
@@ -318,11 +379,17 @@ You can download the original package, slidy.zip, from
318
379
  their licenses at <a href="http://www.w3.org/Consortium/Legal/copyright-documents">http://www.w3.org/Consortium/Legal/copyright-documents</a>
319
380
  and <a href="http://www.w3.org/Consortium/Legal/copyright-software">http://www.w3.org/Consortium/Legal/copyright-software</a> .
320
381
  </p>
382
+ <p>
383
+ Google Inc. has copyrights for files under google-code-prettify
384
+ directory. Package prettify-21-Jul-2010.zip is distributed
385
+ from <a href="http://code.google.com/p/google-code-prettify/">http://code.google.com/p/google-code-prettify/</a> under the
386
+ Apache License, Version 2.0.
387
+ </p>
321
388
  </div>
322
389
 
323
390
 
324
391
  <div class="slide">
325
- <h2 id="LABEL-31">作者</h2>
392
+ <h2 id="LABEL-32">作者</h2>
326
393
  <p>
327
394
  西松タケシ (t_nissie{at}yahoo.co.jp) <a href="http://t-nissie.users.sourceforge.net/">http://t-nissie.users.sourceforge.net/</a>
328
395
  </p>