rabbit 0.9.3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +9 -2
- data/Rakefile +11 -4
- data/TODO +0 -2
- data/bin/rabbirack +95 -0
- data/bin/rabbit +23 -2
- data/bin/rabbiter +9 -0
- data/data/locale/en/LC_MESSAGES/rabbit.mo +0 -0
- data/data/locale/fr/LC_MESSAGES/rabbit.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/rabbit.mo +0 -0
- data/doc/_layouts/en.html +1 -1
- data/doc/_layouts/ja.html +1 -1
- data/doc/_layouts/skeleton.html +1 -1
- data/doc/_site/css/rabbit.css +41 -1
- data/doc/_site/en/development.html +2 -2
- data/doc/_site/en/faq.html +2 -2
- data/doc/_site/en/hiki.html +2 -2
- data/doc/_site/en/how-to-make/hiki.html +2 -2
- data/doc/_site/en/how-to-make/index.html +2 -2
- data/doc/_site/en/how-to-make/pdf.html +2 -2
- data/doc/_site/en/how-to-make/rd.html +2 -2
- data/doc/_site/en/how-to-make/theme.html +2 -2
- data/doc/_site/en/index.html +20 -20
- data/doc/_site/en/install/homebrew.html +6 -12
- data/doc/_site/en/install/index.html +5 -3
- data/doc/_site/en/install/macports.html +2 -2
- data/doc/_site/en/install/windows.html +2 -2
- data/doc/_site/en/news.html +172 -61
- data/doc/_site/en/rd.html +2 -2
- data/doc/_site/en/sample/hiki/rabbit.html +3 -3
- data/doc/_site/en/sample/index.html +2 -2
- data/doc/_site/en/sample/rd/rabbit.html +3 -3
- data/doc/_site/en/slides.html +2 -2
- data/doc/_site/en/usage.html +60 -60
- data/doc/_site/en/users.html +2 -2
- data/doc/_site/images/screenshots/en/blue-circle.png +0 -0
- data/doc/_site/images/screenshots/en/clear-blue-raw.png +0 -0
- data/doc/_site/images/screenshots/en/clear-blue.png +0 -0
- data/doc/_site/images/screenshots/en/cozmixng-raw.png +0 -0
- data/doc/_site/images/screenshots/en/cozmixng.png +0 -0
- data/doc/_site/images/screenshots/en/dark-gradation.png +0 -0
- data/doc/_site/images/screenshots/en/day-white.png +0 -0
- data/doc/_site/images/screenshots/en/debian.png +0 -0
- data/doc/_site/images/screenshots/en/green-circle.png +0 -0
- data/doc/_site/images/screenshots/en/night-black.png +0 -0
- data/doc/_site/images/screenshots/en/rabbit-raw.png +0 -0
- data/doc/_site/images/screenshots/en/rabbit.png +0 -0
- data/doc/_site/images/screenshots/en/ranguba-raw.png +0 -0
- data/doc/_site/images/screenshots/en/ranguba.png +0 -0
- data/doc/_site/images/screenshots/en/red-frame.png +0 -0
- data/doc/_site/images/screenshots/en/ruby-gnome2.png +0 -0
- data/doc/_site/images/screenshots/ja/blue-circle.png +0 -0
- data/doc/_site/images/screenshots/ja/clear-blue-raw.png +0 -0
- data/doc/_site/images/screenshots/ja/clear-blue.png +0 -0
- data/doc/_site/images/screenshots/ja/cozmixng-raw.png +0 -0
- data/doc/_site/images/screenshots/ja/cozmixng.png +0 -0
- data/doc/_site/images/screenshots/ja/dark-gradation.png +0 -0
- data/doc/_site/images/screenshots/ja/day-white.png +0 -0
- data/doc/_site/images/screenshots/ja/debian.png +0 -0
- data/doc/_site/images/screenshots/ja/green-circle.png +0 -0
- data/doc/_site/images/screenshots/ja/night-black.png +0 -0
- data/doc/_site/images/screenshots/ja/rabbit-raw.png +0 -0
- data/doc/_site/images/screenshots/ja/rabbit.png +0 -0
- data/doc/_site/images/screenshots/ja/ranguba-raw.png +0 -0
- data/doc/_site/images/screenshots/ja/ranguba.png +0 -0
- data/doc/_site/images/screenshots/ja/red-frame.png +0 -0
- data/doc/_site/images/screenshots/ja/ruby-gnome2.png +0 -0
- data/doc/_site/index.html.en +8 -2
- data/doc/_site/index.html.ja +8 -2
- data/doc/_site/ja/about.html +2 -2
- data/doc/_site/ja/development.html +2 -2
- data/doc/_site/ja/faq.html +25 -14
- data/doc/_site/ja/hiki.html +2 -2
- data/doc/_site/ja/how-to-make/hiki.html +2 -2
- data/doc/_site/ja/how-to-make/index.html +2 -2
- data/doc/_site/ja/how-to-make/pdf.html +2 -2
- data/doc/_site/ja/how-to-make/rd.html +2 -2
- data/doc/_site/ja/how-to-make/theme.html +2 -2
- data/doc/_site/ja/index.html +2 -2
- data/doc/_site/ja/install/homebrew.html +6 -12
- data/doc/_site/ja/install/index.html +5 -3
- data/doc/_site/ja/install/macports.html +3 -6
- data/doc/_site/ja/install/windows.html +2 -2
- data/doc/_site/ja/news.html +165 -61
- data/doc/_site/ja/rd.html +2 -2
- data/doc/_site/ja/sample/hiki/rabbit.html +3 -3
- data/doc/_site/ja/sample/index.html +2 -2
- data/doc/_site/ja/sample/rd/rabbit.html +3 -3
- data/doc/_site/ja/slides.html +2 -2
- data/doc/_site/ja/usage.html +60 -69
- data/doc/_site/ja/users.html +2 -2
- data/doc/css/rabbit.css +41 -1
- data/doc/en/index.rd +1 -1
- data/doc/en/install/homebrew.rd +2 -11
- data/doc/en/install/index.rd +2 -0
- data/doc/en/news.rd +117 -3
- data/doc/en/sample/hiki/rabbit.hiki +1 -1
- data/doc/en/sample/rd/rabbit.rd +1 -1
- data/doc/en/usage.rd +12 -17
- data/doc/images/screenshots/en/blue-circle.png +0 -0
- data/doc/images/screenshots/en/clear-blue-raw.png +0 -0
- data/doc/images/screenshots/en/clear-blue.png +0 -0
- data/doc/images/screenshots/en/cozmixng-raw.png +0 -0
- data/doc/images/screenshots/en/cozmixng.png +0 -0
- data/doc/images/screenshots/en/dark-gradation.png +0 -0
- data/doc/images/screenshots/en/day-white.png +0 -0
- data/doc/images/screenshots/en/debian.png +0 -0
- data/doc/images/screenshots/en/green-circle.png +0 -0
- data/doc/images/screenshots/en/night-black.png +0 -0
- data/doc/images/screenshots/en/rabbit-raw.png +0 -0
- data/doc/images/screenshots/en/rabbit.png +0 -0
- data/doc/images/screenshots/en/ranguba-raw.png +0 -0
- data/doc/images/screenshots/en/ranguba.png +0 -0
- data/doc/images/screenshots/en/red-frame.png +0 -0
- data/doc/images/screenshots/en/ruby-gnome2.png +0 -0
- data/doc/images/screenshots/ja/blue-circle.png +0 -0
- data/doc/images/screenshots/ja/clear-blue-raw.png +0 -0
- data/doc/images/screenshots/ja/clear-blue.png +0 -0
- data/doc/images/screenshots/ja/cozmixng-raw.png +0 -0
- data/doc/images/screenshots/ja/cozmixng.png +0 -0
- data/doc/images/screenshots/ja/dark-gradation.png +0 -0
- data/doc/images/screenshots/ja/day-white.png +0 -0
- data/doc/images/screenshots/ja/debian.png +0 -0
- data/doc/images/screenshots/ja/green-circle.png +0 -0
- data/doc/images/screenshots/ja/night-black.png +0 -0
- data/doc/images/screenshots/ja/rabbit-raw.png +0 -0
- data/doc/images/screenshots/ja/rabbit.png +0 -0
- data/doc/images/screenshots/ja/ranguba-raw.png +0 -0
- data/doc/images/screenshots/ja/ranguba.png +0 -0
- data/doc/images/screenshots/ja/red-frame.png +0 -0
- data/doc/images/screenshots/ja/ruby-gnome2.png +0 -0
- data/doc/index.html.en +6 -0
- data/doc/index.html.ja +6 -0
- data/doc/ja/faq.rd +21 -3
- data/doc/ja/install/homebrew.rd +2 -11
- data/doc/ja/install/index.rd +2 -0
- data/doc/ja/install/macports.rd +1 -6
- data/doc/ja/news.rd +109 -3
- data/doc/ja/sample/hiki/rabbit.hiki +1 -1
- data/doc/ja/sample/rd/rabbit.rd +1 -1
- data/doc/ja/usage.rd +11 -29
- data/lib/rabbit/canvas.rb +7 -4
- data/lib/rabbit/console.rb +1 -1
- data/lib/rabbit/div/main-i.erb +1 -1
- data/lib/rabbit/div/main.erb +1 -1
- data/lib/rabbit/element/base.rb +17 -1
- data/lib/rabbit/element/image.rb +1 -0
- data/lib/rabbit/element/preformatted.rb +8 -3
- data/lib/rabbit/element/syntax-highlighting.rb +15 -0
- data/lib/rabbit/element/text-renderer.rb +3 -3
- data/lib/rabbit/element/text.rb +0 -12
- data/lib/rabbit/element/title-slide.rb +1 -25
- data/lib/rabbit/formatter.rb +26 -6
- data/lib/rabbit/front.rb +10 -6
- data/lib/rabbit/html/template.erb +1 -1
- data/lib/rabbit/image.rb +1 -1
- data/lib/rabbit/keys.rb +70 -70
- data/lib/rabbit/middleware/config.ru +42 -0
- data/lib/rabbit/middleware/controller.rb +66 -0
- data/lib/rabbit/middleware/public/stylesheets/rabbirack.css +12 -0
- data/lib/rabbit/middleware/views/index.haml +13 -0
- data/lib/rabbit/middleware/views/layout.haml +8 -0
- data/lib/rabbit/parser/ext/aafigure.rb +1 -1
- data/lib/rabbit/parser/ext/blockdiag.rb +46 -0
- data/lib/rabbit/parser/ext/coderay.rb +66 -0
- data/lib/rabbit/parser/ext/emacs.rb +116 -0
- data/lib/rabbit/parser/ext/enscript.rb +15 -22
- data/lib/rabbit/parser/rd.rb +8 -2
- data/lib/rabbit/parser/rd/ext/block-verbatim.rb +53 -16
- data/lib/rabbit/parser/wiki.rb +3 -1
- data/lib/rabbit/parser/wiki/output.rb +28 -16
- data/lib/rabbit/rabbit.rb +7 -1
- data/lib/rabbit/renderer/display.rb +14 -2
- data/lib/rabbit/renderer/display/clutter-embed.rb +1 -1
- data/lib/rabbit/renderer/display/key-handler.rb +12 -12
- data/lib/rabbit/soap/base.rb +1 -1
- data/lib/rabbit/theme-browser.rb +2 -2
- data/lib/rabbit/theme/base/base.rb +7 -0
- data/lib/rabbit/theme/default-comment/default-comment.rb +9 -0
- data/lib/rabbit/theme/default-comment/property.rb +4 -0
- data/lib/rabbit/theme/default-item-mark-setup/default-item-mark-setup.rb +1 -1
- data/lib/rabbit/theme/default-slide/default-slide.rb +2 -2
- data/lib/rabbit/theme/default-text/default-text.rb +5 -0
- data/lib/rabbit/theme/default/default.rb +6 -7
- data/lib/rabbit/theme/footer-comment/footer-comment.rb +35 -8
- data/lib/rabbit/theme/pdf/pdf.rb +18 -0
- data/lib/rabbit/theme/rabbit-powered-by/rabbit-powered-by.rb +1 -1
- data/lib/rabbit/theme/syntax-highlighting/property.rb +4 -0
- data/lib/rabbit/theme/syntax-highlighting/syntax-highlighting.rb +139 -0
- data/lib/rabbit/theme/title-shadow/title-shadow.rb +1 -1
- data/lib/rabbit/theme/twitter-comment/twitter-comment.rb +1 -1
- data/lib/rabbit/twitter.rb +28 -4
- data/lib/rabbit/utils.rb +40 -12
- data/po/en/rabbit.po +175 -145
- data/po/fr/rabbit.po +180 -149
- data/po/ja/rabbit.po +176 -148
- data/po/rabbit.pot +175 -145
- data/sample/can_rabbit.rd +0 -21
- data/sample/rabbit-en.hiki +21 -2
- data/sample/rabbit-en.rd +42 -2
- data/sample/rabbit-implementation.rd +0 -5
- data/sample/rabbit.hiki +19 -16
- data/sample/rabbit.rd +42 -11
- data/sample/test.hiki +31 -0
- data/sample/test.rab +30 -0
- metadata +84 -58
- data/lib/rabbit/parser/ext/anthy.rb +0 -43
- data/lib/rabbit/parser/rd/ext/aafigure.rb +0 -18
- data/lib/rabbit/parser/rd/ext/anthy.rb +0 -29
- data/lib/rabbit/parser/rd/ext/enscript.rb +0 -24
- data/lib/rabbit/parser/rd/ext/tex.rb +0 -24
- data/lib/rabbit/source/rwiki.rb +0 -54
- data/lib/rabbit/theme/pdf-tortoise-and-hare/pdf-tortoise-and-hare.rb +0 -18
- data/lib/rabbit/theme/pdf-tortoise-and-hare/property.rb +0 -3
data/sample/can_rabbit.rd
CHANGED
@@ -23,7 +23,6 @@ Rabbitを用いてプレゼンテーションを行うための資料はどの
|
|
23
23
|
= 特徴
|
24
24
|
|
25
25
|
* ソースはRD
|
26
|
-
* RWikiとの連携
|
27
26
|
* テーマ
|
28
27
|
* 多言語が扱える
|
29
28
|
|
@@ -41,19 +40,6 @@ Rabbitの入力ソースはRD((-Ruby Document-))という書式で記述し
|
|
41
40
|
自然に構造化された文書を作成することができます.インライン書
|
42
41
|
式が無ければRDで書かれた文書の可読性は高いと思います.
|
43
42
|
|
44
|
-
=== RWikiとの連携
|
45
|
-
|
46
|
-
RabbitはRWikiと連携して動作することができます.つまり,RWiki
|
47
|
-
のページを直接入力ソースとして読み込むことができます.
|
48
|
-
|
49
|
-
これにより,資料をどこでも簡単に編集することができます.また,
|
50
|
-
RWikiのバージョン管理機能を使うことにより,データの損失を気
|
51
|
-
にせず,安心して資料を作成することができます.もし,Rabbitが
|
52
|
-
インストールされていない環境でも,RWikiのスライド拡張を利用
|
53
|
-
してプレゼンテーションを行うことができます.
|
54
|
-
|
55
|
-
|
56
|
-
RWikiのページを直接入力ソースとして読み込む機能を一般化して,
|
57
43
|
HTTPや,FTPを用いてネットワーク越しの入力ソースを直接読み込
|
58
44
|
むこともできます.利用可能な入力方式は以下の通りです.
|
59
45
|
|
@@ -67,9 +53,6 @@ HTTPや,FTPを用いてネットワーク越しの入力ソースを直接読
|
|
67
53
|
指定したURIから読み込む.スキームにはhttp,ftp,fileが使
|
68
54
|
える.
|
69
55
|
|
70
|
-
: RWiki
|
71
|
-
RWikiのページを読み込む.
|
72
|
-
|
73
56
|
=== テーマ
|
74
57
|
|
75
58
|
Rabbitでは内容(RD)と見た目を分離するために,テーマ機能を提
|
@@ -325,10 +308,6 @@ EPS形式以外は,ファイルの内容から画像形式を自動認識す
|
|
325
308
|
: URI
|
326
309
|
指定したURIのファイル名を除いた部分
|
327
310
|
|
328
|
-
: RWiki
|
329
|
-
指定したRWiki(のSOAP)インターフェイスのURIのファイル名
|
330
|
-
を除いた部分
|
331
|
-
|
332
311
|
= 書式
|
333
312
|
|
334
313
|
# _
|
data/sample/rabbit-en.hiki
CHANGED
@@ -68,7 +68,7 @@ A presentation tool
|
|
68
68
|
* File
|
69
69
|
* Standard input
|
70
70
|
* HTTP
|
71
|
-
*
|
71
|
+
* Hiki
|
72
72
|
* SlideShare
|
73
73
|
|
74
74
|
! Features: Format
|
@@ -232,7 +232,7 @@ Create EPS ahead of time{{note('(needs gs)')}}
|
|
232
232
|
{{image("rabbit.xcf",
|
233
233
|
:relative_height => 100)}}
|
234
234
|
|
235
|
-
|
235
|
+
! aafigure
|
236
236
|
|
237
237
|
{{aafigure("
|
238
238
|
A B C D E F G H I J K L M
|
@@ -253,6 +253,25 @@ N O P Q R S T U V W X Y Z
|
|
253
253
|
# :foreground => "#ff3333",
|
254
254
|
})}}
|
255
255
|
|
256
|
+
! blockdiag
|
257
|
+
|
258
|
+
{{blockdiag("
|
259
|
+
{
|
260
|
+
fontsize = 25;
|
261
|
+
RD -> Rabbit;
|
262
|
+
Hiki -> Rabbit;
|
263
|
+
PDF -> Rabbit;
|
264
|
+
group {
|
265
|
+
Rabbit -> Display;
|
266
|
+
}
|
267
|
+
}",
|
268
|
+
{
|
269
|
+
:relative_width => 90,
|
270
|
+
# :antialias => true,
|
271
|
+
:fonts => ["/usr/share/fonts/opentype/ipafont/ipag.ttf",
|
272
|
+
"/usr/share/fonts/truetype/vlgothic/VL-Gothic-Regular.ttf"],
|
273
|
+
})}}
|
274
|
+
|
256
275
|
! Word Wrapping
|
257
276
|
|
258
277
|
looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong
|
data/sample/rabbit-en.rd
CHANGED
@@ -75,7 +75,7 @@ A presentation tool
|
|
75
75
|
* File
|
76
76
|
* Standard input
|
77
77
|
* HTTP
|
78
|
-
*
|
78
|
+
* Hiki
|
79
79
|
* SlideShare
|
80
80
|
|
81
81
|
= Features: Format
|
@@ -265,6 +265,22 @@ Create EPS ahead of time((-needs gs-))
|
|
265
265
|
nn oo pp qq rr ss tt uu vv ww xx yy zz
|
266
266
|
nn oo pp qq rr ss tt uu vv ww xx yy zz
|
267
267
|
|
268
|
+
= blockdiag
|
269
|
+
|
270
|
+
# blockdiag
|
271
|
+
# relative_width = 90
|
272
|
+
# # antialias = true
|
273
|
+
# fonts = /usr/share/fonts/opentype/ipafont/ipag.ttf, /usr/share/fonts/truetype/vlgothic/VL-Gothic-Regular.ttf
|
274
|
+
{
|
275
|
+
fontsize = 25;
|
276
|
+
RD -> Rabbit;
|
277
|
+
Hiki -> Rabbit;
|
278
|
+
PDF -> Rabbit;
|
279
|
+
group {
|
280
|
+
Rabbit -> Display;
|
281
|
+
}
|
282
|
+
}
|
283
|
+
|
268
284
|
= Word Wrapping
|
269
285
|
|
270
286
|
looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong
|
@@ -280,7 +296,7 @@ The following is source code:
|
|
280
296
|
|
281
297
|
End of source code.
|
282
298
|
|
283
|
-
= Source:
|
299
|
+
= Source: Enscript
|
284
300
|
|
285
301
|
The following is source code:
|
286
302
|
|
@@ -292,6 +308,30 @@ The following is source code:
|
|
292
308
|
|
293
309
|
End of source code.
|
294
310
|
|
311
|
+
= Source: CodeRay
|
312
|
+
|
313
|
+
The following is source code:
|
314
|
+
|
315
|
+
# coderay ruby
|
316
|
+
# comment
|
317
|
+
def method_name
|
318
|
+
body
|
319
|
+
end
|
320
|
+
|
321
|
+
End of source code.
|
322
|
+
|
323
|
+
= Source: Emacs
|
324
|
+
|
325
|
+
The following is source code:
|
326
|
+
|
327
|
+
# emacs # -*- ruby -*-
|
328
|
+
# comment
|
329
|
+
def method_name
|
330
|
+
body
|
331
|
+
end
|
332
|
+
|
333
|
+
End of source code.
|
334
|
+
|
295
335
|
= Quotation
|
296
336
|
|
297
337
|
# blockquote
|
data/sample/rabbit.hiki
CHANGED
@@ -253,6 +253,25 @@ N O P Q R S T U V W X Y Z
|
|
253
253
|
# :option => "font=mikachan",
|
254
254
|
})}}
|
255
255
|
|
256
|
+
! blockdiag
|
257
|
+
|
258
|
+
{{blockdiag("
|
259
|
+
{
|
260
|
+
fontsize = 25;
|
261
|
+
RD -> Rabbit;
|
262
|
+
Hiki -> Rabbit;
|
263
|
+
PDF -> Rabbit;
|
264
|
+
group {
|
265
|
+
Rabbit -> 画面;
|
266
|
+
}
|
267
|
+
}",
|
268
|
+
{
|
269
|
+
:relative_width => 90,
|
270
|
+
# :antialias => true,
|
271
|
+
:fonts => ["/usr/share/fonts/opentype/ipafont/ipag.ttf",
|
272
|
+
"/usr/share/fonts/truetype/vlgothic/VL-Gothic-Regular.ttf"],
|
273
|
+
})}}
|
274
|
+
|
256
275
|
! 折り返し
|
257
276
|
|
258
277
|
なーーーーーーーーーーーーーーーーーーーーーーーーーーーーーがーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーい行は?
|
@@ -310,22 +329,6 @@ end
|
|
310
329
|
||内容1||内容2
|
311
330
|
||長ーーーーーい内容3||長ーーーーーーーーーーーーーーーーーーい内容4
|
312
331
|
|
313
|
-
! Anthy
|
314
|
-
|
315
|
-
ひらがなをかんじにへんかんできます.
|
316
|
-
|
317
|
-
いみもつかいみちもないです.
|
318
|
-
|
319
|
-
|
320
|
-
''変換後:''
|
321
|
-
|
322
|
-
{{anthy(<<-EOA)
|
323
|
-
ひらがなをかんじにへんかんできます.
|
324
|
-
|
325
|
-
いみもつかいみちもないです.
|
326
|
-
EOA
|
327
|
-
}}
|
328
|
-
|
329
332
|
! 操作: 移動
|
330
333
|
|
331
334
|
:次ページ:次に進みそうなキー/左クリック\nn, f, j, l, Spc, Ret, +, {{e('DownArrow')}}, {{e('RightArrow')}}
|
data/sample/rabbit.rd
CHANGED
@@ -76,7 +76,7 @@
|
|
76
76
|
* ファイル
|
77
77
|
* 標準入力
|
78
78
|
* HTTP
|
79
|
-
*
|
79
|
+
* Hiki
|
80
80
|
* SlideShare
|
81
81
|
|
82
82
|
= 機能: 入力書式
|
@@ -264,6 +264,22 @@ URL先の画像をダウンロード
|
|
264
264
|
nn oo pp qq rr ss tt uu vv ww xx yy zz
|
265
265
|
nn oo pp qq rr ss tt uu vv ww xx yy zz
|
266
266
|
|
267
|
+
= blockdiag
|
268
|
+
|
269
|
+
# blockdiag
|
270
|
+
# relative_width = 90
|
271
|
+
# # antialias = true
|
272
|
+
# fonts = /usr/share/fonts/opentype/ipafont/ipag.ttf, /usr/share/fonts/truetype/vlgothic/VL-Gothic-Regular.ttf
|
273
|
+
{
|
274
|
+
fontsize = 25;
|
275
|
+
RD -> Rabbit;
|
276
|
+
Hiki -> Rabbit;
|
277
|
+
PDF -> Rabbit;
|
278
|
+
group {
|
279
|
+
Rabbit -> 画面;
|
280
|
+
}
|
281
|
+
}
|
282
|
+
|
267
283
|
= 折り返し
|
268
284
|
|
269
285
|
なーーーーーーーーーーーーーーーーーーーーーーーーーーーーーがーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーい行
|
@@ -279,7 +295,7 @@ URL先の画像をダウンロード
|
|
279
295
|
|
280
296
|
以上がソース
|
281
297
|
|
282
|
-
= ソース:
|
298
|
+
= ソース: Enscript
|
283
299
|
|
284
300
|
以下がソース
|
285
301
|
|
@@ -291,6 +307,30 @@ URL先の画像をダウンロード
|
|
291
307
|
|
292
308
|
以上がソース
|
293
309
|
|
310
|
+
= ソース: CodeRay
|
311
|
+
|
312
|
+
以下がソース
|
313
|
+
|
314
|
+
# coderay ruby
|
315
|
+
# comment
|
316
|
+
def method_name
|
317
|
+
body
|
318
|
+
end
|
319
|
+
|
320
|
+
以上がソース
|
321
|
+
|
322
|
+
= ソース: Emacs
|
323
|
+
|
324
|
+
以下がソース
|
325
|
+
|
326
|
+
# emacs # -*- ruby -*-
|
327
|
+
# comment
|
328
|
+
def method_name
|
329
|
+
body
|
330
|
+
end
|
331
|
+
|
332
|
+
以上がソース
|
333
|
+
|
294
334
|
= 引用
|
295
335
|
|
296
336
|
# blockquote
|
@@ -334,15 +374,6 @@ URL先の画像をダウンロード
|
|
334
374
|
内容1, 内容2
|
335
375
|
長ーーーーーい内容3, 長ーーーーーーーーーーーーーーーーーーい内容4
|
336
376
|
|
337
|
-
= Anthy
|
338
|
-
|
339
|
-
ひらがなをかんじにへんかんできます。
|
340
|
-
|
341
|
-
((*変換後:*))
|
342
|
-
|
343
|
-
# anthy
|
344
|
-
ひらがなをかんじにへんかんできます。
|
345
|
-
|
346
377
|
= 操作: 移動
|
347
378
|
|
348
379
|
: 次ページ
|
data/sample/test.hiki
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
! テスト
|
2
|
+
|
3
|
+
:theme:default
|
4
|
+
|
5
|
+
! blockdiag
|
6
|
+
|
7
|
+
{{emacs(<<-EOS, "# -*- ruby -*-")
|
8
|
+
# comment
|
9
|
+
def method_name(a, b=nil, *rest)
|
10
|
+
@var = $hoge
|
11
|
+
1
|
12
|
+
if "sss" then
|
13
|
+
body
|
14
|
+
end
|
15
|
+
end
|
16
|
+
EOS
|
17
|
+
}}
|
18
|
+
|
19
|
+
! blockdiag
|
20
|
+
|
21
|
+
{{coderay("ruby", <<-EOS)
|
22
|
+
# comment
|
23
|
+
def method_name(a, b=nil, *rest)
|
24
|
+
@var = $hoge
|
25
|
+
1
|
26
|
+
if "sss" then
|
27
|
+
body
|
28
|
+
end
|
29
|
+
end
|
30
|
+
EOS
|
31
|
+
}}
|
data/sample/test.rab
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
= テスト
|
2
|
+
|
3
|
+
: theme
|
4
|
+
default
|
5
|
+
|
6
|
+
= blockdiag
|
7
|
+
|
8
|
+
# # enscript ruby
|
9
|
+
# emacs # -*- ruby -*-
|
10
|
+
# comment
|
11
|
+
def method_name(a, b=nil, *rest)
|
12
|
+
@var = $hoge
|
13
|
+
1
|
14
|
+
if "sss" then
|
15
|
+
body
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
= blockdiag
|
20
|
+
|
21
|
+
# # enscript ruby
|
22
|
+
# coderay ruby
|
23
|
+
# comment
|
24
|
+
def method_name(a, b=nil, *rest)
|
25
|
+
@var = $hoge
|
26
|
+
1
|
27
|
+
if "sss" then
|
28
|
+
body
|
29
|
+
end
|
30
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rabbit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
|
+
- 1
|
7
8
|
- 0
|
8
|
-
-
|
9
|
-
|
10
|
-
version: 0.9.3
|
9
|
+
- 0
|
10
|
+
version: 1.0.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kouhei Sutou
|
@@ -15,12 +15,9 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-07-15 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
|
-
name: gtk2
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
21
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
25
22
|
none: false
|
26
23
|
requirements:
|
@@ -30,11 +27,11 @@ dependencies:
|
|
30
27
|
segments:
|
31
28
|
- 0
|
32
29
|
version: "0"
|
30
|
+
name: gtk2
|
31
|
+
prerelease: false
|
32
|
+
type: :runtime
|
33
33
|
requirement: *id001
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
|
-
name: rsvg2
|
36
|
-
type: :runtime
|
37
|
-
prerelease: false
|
38
35
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
39
36
|
none: false
|
40
37
|
requirements:
|
@@ -44,11 +41,11 @@ dependencies:
|
|
44
41
|
segments:
|
45
42
|
- 0
|
46
43
|
version: "0"
|
44
|
+
name: rsvg2
|
45
|
+
prerelease: false
|
46
|
+
type: :runtime
|
47
47
|
requirement: *id002
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
|
-
name: poppler
|
50
|
-
type: :runtime
|
51
|
-
prerelease: false
|
52
49
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
53
50
|
none: false
|
54
51
|
requirements:
|
@@ -58,11 +55,11 @@ dependencies:
|
|
58
55
|
segments:
|
59
56
|
- 0
|
60
57
|
version: "0"
|
58
|
+
name: poppler
|
59
|
+
prerelease: false
|
60
|
+
type: :runtime
|
61
61
|
requirement: *id003
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
|
-
name: hikidoc
|
64
|
-
type: :runtime
|
65
|
-
prerelease: false
|
66
63
|
version_requirements: &id004 !ruby/object:Gem::Requirement
|
67
64
|
none: false
|
68
65
|
requirements:
|
@@ -72,11 +69,11 @@ dependencies:
|
|
72
69
|
segments:
|
73
70
|
- 0
|
74
71
|
version: "0"
|
72
|
+
name: hikidoc
|
73
|
+
prerelease: false
|
74
|
+
type: :runtime
|
75
75
|
requirement: *id004
|
76
76
|
- !ruby/object:Gem::Dependency
|
77
|
-
name: twitter-stream
|
78
|
-
type: :runtime
|
79
|
-
prerelease: false
|
80
77
|
version_requirements: &id005 !ruby/object:Gem::Requirement
|
81
78
|
none: false
|
82
79
|
requirements:
|
@@ -86,11 +83,11 @@ dependencies:
|
|
86
83
|
segments:
|
87
84
|
- 0
|
88
85
|
version: "0"
|
86
|
+
name: albino
|
87
|
+
prerelease: false
|
88
|
+
type: :runtime
|
89
89
|
requirement: *id005
|
90
90
|
- !ruby/object:Gem::Dependency
|
91
|
-
name: twitter_oauth
|
92
|
-
type: :runtime
|
93
|
-
prerelease: false
|
94
91
|
version_requirements: &id006 !ruby/object:Gem::Requirement
|
95
92
|
none: false
|
96
93
|
requirements:
|
@@ -100,11 +97,11 @@ dependencies:
|
|
100
97
|
segments:
|
101
98
|
- 0
|
102
99
|
version: "0"
|
100
|
+
name: nokogiri
|
101
|
+
prerelease: false
|
102
|
+
type: :runtime
|
103
103
|
requirement: *id006
|
104
104
|
- !ruby/object:Gem::Dependency
|
105
|
-
name: rake
|
106
|
-
type: :development
|
107
|
-
prerelease: false
|
108
105
|
version_requirements: &id007 !ruby/object:Gem::Requirement
|
109
106
|
none: false
|
110
107
|
requirements:
|
@@ -114,11 +111,11 @@ dependencies:
|
|
114
111
|
segments:
|
115
112
|
- 0
|
116
113
|
version: "0"
|
114
|
+
name: rack
|
115
|
+
prerelease: false
|
116
|
+
type: :runtime
|
117
117
|
requirement: *id007
|
118
118
|
- !ruby/object:Gem::Dependency
|
119
|
-
name: jeweler
|
120
|
-
type: :development
|
121
|
-
prerelease: false
|
122
119
|
version_requirements: &id008 !ruby/object:Gem::Requirement
|
123
120
|
none: false
|
124
121
|
requirements:
|
@@ -128,11 +125,11 @@ dependencies:
|
|
128
125
|
segments:
|
129
126
|
- 0
|
130
127
|
version: "0"
|
128
|
+
name: haml
|
129
|
+
prerelease: false
|
130
|
+
type: :runtime
|
131
131
|
requirement: *id008
|
132
132
|
- !ruby/object:Gem::Dependency
|
133
|
-
name: jekyll
|
134
|
-
type: :development
|
135
|
-
prerelease: false
|
136
133
|
version_requirements: &id009 !ruby/object:Gem::Requirement
|
137
134
|
none: false
|
138
135
|
requirements:
|
@@ -142,11 +139,11 @@ dependencies:
|
|
142
139
|
segments:
|
143
140
|
- 0
|
144
141
|
version: "0"
|
142
|
+
name: rdtool
|
143
|
+
prerelease: false
|
144
|
+
type: :runtime
|
145
145
|
requirement: *id009
|
146
146
|
- !ruby/object:Gem::Dependency
|
147
|
-
name: gtk2
|
148
|
-
type: :runtime
|
149
|
-
prerelease: false
|
150
147
|
version_requirements: &id010 !ruby/object:Gem::Requirement
|
151
148
|
none: false
|
152
149
|
requirements:
|
@@ -156,11 +153,11 @@ dependencies:
|
|
156
153
|
segments:
|
157
154
|
- 0
|
158
155
|
version: "0"
|
156
|
+
name: coderay
|
157
|
+
prerelease: false
|
158
|
+
type: :runtime
|
159
159
|
requirement: *id010
|
160
160
|
- !ruby/object:Gem::Dependency
|
161
|
-
name: rsvg2
|
162
|
-
type: :runtime
|
163
|
-
prerelease: false
|
164
161
|
version_requirements: &id011 !ruby/object:Gem::Requirement
|
165
162
|
none: false
|
166
163
|
requirements:
|
@@ -170,11 +167,11 @@ dependencies:
|
|
170
167
|
segments:
|
171
168
|
- 0
|
172
169
|
version: "0"
|
170
|
+
name: twitter-stream
|
171
|
+
prerelease: false
|
172
|
+
type: :development
|
173
173
|
requirement: *id011
|
174
174
|
- !ruby/object:Gem::Dependency
|
175
|
-
name: poppler
|
176
|
-
type: :runtime
|
177
|
-
prerelease: false
|
178
175
|
version_requirements: &id012 !ruby/object:Gem::Requirement
|
179
176
|
none: false
|
180
177
|
requirements:
|
@@ -184,11 +181,11 @@ dependencies:
|
|
184
181
|
segments:
|
185
182
|
- 0
|
186
183
|
version: "0"
|
184
|
+
name: twitter_oauth
|
185
|
+
prerelease: false
|
186
|
+
type: :development
|
187
187
|
requirement: *id012
|
188
188
|
- !ruby/object:Gem::Dependency
|
189
|
-
name: hikidoc
|
190
|
-
type: :runtime
|
191
|
-
prerelease: false
|
192
189
|
version_requirements: &id013 !ruby/object:Gem::Requirement
|
193
190
|
none: false
|
194
191
|
requirements:
|
@@ -198,11 +195,11 @@ dependencies:
|
|
198
195
|
segments:
|
199
196
|
- 0
|
200
197
|
version: "0"
|
198
|
+
name: rake
|
199
|
+
prerelease: false
|
200
|
+
type: :development
|
201
201
|
requirement: *id013
|
202
202
|
- !ruby/object:Gem::Dependency
|
203
|
-
name: twitter-stream
|
204
|
-
type: :runtime
|
205
|
-
prerelease: false
|
206
203
|
version_requirements: &id014 !ruby/object:Gem::Requirement
|
207
204
|
none: false
|
208
205
|
requirements:
|
@@ -212,11 +209,11 @@ dependencies:
|
|
212
209
|
segments:
|
213
210
|
- 0
|
214
211
|
version: "0"
|
212
|
+
name: jeweler
|
213
|
+
prerelease: false
|
214
|
+
type: :development
|
215
215
|
requirement: *id014
|
216
216
|
- !ruby/object:Gem::Dependency
|
217
|
-
name: twitter_oauth
|
218
|
-
type: :runtime
|
219
|
-
prerelease: false
|
220
217
|
version_requirements: &id015 !ruby/object:Gem::Requirement
|
221
218
|
none: false
|
222
219
|
requirements:
|
@@ -226,11 +223,29 @@ dependencies:
|
|
226
223
|
segments:
|
227
224
|
- 0
|
228
225
|
version: "0"
|
226
|
+
name: jekyll
|
227
|
+
prerelease: false
|
228
|
+
type: :development
|
229
229
|
requirement: *id015
|
230
|
+
- !ruby/object:Gem::Dependency
|
231
|
+
version_requirements: &id016 !ruby/object:Gem::Requirement
|
232
|
+
none: false
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
hash: 3
|
237
|
+
segments:
|
238
|
+
- 0
|
239
|
+
version: "0"
|
240
|
+
name: gettext
|
241
|
+
prerelease: false
|
242
|
+
type: :development
|
243
|
+
requirement: *id016
|
230
244
|
description: Rabbit is an RD-document-based presentation application.
|
231
245
|
email:
|
232
246
|
- kou@cozmixng.org
|
233
247
|
executables:
|
248
|
+
- rabbirack
|
234
249
|
- rabrick
|
235
250
|
- rabbit-command
|
236
251
|
- rabbit
|
@@ -249,6 +264,7 @@ files:
|
|
249
264
|
- Gemfile
|
250
265
|
- README
|
251
266
|
- Rakefile
|
267
|
+
- bin/rabbirack
|
252
268
|
- bin/rabbirc
|
253
269
|
- bin/rabbit
|
254
270
|
- bin/rabbit-command
|
@@ -256,6 +272,9 @@ files:
|
|
256
272
|
- bin/rabbiter
|
257
273
|
- bin/rabrick
|
258
274
|
- bin/rabwii
|
275
|
+
- data/locale/en/LC_MESSAGES/rabbit.mo
|
276
|
+
- data/locale/fr/LC_MESSAGES/rabbit.mo
|
277
|
+
- data/locale/ja/LC_MESSAGES/rabbit.mo
|
259
278
|
- data/rabbit/image/clear-blue-images/clear-blue-headline-background.png
|
260
279
|
- data/rabbit/image/clear-blue-images/clear-blue-icon.png
|
261
280
|
- data/rabbit/image/clear-blue-images/clear-blue-images.rb
|
@@ -625,6 +644,7 @@ files:
|
|
625
644
|
- lib/rabbit/element/preformatted.rb
|
626
645
|
- lib/rabbit/element/slide-element.rb
|
627
646
|
- lib/rabbit/element/slide.rb
|
647
|
+
- lib/rabbit/element/syntax-highlighting.rb
|
628
648
|
- lib/rabbit/element/table.rb
|
629
649
|
- lib/rabbit/element/tag.rb
|
630
650
|
- lib/rabbit/element/text-block-element.rb
|
@@ -658,10 +678,17 @@ files:
|
|
658
678
|
- lib/rabbit/logger/gui.rb
|
659
679
|
- lib/rabbit/logger/stderr.rb
|
660
680
|
- lib/rabbit/menu.rb
|
681
|
+
- lib/rabbit/middleware/config.ru
|
682
|
+
- lib/rabbit/middleware/controller.rb
|
683
|
+
- lib/rabbit/middleware/public/stylesheets/rabbirack.css
|
684
|
+
- lib/rabbit/middleware/views/index.haml
|
685
|
+
- lib/rabbit/middleware/views/layout.haml
|
661
686
|
- lib/rabbit/parser.rb
|
662
687
|
- lib/rabbit/parser/base.rb
|
663
688
|
- lib/rabbit/parser/ext/aafigure.rb
|
664
|
-
- lib/rabbit/parser/ext/
|
689
|
+
- lib/rabbit/parser/ext/blockdiag.rb
|
690
|
+
- lib/rabbit/parser/ext/coderay.rb
|
691
|
+
- lib/rabbit/parser/ext/emacs.rb
|
665
692
|
- lib/rabbit/parser/ext/enscript.rb
|
666
693
|
- lib/rabbit/parser/ext/entity.rb
|
667
694
|
- lib/rabbit/parser/ext/escape.rb
|
@@ -672,16 +699,12 @@ files:
|
|
672
699
|
- lib/rabbit/parser/pause-support.rb
|
673
700
|
- lib/rabbit/parser/pdf.rb
|
674
701
|
- lib/rabbit/parser/rd.rb
|
675
|
-
- lib/rabbit/parser/rd/ext/aafigure.rb
|
676
|
-
- lib/rabbit/parser/rd/ext/anthy.rb
|
677
702
|
- lib/rabbit/parser/rd/ext/base.rb
|
678
703
|
- lib/rabbit/parser/rd/ext/block-verbatim.rb
|
679
|
-
- lib/rabbit/parser/rd/ext/enscript.rb
|
680
704
|
- lib/rabbit/parser/rd/ext/entity.rb
|
681
705
|
- lib/rabbit/parser/rd/ext/image.rb
|
682
706
|
- lib/rabbit/parser/rd/ext/inline-verbatim.rb
|
683
707
|
- lib/rabbit/parser/rd/ext/refer.rb
|
684
|
-
- lib/rabbit/parser/rd/ext/tex.rb
|
685
708
|
- lib/rabbit/parser/rd/rd2rabbit-lib.rb
|
686
709
|
- lib/rabbit/parser/rd/rt/rt2rabbit-lib.rb
|
687
710
|
- lib/rabbit/parser/rd/visitor.rb
|
@@ -743,7 +766,6 @@ files:
|
|
743
766
|
- lib/rabbit/source/file.rb
|
744
767
|
- lib/rabbit/source/hiki.rb
|
745
768
|
- lib/rabbit/source/memory.rb
|
746
|
-
- lib/rabbit/source/rwiki.rb
|
747
769
|
- lib/rabbit/source/slide-share.rb
|
748
770
|
- lib/rabbit/source/uri.rb
|
749
771
|
- lib/rabbit/stock.rb
|
@@ -810,6 +832,8 @@ files:
|
|
810
832
|
- lib/rabbit/theme/debian/property.rb
|
811
833
|
- lib/rabbit/theme/default-block-quote/default-block-quote.rb
|
812
834
|
- lib/rabbit/theme/default-block-quote/property.rb
|
835
|
+
- lib/rabbit/theme/default-comment/default-comment.rb
|
836
|
+
- lib/rabbit/theme/default-comment/property.rb
|
813
837
|
- lib/rabbit/theme/default-description/default-description.rb
|
814
838
|
- lib/rabbit/theme/default-description/property.rb
|
815
839
|
- lib/rabbit/theme/default-foot-text/default-foot-text.rb
|
@@ -879,8 +903,6 @@ files:
|
|
879
903
|
- lib/rabbit/theme/newline-in-title/property.rb
|
880
904
|
- lib/rabbit/theme/night-black/night-black.rb
|
881
905
|
- lib/rabbit/theme/night-black/property.rb
|
882
|
-
- lib/rabbit/theme/pdf-tortoise-and-hare/pdf-tortoise-and-hare.rb
|
883
|
-
- lib/rabbit/theme/pdf-tortoise-and-hare/property.rb
|
884
906
|
- lib/rabbit/theme/pdf/pdf.rb
|
885
907
|
- lib/rabbit/theme/pdf/property.rb
|
886
908
|
- lib/rabbit/theme/per-slide-background-color/per-slide-background-color.rb
|
@@ -948,6 +970,8 @@ files:
|
|
948
970
|
- lib/rabbit/theme/slide-show/slide-show.rb
|
949
971
|
- lib/rabbit/theme/stream-comment/property.rb
|
950
972
|
- lib/rabbit/theme/stream-comment/stream-comment.rb
|
973
|
+
- lib/rabbit/theme/syntax-highlighting/property.rb
|
974
|
+
- lib/rabbit/theme/syntax-highlighting/syntax-highlighting.rb
|
951
975
|
- lib/rabbit/theme/table/property.rb
|
952
976
|
- lib/rabbit/theme/table/table.rb
|
953
977
|
- lib/rabbit/theme/tag/property.rb
|
@@ -1067,6 +1091,8 @@ files:
|
|
1067
1091
|
- sample/table-en.rd
|
1068
1092
|
- sample/table.hiki
|
1069
1093
|
- sample/table.rd
|
1094
|
+
- sample/test.hiki
|
1095
|
+
- sample/test.rab
|
1070
1096
|
- sample/theme-bench-en.hiki
|
1071
1097
|
- sample/theme-bench-en.rab
|
1072
1098
|
- sample/theme-bench.hiki
|