rabbit 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (345) hide show
  1. data/Gemfile +16 -0
  2. data/README +1 -0
  3. data/Rakefile +161 -53
  4. data/TODO +2 -0
  5. data/bin/rabbit +78 -34
  6. data/bin/rabbit-command +16 -3
  7. data/bin/rabbiter +74 -73
  8. data/bin/rabrick +17 -4
  9. data/bin/rabwii +77 -0
  10. data/data/rabbit/image/dark-gradation-images/background-gradation.png +0 -0
  11. data/data/rabbit/image/dark-gradation-images/dark-gradation-images.rb +2 -0
  12. data/data/rabbit/image/dark-gradation-images/property.rb +4 -0
  13. data/doc/_config.yml +2 -0
  14. data/doc/_layouts/en.html +37 -0
  15. data/doc/_layouts/ja.html +37 -0
  16. data/doc/_layouts/skeleton.html +91 -0
  17. data/doc/_plugins/converters/hiki.rb +27 -0
  18. data/doc/_plugins/converters/rd.rb +73 -0
  19. data/doc/_site/css/jquery-ui/themes/ui-lightness.css +573 -0
  20. data/doc/_site/css/rabbit.css +247 -0
  21. data/doc/_site/en/development.html +140 -0
  22. data/doc/_site/en/faq.html +117 -0
  23. data/doc/_site/en/hiki.html +420 -0
  24. data/doc/_site/en/how-to-make/hiki.html +113 -0
  25. data/doc/_site/en/how-to-make/index.html +135 -0
  26. data/doc/_site/en/how-to-make/pdf.html +111 -0
  27. data/doc/_site/en/how-to-make/rd.html +151 -0
  28. data/doc/_site/en/how-to-make/theme.html +249 -0
  29. data/doc/_site/en/index.html +343 -0
  30. data/doc/_site/en/install/homebrew.html +279 -0
  31. data/doc/_site/en/install/index.html +144 -0
  32. data/doc/_site/en/install/macports.html +158 -0
  33. data/doc/_site/en/install/windows.html +200 -0
  34. data/doc/_site/en/news.html +928 -0
  35. data/doc/_site/en/rd.html +555 -0
  36. data/doc/_site/en/sample/hiki/rabbit.html +380 -0
  37. data/doc/_site/en/sample/index.html +117 -0
  38. data/doc/_site/en/sample/rd/rabbit.html +572 -0
  39. data/doc/_site/en/slides.html +113 -0
  40. data/doc/_site/en/usage.html +445 -0
  41. data/doc/_site/en/users.html +127 -0
  42. data/doc/_site/favicon.ico +0 -0
  43. data/doc/_site/favicon.png +0 -0
  44. data/doc/_site/images/background-sample.svg +290 -0
  45. data/doc/_site/images/background.png +0 -0
  46. data/doc/_site/images/background.svg +131 -0
  47. data/doc/_site/images/hare-and-tortoise.png +0 -0
  48. data/doc/_site/images/hare-and-tortoise.svg +541 -0
  49. data/doc/_site/images/jp.png +0 -0
  50. data/{sample/momo/usako/usako_psd_100.png → doc/_site/images/lavie-icon.png} +0 -0
  51. data/doc/_site/images/lavie.png +0 -0
  52. data/doc/_site/images/screenshots/en/blue-circle-raw.png +0 -0
  53. data/doc/_site/images/screenshots/en/blue-circle.png +0 -0
  54. data/doc/_site/images/screenshots/en/clear-blue-raw.png +0 -0
  55. data/doc/_site/images/screenshots/en/clear-blue.png +0 -0
  56. data/doc/_site/images/screenshots/en/cozmixng-raw.png +0 -0
  57. data/doc/_site/images/screenshots/en/cozmixng.png +0 -0
  58. data/doc/_site/images/screenshots/en/dark-gradation-raw.png +0 -0
  59. data/doc/_site/images/screenshots/en/dark-gradation.png +0 -0
  60. data/doc/_site/images/screenshots/en/day-white-raw.png +0 -0
  61. data/doc/_site/images/screenshots/en/day-white.png +0 -0
  62. data/doc/_site/images/screenshots/en/debian-raw.png +0 -0
  63. data/doc/_site/images/screenshots/en/debian.png +0 -0
  64. data/doc/_site/images/screenshots/en/green-circle-raw.png +0 -0
  65. data/doc/_site/images/screenshots/en/green-circle.png +0 -0
  66. data/doc/_site/images/screenshots/en/night-black-raw.png +0 -0
  67. data/doc/_site/images/screenshots/en/night-black.png +0 -0
  68. data/doc/_site/images/screenshots/en/rabbit-raw.png +0 -0
  69. data/doc/_site/images/screenshots/en/rabbit.png +0 -0
  70. data/doc/_site/images/screenshots/en/ranguba-raw.png +0 -0
  71. data/doc/_site/images/screenshots/en/ranguba.png +0 -0
  72. data/doc/_site/images/screenshots/en/red-frame-raw.png +0 -0
  73. data/doc/_site/images/screenshots/en/red-frame.png +0 -0
  74. data/doc/_site/images/screenshots/en/ruby-gnome2-raw.png +0 -0
  75. data/doc/_site/images/screenshots/en/ruby-gnome2.png +0 -0
  76. data/doc/_site/images/screenshots/ja/blue-circle-raw.png +0 -0
  77. data/doc/_site/images/screenshots/ja/blue-circle.png +0 -0
  78. data/doc/_site/images/screenshots/ja/clear-blue-raw.png +0 -0
  79. data/doc/_site/images/screenshots/ja/clear-blue.png +0 -0
  80. data/doc/_site/images/screenshots/ja/cozmixng-raw.png +0 -0
  81. data/doc/_site/images/screenshots/ja/cozmixng.png +0 -0
  82. data/doc/_site/images/screenshots/ja/dark-gradation-raw.png +0 -0
  83. data/doc/_site/images/screenshots/ja/dark-gradation.png +0 -0
  84. data/doc/_site/images/screenshots/ja/day-white-raw.png +0 -0
  85. data/doc/_site/images/screenshots/ja/day-white.png +0 -0
  86. data/doc/_site/images/screenshots/ja/debian-raw.png +0 -0
  87. data/doc/_site/images/screenshots/ja/debian.png +0 -0
  88. data/doc/_site/images/screenshots/ja/green-circle-raw.png +0 -0
  89. data/doc/_site/images/screenshots/ja/green-circle.png +0 -0
  90. data/doc/_site/images/screenshots/ja/night-black-raw.png +0 -0
  91. data/doc/_site/images/screenshots/ja/night-black.png +0 -0
  92. data/doc/_site/images/screenshots/ja/rabbit-raw.png +0 -0
  93. data/doc/_site/images/screenshots/ja/rabbit.png +0 -0
  94. data/doc/_site/images/screenshots/ja/ranguba-raw.png +0 -0
  95. data/doc/_site/images/screenshots/ja/ranguba.png +0 -0
  96. data/doc/_site/images/screenshots/ja/red-frame-raw.png +0 -0
  97. data/doc/_site/images/screenshots/ja/red-frame.png +0 -0
  98. data/doc/_site/images/screenshots/ja/ruby-gnome2-raw.png +0 -0
  99. data/doc/_site/images/screenshots/ja/ruby-gnome2.png +0 -0
  100. data/doc/_site/images/us.png +0 -0
  101. data/doc/_site/index.html.en +122 -0
  102. data/doc/_site/index.html.ja +122 -0
  103. data/doc/_site/ja/about.html +120 -0
  104. data/doc/_site/ja/development.html +141 -0
  105. data/doc/_site/ja/faq.html +232 -0
  106. data/doc/_site/ja/hiki.html +416 -0
  107. data/doc/_site/ja/how-to-make/hiki.html +113 -0
  108. data/doc/_site/ja/how-to-make/index.html +135 -0
  109. data/doc/_site/ja/how-to-make/pdf.html +112 -0
  110. data/doc/_site/ja/how-to-make/rd.html +161 -0
  111. data/doc/_site/ja/how-to-make/theme.html +254 -0
  112. data/doc/_site/ja/index.html +351 -0
  113. data/doc/_site/ja/install/homebrew.html +279 -0
  114. data/doc/_site/ja/install/index.html +146 -0
  115. data/doc/_site/ja/install/macports.html +177 -0
  116. data/doc/_site/ja/install/windows.html +200 -0
  117. data/doc/_site/ja/news.html +926 -0
  118. data/doc/_site/ja/rd.html +565 -0
  119. data/doc/_site/ja/sample/hiki/rabbit.html +390 -0
  120. data/doc/_site/ja/sample/index.html +117 -0
  121. data/doc/_site/ja/sample/rd/rabbit.html +580 -0
  122. data/doc/_site/ja/slides.html +142 -0
  123. data/doc/_site/ja/usage.html +458 -0
  124. data/doc/_site/ja/users.html +331 -0
  125. data/doc/_site/javascripts/jquery-ui.js +11544 -0
  126. data/doc/_site/javascripts/jquery.js +7179 -0
  127. data/doc/_site/screenshot.en.rab +10 -0
  128. data/doc/_site/screenshot.ja.rab +10 -0
  129. data/doc/css/jquery-ui/themes/ui-lightness.css +573 -0
  130. data/doc/css/rabbit.css +247 -0
  131. data/doc/en/development.rd +50 -0
  132. data/doc/en/faq.rd +18 -0
  133. data/doc/en/hiki.hiki +325 -0
  134. data/doc/en/how-to-make/hiki.hiki +9 -0
  135. data/doc/en/how-to-make/index.rd +25 -0
  136. data/doc/en/how-to-make/pdf.rd +7 -0
  137. data/doc/en/how-to-make/rd.rd +66 -0
  138. data/doc/en/how-to-make/theme.rd +135 -0
  139. data/doc/en/index.rd +276 -0
  140. data/doc/en/install/homebrew.rd +196 -0
  141. data/doc/en/install/index.rd +63 -0
  142. data/doc/en/install/macports.rd +77 -0
  143. data/doc/en/install/windows.rd +103 -0
  144. data/{NEWS.en → doc/en/news.rd} +78 -3
  145. data/doc/en/rd.rd +481 -0
  146. data/doc/en/sample/hiki/rabbit.hiki +389 -0
  147. data/doc/en/sample/index.rd +11 -0
  148. data/doc/en/sample/rd/rabbit.rd +467 -0
  149. data/doc/en/slides.rd +7 -0
  150. data/doc/en/usage.rd +365 -0
  151. data/doc/en/users.rd +29 -0
  152. data/doc/favicon.ico +0 -0
  153. data/doc/favicon.png +0 -0
  154. data/doc/images/background-sample.svg +290 -0
  155. data/doc/images/background.png +0 -0
  156. data/doc/images/background.svg +131 -0
  157. data/doc/images/hare-and-tortoise.png +0 -0
  158. data/doc/images/hare-and-tortoise.svg +541 -0
  159. data/doc/images/jp.png +0 -0
  160. data/doc/images/lavie-icon.png +0 -0
  161. data/doc/images/lavie.png +0 -0
  162. data/doc/images/screenshots/en/blue-circle-raw.png +0 -0
  163. data/doc/images/screenshots/en/blue-circle.png +0 -0
  164. data/doc/images/screenshots/en/clear-blue-raw.png +0 -0
  165. data/doc/images/screenshots/en/clear-blue.png +0 -0
  166. data/doc/images/screenshots/en/cozmixng-raw.png +0 -0
  167. data/doc/images/screenshots/en/cozmixng.png +0 -0
  168. data/doc/images/screenshots/en/dark-gradation-raw.png +0 -0
  169. data/doc/images/screenshots/en/dark-gradation.png +0 -0
  170. data/doc/images/screenshots/en/day-white-raw.png +0 -0
  171. data/doc/images/screenshots/en/day-white.png +0 -0
  172. data/doc/images/screenshots/en/debian-raw.png +0 -0
  173. data/doc/images/screenshots/en/debian.png +0 -0
  174. data/doc/images/screenshots/en/green-circle-raw.png +0 -0
  175. data/doc/images/screenshots/en/green-circle.png +0 -0
  176. data/doc/images/screenshots/en/night-black-raw.png +0 -0
  177. data/doc/images/screenshots/en/night-black.png +0 -0
  178. data/doc/images/screenshots/en/rabbit-raw.png +0 -0
  179. data/doc/images/screenshots/en/rabbit.png +0 -0
  180. data/doc/images/screenshots/en/ranguba-raw.png +0 -0
  181. data/doc/images/screenshots/en/ranguba.png +0 -0
  182. data/doc/images/screenshots/en/red-frame-raw.png +0 -0
  183. data/doc/images/screenshots/en/red-frame.png +0 -0
  184. data/doc/images/screenshots/en/ruby-gnome2-raw.png +0 -0
  185. data/doc/images/screenshots/en/ruby-gnome2.png +0 -0
  186. data/doc/images/screenshots/ja/blue-circle-raw.png +0 -0
  187. data/doc/images/screenshots/ja/blue-circle.png +0 -0
  188. data/doc/images/screenshots/ja/clear-blue-raw.png +0 -0
  189. data/doc/images/screenshots/ja/clear-blue.png +0 -0
  190. data/doc/images/screenshots/ja/cozmixng-raw.png +0 -0
  191. data/doc/images/screenshots/ja/cozmixng.png +0 -0
  192. data/doc/images/screenshots/ja/dark-gradation-raw.png +0 -0
  193. data/doc/images/screenshots/ja/dark-gradation.png +0 -0
  194. data/doc/images/screenshots/ja/day-white-raw.png +0 -0
  195. data/doc/images/screenshots/ja/day-white.png +0 -0
  196. data/doc/images/screenshots/ja/debian-raw.png +0 -0
  197. data/doc/images/screenshots/ja/debian.png +0 -0
  198. data/doc/images/screenshots/ja/green-circle-raw.png +0 -0
  199. data/doc/images/screenshots/ja/green-circle.png +0 -0
  200. data/doc/images/screenshots/ja/night-black-raw.png +0 -0
  201. data/doc/images/screenshots/ja/night-black.png +0 -0
  202. data/doc/images/screenshots/ja/rabbit-raw.png +0 -0
  203. data/doc/images/screenshots/ja/rabbit.png +0 -0
  204. data/doc/images/screenshots/ja/ranguba-raw.png +0 -0
  205. data/doc/images/screenshots/ja/ranguba.png +0 -0
  206. data/doc/images/screenshots/ja/red-frame-raw.png +0 -0
  207. data/doc/images/screenshots/ja/red-frame.png +0 -0
  208. data/doc/images/screenshots/ja/ruby-gnome2-raw.png +0 -0
  209. data/doc/images/screenshots/ja/ruby-gnome2.png +0 -0
  210. data/doc/images/us.png +0 -0
  211. data/doc/index.html.en +48 -0
  212. data/doc/index.html.ja +48 -0
  213. data/doc/ja/about.rd +21 -0
  214. data/doc/ja/development.rd +49 -0
  215. data/doc/ja/faq.rd +177 -0
  216. data/doc/ja/hiki.hiki +319 -0
  217. data/doc/ja/how-to-make/hiki.hiki +9 -0
  218. data/doc/ja/how-to-make/index.rd +25 -0
  219. data/doc/ja/how-to-make/pdf.rd +8 -0
  220. data/doc/ja/how-to-make/rd.rd +83 -0
  221. data/doc/ja/how-to-make/theme.rd +142 -0
  222. data/doc/ja/index.rd +283 -0
  223. data/doc/ja/install/homebrew.rd +196 -0
  224. data/doc/ja/install/index.rd +65 -0
  225. data/doc/ja/install/macports.rd +105 -0
  226. data/doc/ja/install/windows.rd +100 -0
  227. data/{NEWS.ja → doc/ja/news.rd} +84 -3
  228. data/doc/ja/rd.rd +489 -0
  229. data/doc/ja/sample/hiki/rabbit.hiki +405 -0
  230. data/doc/ja/sample/index.rd +11 -0
  231. data/doc/ja/sample/rd/rabbit.rd +475 -0
  232. data/doc/ja/slides.rd +29 -0
  233. data/doc/ja/usage.rd +380 -0
  234. data/doc/ja/users.rd +173 -0
  235. data/doc/javascripts/jquery-ui.js +11544 -0
  236. data/doc/javascripts/jquery.js +7179 -0
  237. data/doc/screenshot.en.rab +10 -0
  238. data/doc/screenshot.ja.rab +10 -0
  239. data/lib/rabbit/action/toggle.rb +0 -14
  240. data/lib/rabbit/canvas.rb +42 -46
  241. data/lib/rabbit/console.rb +9 -1
  242. data/lib/rabbit/front.rb +1 -1
  243. data/lib/rabbit/keys.rb +0 -8
  244. data/lib/rabbit/logger/gui.rb +3 -5
  245. data/lib/rabbit/parser/pdf.rb +1 -1
  246. data/lib/rabbit/parser/wiki/output.rb +17 -1
  247. data/lib/rabbit/rabbit.rb +12 -1
  248. data/lib/rabbit/renderer/base.rb +0 -25
  249. data/lib/rabbit/renderer/display/clutter-embed.rb +5 -69
  250. data/lib/rabbit/renderer/display/drawing-area.rb +0 -2
  251. data/lib/rabbit/renderer/display/key-handler.rb +0 -8
  252. data/lib/rabbit/source/base.rb +4 -0
  253. data/lib/rabbit/theme/background-image-toolkit/background-image-toolkit.rb +4 -8
  254. data/lib/rabbit/theme/clutter-comment/clutter-comment.rb +76 -0
  255. data/lib/rabbit/theme/clutter-comment/property.rb +3 -0
  256. data/lib/rabbit/theme/color-circle/color-circle.rb +3 -0
  257. data/lib/rabbit/theme/dark-gradation/dark-gradation.rb +187 -0
  258. data/lib/rabbit/theme/dark-gradation/property.rb +3 -0
  259. data/lib/rabbit/theme/debian/debian.rb +125 -145
  260. data/lib/rabbit/theme/default/default.rb +6 -0
  261. data/lib/rabbit/theme/footer-comment/footer-comment.rb +46 -0
  262. data/lib/rabbit/theme/footer-comment/property.rb +3 -0
  263. data/lib/rabbit/theme/image/image.rb +3 -2
  264. data/lib/rabbit/theme/per-slide-background-color/property.rb +1 -1
  265. data/lib/rabbit/theme/slide-number/slide-number.rb +9 -3
  266. data/lib/rabbit/theme/stream-comment/property.rb +3 -0
  267. data/lib/rabbit/theme/stream-comment/stream-comment.rb +66 -0
  268. data/lib/rabbit/theme/tag/property.rb +1 -1
  269. data/lib/rabbit/theme/title-background-image/title-background-image.rb +6 -5
  270. data/lib/rabbit/theme/twitter-comment/property.rb +4 -0
  271. data/lib/rabbit/theme/twitter-comment/twitter-comment.rb +15 -0
  272. data/lib/rabbit/twitter.rb +216 -0
  273. data/lib/rabbit/utils.rb +26 -0
  274. data/misc/emacs/README.ja +1 -1
  275. data/misc/emacs/rabbit-mode.el +1 -1
  276. data/po/en/rabbit.po +429 -267
  277. data/po/fr/rabbit.po +440 -268
  278. data/po/ja/rabbit.po +455 -270
  279. data/po/rabbit.pot +2567 -0
  280. data/sample/rabbit-en.hiki +384 -0
  281. data/sample/rabbit-en.rd +1 -1
  282. data/sample/rabbit-implementation.rd +1 -1
  283. data/sample/rabbit.hiki +85 -13
  284. data/sample/rabbit.rd +1 -1
  285. data/sample/theme-bench-en.hiki +100 -0
  286. data/sample/theme-bench.hiki +101 -0
  287. metadata +413 -118
  288. data/README.en +0 -850
  289. data/README.ja +0 -885
  290. data/bin/rabbit.bat +0 -8
  291. data/data/locale/en/LC_MESSAGES/rabbit.mo +0 -0
  292. data/data/locale/fr/LC_MESSAGES/rabbit.mo +0 -0
  293. data/data/locale/ja/LC_MESSAGES/rabbit.mo +0 -0
  294. data/lib/rabbit/comment-canvas.rb +0 -21
  295. data/lib/rabbit/comment/log.rb +0 -74
  296. data/lib/rabbit/renderer/display/comment-drawing-area.rb +0 -175
  297. data/lib/rabbit/renderer/display/comment.rb +0 -194
  298. data/lib/rabbit/theme/comment/comment.rb +0 -5
  299. data/lib/rabbit/theme/comment/property.rb +0 -3
  300. data/lib/rt/rt2html-lib.rb +0 -157
  301. data/lib/rt/rtparser.rb +0 -226
  302. data/lib/rt/rtvisitor.rb +0 -68
  303. data/lib/rwiki/soap/common.rb +0 -5
  304. data/lib/rwiki/soap/driver.rb +0 -43
  305. data/lib/rwiki/soap/servant.rb +0 -78
  306. data/sample/asahina/alice.png +0 -0
  307. data/sample/asahina/yukiusa.png +0 -0
  308. data/sample/momo/banner/bn1.png +0 -0
  309. data/sample/momo/banner/bn2.png +0 -0
  310. data/sample/momo/banner/bn_psd.psd +0 -0
  311. data/sample/momo/banner/bn_psd2.psd +0 -0
  312. data/sample/momo/tailavi/tailavi-ruby.png +0 -0
  313. data/sample/momo/tailavi/tailavi-ruby.psd +0 -0
  314. data/sample/momo/tailavi/tailavi-taiyaki.png +0 -0
  315. data/sample/momo/tailavi/tailavi-taiyaki.psd +0 -0
  316. data/sample/momo/tailavi/tailavi-yokubari.png +0 -0
  317. data/sample/momo/tailavi/tailavi-yokubari.psd +0 -0
  318. data/sample/momo/tailavi/taiyaki.png +0 -0
  319. data/sample/momo/tailavi/taiyaki.psd +0 -0
  320. data/sample/momo/usako/blue_dot.png +0 -0
  321. data/sample/momo/usako/green_dot.png +0 -0
  322. data/sample/momo/usako/rabbit.png +0 -0
  323. data/sample/momo/usako/rabbit_mimi.png +0 -0
  324. data/sample/momo/usako/rabbit_mimi2.png +0 -0
  325. data/sample/momo/usako/red_dot.png +0 -0
  326. data/sample/momo/usako/ruby.png +0 -0
  327. data/sample/momo/usako/ruby_new.png +0 -0
  328. data/sample/momo/usako/usa1.png +0 -0
  329. data/sample/momo/usako/usa2.png +0 -0
  330. data/sample/momo/usako/usa3.png +0 -0
  331. data/sample/momo/usako/usako_psd.psd +0 -0
  332. data/sample/momo/usako/usako_psd_200.png +0 -0
  333. data/sample/rabbit-balloon.eps +0 -233
  334. data/sample/sode/kame-color.riff +0 -0
  335. data/sample/sode/kame.riff +0 -0
  336. data/sample/usatti/kame-taro.png +0 -0
  337. data/sample/usatti/rabbit-pink-logo.png +0 -0
  338. data/sample/usatti/rabbit-pink-logo2.png +0 -0
  339. data/sample/usatti/ruby-pink-circle-logo.png +0 -0
  340. data/sample/usatti/ruby-pink-circle.png +0 -0
  341. data/sample/usatti/ruby-pink-polygon-logo.png +0 -0
  342. data/sample/usatti/ruby-pink-polygon.png +0 -0
  343. data/sample/usatti/tanu-kitaro.png +0 -0
  344. data/sample/usatti/usa-taro.png +0 -0
  345. data/sample/usatti/yukidaru-taro.png +0 -0
data/README.en DELETED
@@ -1,850 +0,0 @@
1
- # -*- rd -*-
2
-
3
- = README.en
4
-
5
- $Id: README.en 1420 2010-10-24 14:42:20Z kou $
6
-
7
- == Name
8
-
9
- Rabbit
10
-
11
- == What is it?
12
-
13
- Rabbit is an RD-document-based presentation application.
14
-
15
- Rabbit has some features which set it apart from other
16
- presentation tools:
17
-
18
- * Use plain Ruby to define the look of your slides
19
- * Lots of keyboard commands
20
- * Mouse gesture support.
21
- * and more...
22
-
23
- == Screenshots
24
-
25
- ((<URL:http://pub.cozmixng.org/~gallery/kou/screenshot/rabbit/>))
26
-
27
- == Author
28
-
29
- === Program
30
-
31
- Kouhei Sutou <kou@cozmixng.org>
32
-
33
- === Images (1)
34
-
35
- * Lavie (mascot) ((-Lavie's sense of language is from Rabbit
36
- and spell is from `la vie' in French.-)) and Rabbit logos.
37
-
38
- (cute rabbit)
39
-
40
- * Tailavi and Taiyaki
41
-
42
- gluttonous rabbit loves Taiyaki.
43
-
44
- * Banner
45
-
46
- (cute banner)
47
-
48
- MoMo
49
-
50
- === Images (2)
51
-
52
- * USAGI (in Kanji)
53
-
54
- the cool rabbit.
55
-
56
- * KAME
57
-
58
- the cute turtle.
59
-
60
- sode
61
-
62
- === Images (3)
63
-
64
- Flags.
65
-
66
- gan
67
-
68
- === Images (4)
69
-
70
- * Rabbit pink logo
71
-
72
- * Ruby pink logo
73
-
74
- * USA-TARO
75
-
76
- * KAME-TARO
77
-
78
- * TANU-KITARO (TANU-san)
79
-
80
- * YUKIDARU-TARO (YUKIDARU-san)
81
-
82
- usatti
83
-
84
- === Images (5)
85
-
86
- * YUKI-USA
87
-
88
- pretty rabbit girl in Japanese dress.
89
-
90
- * Alice
91
-
92
- pretty girl in blue dress.
93
-
94
- asahina
95
-
96
- ((<URL:http://littleblue.chu.jp/>))
97
-
98
- === Mode for xyzzy
99
-
100
- misc/xyzzy/
101
-
102
- Mr. MIYAMUKO
103
-
104
- === Mode for Emacs
105
-
106
- misc/emacs/
107
-
108
- Atsushi Takeda
109
-
110
- === RabbIRC
111
-
112
- bin/rabbirc
113
-
114
- akira yamada
115
-
116
- === Rabbitter
117
-
118
- bin/rabbitter
119
-
120
- OBATA Akio
121
-
122
- == Co-Authors
123
-
124
- * Mr. MIYAMUKO
125
- * Mr. noritada
126
- * Atsushi Takeda
127
-
128
- == Copyright
129
-
130
- The code author retains copyright of the source code. In
131
- other words the committer retains copyright of his or her
132
- committed code and patch authors retain the copyright of
133
- their submitted patch code.
134
-
135
- The images above are copyright their respective owners.
136
-
137
- == License
138
-
139
- Licensed under GPLv2 or later. For more information see
140
- 'GPL' file. Provided patches, codes and so on are also
141
- licensed under GPLv2 or later. Kouhei Sutou can change their
142
- license. Authores of them are cosidered agreeing with those
143
- rules when they contribute their patches, codes and so on.
144
-
145
- lib/rabbit/div/prototype.js released under an MIT-style
146
- licence. For more information see ((<Prototype JavaScript
147
- Framework|URL:http://prototype.conio.net/>)).
148
-
149
- If you want to get a copy of the mascot character PSD files
150
- ask the program author. He'll forward the request to the
151
- author of the image.
152
-
153
- == Mailing list
154
-
155
- To Subscribe to the mailing list send an e-mail To
156
- rabbit-shockers-en@ml.cozmixng.org , please Cc:
157
- kou@cozmixng.org and put anything in the Subject and Body.
158
- ((<"rabbit-shockers-en@ml.cozmixng.org"|URL:mailto:rabbit-shockers-en@ml.cozmixng.org?cc=kou@cozmixng.org&subject=Join!>)).
159
-
160
- == Development status
161
-
162
- You can stay up to date on the latest development by
163
- subscribing to the SVN commit ML or ((<commit
164
- RSS|URL:http://www.cozmixng.org/rss/rabbit.rdf>)). If you
165
- want to subscribe to the ML, send an e-mail like the following.
166
-
167
- To: rabbit-commit@ml.cozmixng.org
168
- Cc: null@cozmixng.org
169
- Subject: SOMETHING
170
-
171
- SOMETHING
172
-
173
- == Requests
174
-
175
- Please contribute great themes because I have no artistic
176
- sense.
177
-
178
- Rabbit lacks documentation. Please help out!
179
-
180
- Please translate rabbit into your native language. You can make
181
- po/#{LANG}/rabbit.po by the running the following:
182
-
183
- % mkdir po/#{LANG}
184
- % ./update-po.rb
185
-
186
- == Dependencies
187
-
188
- See ((<INSTALL.win32.en>)) for how to install the
189
- dependencies in Windows.
190
-
191
- * ((<RAA:rdtool>))
192
- * Ruby/GTK2 in ((<RAA:ruby-gnome2>))
193
-
194
- === Suggested programs/libraries
195
-
196
- * mimeTeX (for writing TeX in RD)
197
- * gs (for reading EPS)
198
- * Ruby/RSVG in ((<RAA:ruby-gnome2>)) (for beautiful scaling
199
- SVG)
200
- * ((<RAA:ruby-gettext>)) (for displaying localized messages)
201
- * ((<RAA:htree>))
202
- * ((<Migemo|URL:http://0xcc.net/migemo/>))
203
- * LaTeX
204
- * Tgif
205
- * Dia
206
- * GIMP
207
- * HikiDoc
208
-
209
- === Included libraries
210
-
211
- * SOAP interface of ((<RAA:rwiki>)).
212
-
213
- == Download
214
-
215
- ((<URL:http://www.cozmixng.org/~kou/download/rabbit.tar.gz>))
216
-
217
- % svn co http://www.cozmixng.org/repos/rabbit/trunk rabbit
218
-
219
- == Install
220
-
221
- # ruby setup.rb
222
-
223
- Execute install.bat if you are on Windows.
224
-
225
- === Gentoo (Portage)
226
-
227
- % sudo env ACCEPT_KEYWORDS=~x86 FEATURES="digest" emerge rabbit
228
-
229
- is just ((%% sudo emerge rabbit%)) enough?
230
-
231
- == Usage
232
-
233
- % rabbit XXX.rd
234
-
235
- or
236
-
237
- % rabbit --type file XXX.rd
238
-
239
- or ...
240
-
241
- Type the following if you want to run sample/rabbit_en.rd.
242
-
243
- % rabbit --type file sample/rabbit_en.rd
244
-
245
- However, some samples use themes in sample/rabbit/theme and
246
- are not displayed correctly when run from the top directory.
247
- It's better to run the samples from the sample directory.
248
-
249
- If you are a Windows user, you can drag and drop an RD file
250
- onto bin/rabbit.bat.
251
-
252
- Otherwise you can invoke Rabbit by double clicking an RD file if
253
- you associate *.rd (or *.rbt (an abbreviation of Rabbit))
254
- with the following.
255
-
256
- <ruby install folder>\bin\rubyw -S rabbit
257
-
258
- === Options
259
-
260
- : -t, --theme=THEME
261
- Specifies the theme.
262
-
263
- : -I, --include=PATH
264
- Adds PATH to the load path. Load paths are used to find themes.
265
-
266
- : -B, --base=BASE
267
- Specifies the URI or path to resolve relative paths in the
268
- input. (For example, the path of image). If you don't
269
- specify it, it'll automatically decide based on the input
270
- source type.
271
-
272
- : -T, --type=TYPE
273
- Specifies the input source type.
274
-
275
- Available types are rwiki, file (default), argf and uri .
276
-
277
- : argf
278
-
279
- Uses ARGF as input source. This means, you can
280
- input via standard input.
281
-
282
- Note: argf doesn't support the auto source reload feature.
283
-
284
- Example:
285
- % rabbit --type argf file1.rd file2.rd ...
286
- or
287
- % cat file1.rd file2.rd ... | rabbit --type argf
288
- or
289
- % rabbit --type argf
290
- = title
291
- ...
292
- ^D
293
- or...
294
-
295
- : file
296
-
297
- Default. This means, `--type argf' is optional.
298
-
299
- Gets source from specified file.
300
-
301
- Supports the auto source reload feature.
302
-
303
- Example:
304
- % rabbit --type file file.rd
305
-
306
- : uri
307
-
308
- Gets source from the specified URI.
309
-
310
- You can use the auto source reload feature. But
311
- Rabbit will only reload once every 60 seconds for
312
- performance reasons.
313
-
314
- Example:
315
- % rabbit --type uri http://www.cozmixng.org/repos/rabbit/trunk/sample/rabbit-implementation.rd
316
- or
317
- % rabbit --type uri ftp://.../XXX.rd
318
- or ...
319
-
320
- Incidentally,
321
- % rabbit --type uri file:///.../XXX.rd
322
- and
323
- % rabbit --type uri /.../XXX.rd
324
- are same as
325
- % rabbit --type file /.../XXX.rd
326
-
327
-
328
- : rwiki
329
-
330
- Uses the content of the specified RWiki's page as
331
- the source. RWiki must have the SOAP interface enabled.
332
-
333
- You can use the auto source reload feature. But
334
- Rabbit will only reload once every 60 seconds for
335
- performance reasons.
336
-
337
- Example:
338
- % rabbit --type rwiki #{URI of SOAP interface of RWiki} #{page name}
339
-
340
- The encoding of #{page name} is the same as the RWiki
341
- page's encoding.
342
-
343
- : memory
344
-
345
- Manage the source in memory. In this type, the source
346
- can be modified by the dRuby/SOAP/etc. interfaces.
347
-
348
- You can set initial source by specifying a file name.
349
-
350
- Example (without initial source):
351
- % rabbit --type memory
352
-
353
- Example (with initial source):
354
- % rabbit --type memory file.rd
355
-
356
- : -e, --encoding=ENCODING
357
- Specifies encoding of the input source.
358
-
359
- Default is auto-detect.
360
-
361
- : -f, --full-screen, --no-f, --no-full-screen
362
- Specifies whether Rabbit is invoked in full screen mode.
363
-
364
- Default is no.
365
-
366
- : --index-mode, --no-index-mode
367
- Specifies whether Rabbit is invoked in index mode.
368
-
369
- Default is no.
370
-
371
- : -w, --width=WIDTH
372
- Specifies the width of the window.
373
-
374
- Default is 800.
375
-
376
- : -h, --height=HEIGHT
377
- Specifies the height of the window.
378
-
379
- Default is 600.
380
-
381
- : -S, --size=WIDTH,HEIGHT
382
- Specifies the width and height of the window.
383
-
384
- : -s, --save-as-image
385
- Saves each slide as image and exit.
386
-
387
- : -i, --saved-image-type=TYPE
388
- Specifies image type to save as.
389
-
390
- For example, png (default), jpeg etc.
391
-
392
- : -b, --saved-image-base-name=BASE_NAME
393
- Specifies base name of the saved image. Saved image's
394
- file name is "#{base name}#{page number}.#{extension}".
395
-
396
- Default is the title of the slide.
397
-
398
- If the encoding of your file system isn't UTF-8 and the
399
- saved filename is UTF-8, you may need to setup an
400
- environment variable such as LANG and
401
- G_FILENAME_ENCODING.
402
-
403
- : --output-html, --no-output-html
404
- Specifies whether Rabbit generates HTML or not for
405
- viewing saved slides.
406
-
407
- Default is off.
408
-
409
- : --output-index-html, --no-output-index-html
410
- Specifies whether Rabbit generates an index HTML file
411
- with thumbnailed slides or not.
412
-
413
- Default is off.
414
-
415
- : -p, --print
416
- Prints slide and exit. You can print to file or directory
417
- send printer by using --output-filename.
418
-
419
- But the quality is not good.
420
-
421
- : -o, --output-filename=FILENAME
422
- Specifies printed file name. Printed format is decided by
423
- the extension. The printed format is PostScript when the
424
- extension is .ps, PDF when extension is .pdf and
425
- PostScript otherwise.
426
-
427
- You can send the output formatted by PostScript to a
428
- program by specifying "|program-name".
429
-
430
- Default is "#{title of slide}.ps".
431
-
432
- : --paper-width=WIDTH
433
- Specifies the width (in inches) of the paper when printing.
434
-
435
- Default is the width of landscape A4.
436
-
437
- : --paper-height=HEIGHT
438
- Specifies the height (in inches) of the paper when printing.
439
-
440
- Default is the height of landscape A4.
441
-
442
- : --paper-size=WIDTH,HEIGHT
443
- Specifies the width and height of the paper when printing.
444
- The width and height is in inches.
445
-
446
- Default is the size of landscape A4.
447
-
448
- : --slides-per-page=SLIDES
449
- Specifies slides per page.
450
-
451
- Default is 1.
452
-
453
- : --margin=={ALL|TOP_BOTTOM,LEFT_RIGHT|TOP,LEFT_RIGHT,BOTTOM|TOP,RIGHT,BOTTOM,LEFT}, --margin-*=MARGIN
454
- Specifies margin of slide when slides per margin is
455
- greater than 1.
456
-
457
- Default is automatically computed by using slides per
458
- page. But the algorithm doesn't work very well when
459
- the slides per page is anything other than 2 or 8.
460
-
461
- : --page-margin=={ALL|TOP_BOTTOM,LEFT_RIGHT|TOP,LEFT_RIGHT,BOTTOM|TOP,RIGHT,BOTTOM,LEFT}, --page-margin-*=MARGIN
462
- Specifies page margin when printing.
463
-
464
- Default is 0.
465
-
466
- : --locale-dir=DIR
467
- Specifies the directory which has the locale data (*.mo).
468
- If you want to use Rabbit without installing to system,
469
- you can type the following in the top directory.
470
-
471
- % ruby -I./lib bin/rabbit --locale-dir data/locale sample/rabbit-en.rd
472
-
473
- Default is /usr/local/share/locale/,
474
- /usr/share/locale/ and so on.
475
-
476
- : --logger-type=TYPE
477
- Specifies how display the error log. If you specify `gui',
478
- the error log is displayed. You should specify --logger-type
479
- option because errors may occur when parsing rabbit's options.
480
-
481
- % rabbit --logger-type gui ...
482
-
483
- Default is stderr which outputs the log to standard error
484
- output.
485
-
486
- : --use-druby, --no-use-druby
487
- Specifies whether to use dRuby interface.
488
-
489
- Default is use.
490
-
491
- : --druby-uri=URI
492
- Specifies dRuby interface URI.
493
-
494
- Default is druby://:10101.
495
-
496
- : --output-druby-uri, --no-output-druby-uri
497
- Specifies whether to output dRuby interface URI.
498
-
499
- Default is not output.
500
-
501
- : --use-soap, --no-use-soap
502
- Specifies whether to use SOAP interface.
503
-
504
- Default is not use.
505
-
506
- : --soap-host=HOST
507
- Specifies SOAP interface host.
508
-
509
- Default is 0.0.0.0.
510
-
511
- : --soap-port=PORT
512
- Specifies SOAP interface port.
513
-
514
- Default is 10103.
515
-
516
- : --use-xmlrpc, --no-use-xmlrpc
517
- Specifies whether to use XML-RPC interface.
518
-
519
- Default is not use.
520
-
521
- : --xmlrpc-host=HOST
522
- Specifies XML-RPC interface host.
523
-
524
- Default is 0.0.0.0.
525
-
526
- : --xmlrpc-port=PORT
527
- Specifies XML-RPC interface port.
528
-
529
- Default is 10104.
530
-
531
- : --server, --no-server
532
- Specifies whether to run as server.
533
-
534
- Default is not server.
535
-
536
- : --public-level=LEVEL
537
- Specifies what Rabbit functions are public to external
538
- interfaces (dRuby/XML-RPC/SOAP). Select public level from
539
- strict, move, read-size, change-size, size, read-source,
540
- change-source, source and all. The later the public level
541
- indicates that Rabbit publishes more functions.
542
-
543
- Default is strict.
544
-
545
- : --comment-source=FILE
546
- Specifies initial comment source file name.
547
-
548
- Default is simple comment source provided by system.
549
-
550
- : --comment-encoding=ENCODING
551
- Specifies comment source encoding.
552
-
553
- Default is auto-detect.
554
-
555
- : --migemo-dictionary-search-path=PATH1,PATH2,...
556
- Specifies search paths for Migemo's static
557
- dictionary. Search paths are specified as a directory
558
- that has a static dictionary whose name is specified by
559
- --migemo-dictionary-name or as a path of a static
560
- dictionary. Two or more search paths can be specified by
561
- separating them with commas.
562
-
563
- Default is /usr/local/share and /usr/share.
564
-
565
- : --migemo-dictionary-name=NAME
566
- Specifies Migemo's static dictionary name.
567
-
568
- Default is migemo-dict.
569
-
570
- : --use-gl, --no-use-gl
571
- Specifies whether to use OpenGL if available.
572
-
573
- Default is not use.
574
-
575
- : --show-native-window-id, --no-show-native-window-id
576
- Specifies whether show window ID if available.
577
-
578
- Default is not show.
579
-
580
- == How to write slides for Rabbit
581
-
582
- See sample/rabbit-en.rd.
583
-
584
- === Page
585
-
586
- The largest headline (=) is title of page. The page follows
587
- next title.
588
-
589
- = Title
590
-
591
- SOMETHING
592
-
593
- ...
594
-
595
- = Next Page
596
-
597
- ...
598
-
599
- This example has two pages.
600
-
601
- === Title page
602
-
603
- The first page is the title page. You can specify meta
604
- information of the slide by using a labeled list (:) in the
605
- title page.
606
-
607
- = Title of slide
608
-
609
- : author
610
- Kouhei Sutou
611
- : institution
612
- COZMIXNG
613
-
614
- This example shows the author is Kouhei Sutou and his
615
- institution is COZMIXNG.
616
-
617
- At the moment, you can specify subtitle, content_source and
618
- even the theme. `theme" is the default theme of this slide.
619
-
620
- === Image
621
-
622
- Written as a verbatim block. See sample/rabbit-en.rd.
623
-
624
- === Entity reference
625
-
626
- Written as an inline verbatim. See sample/rabbit-en.rd.
627
-
628
- === Sub/Superscript
629
-
630
- Written as an inline verbatim. See sample/rabbit-en.rd.
631
-
632
- === Headline
633
-
634
- You can only use headlines for the biggest headline. (The
635
- only headline you really need is the title, right?)
636
-
637
- === Footnote
638
-
639
- You can footnotes but you shouldn't use it in a presentation.
640
-
641
- == Theme
642
-
643
- You can specify look and feel of the slide separate of RD.
644
- This is the theme.
645
-
646
- There is a slide for benchmarking your theme. It's
647
- sample/theme-bench-en.rab.
648
-
649
- === Where do I place the theme?
650
-
651
- Rabbit searches for themes by using ruby's $LOAD_PATH. If you make
652
- a theme, place it into
653
- ((|PATH_OF_INCLUDED_IN_$LOAD_PATH/rabbit/theme/THEME_NAME/THEME_NAME.rb|))
654
- or ((|DIRECTORY_OF_SOURCE_FILE/THEME_NAME.rb|)).
655
-
656
- === How do I write a theme?
657
-
658
- A theme is just a Ruby script.
659
-
660
- You may enumerate the following descriptions in your theme.
661
-
662
- (1) Select some elements (paragraphs, titles and so on) of
663
- the slide as a target.
664
-
665
- (2) Change properties of selected elements and add actions.
666
-
667
- For example, the following changes color of the title of each
668
- page except the title page.
669
-
670
- match(Page, HeadLine) do |heads|
671
- heads.prop_set("foreground", "red")
672
- end
673
-
674
-
675
- === Property
676
-
677
- You can set some properties by using
678
- (({prop_set})). ((<Pango Text Attribute
679
- Markup|URL:http://developer.gnome.org/doc/API/2.4/pango/PangoMarkupFormat.html>))
680
- has more information.
681
-
682
- : font_desc
683
- Specifies font description.
684
-
685
- : font_family
686
- Specifies font family.
687
-
688
- You can get a list of font families by using (({font_families})).
689
-
690
- : face
691
- Same as font_family.
692
-
693
- : size
694
- Specifies size of font.
695
-
696
- If you specify size of font by numeric value, you should
697
- convert the value by (({screen_size})) and multiply it by
698
- (({Pango::SCALE})). The following example shows how to
699
- specify size of font to 2 (in the Rabbit's theme world).
700
-
701
- screen_size(2) * Pango::SCALE
702
-
703
- : style
704
- Specifies style of font.
705
-
706
- : weight
707
- Specifies weight of font.
708
-
709
- : variant
710
- Specifies variant of font.
711
-
712
- : stretch
713
- Specifies stretch of font.
714
-
715
- : foreground
716
- Specifies foreground.
717
-
718
- : background
719
- Specifies background.
720
-
721
- : underline
722
- Specifies kind of underline.
723
-
724
- : rise
725
- Specifies vertical position of character.
726
-
727
- : strike through
728
- Specifies whether use strike line or not.
729
-
730
- : fallback
731
- Specifies whether use alternative font or not when
732
- specified font is not found.
733
-
734
- : lang
735
- Specifies the language.
736
-
737
- : b
738
- Changed to bold.
739
-
740
- : big
741
- Changed size of font to big.
742
-
743
- : i
744
- Changed to italic.
745
-
746
- : s
747
- Draws a strike line.
748
-
749
- : sub
750
- Changed to subscript.
751
-
752
- : sup
753
- Changed to superscript.
754
-
755
- : small
756
- Changed size of font to small.
757
-
758
- : tt
759
- Changed font family to fixed width font.
760
-
761
- : u
762
- Draws a underline.
763
-
764
- === Hooks
765
-
766
- You can add procedures which are executed before/after
767
- element is drawn by
768
- (({add_pre_draw_proc}))/(({add_post_draw_proc})). And you
769
- can remove them by
770
- (({clear_pre_draw_procs}))/(({clear_post_draw_procs})).
771
-
772
- The `default' theme has more code. Please see it.
773
-
774
- == Tips
775
-
776
- === To make a PDF which has some slides per page
777
-
778
- For example, we make XXX_multi.pdf which has 8 slides per
779
- page from XXX.rd.
780
-
781
- % rabbit -p --slides-per-page 8 -o XXX_multi.pdf XXX.rd
782
-
783
- == Thanks
784
-
785
- * MoMo: Drew some pretty images.
786
- * MIYAMUKO: Wrote rabbit mode for xyzzy, and helps
787
- make Rabbit work on Windows.
788
- * zunda:
789
- * Fixed EPS handling.
790
- * Gave me advise for --margin.
791
- * Makes presentations with Rabbit.
792
- * Updated INSTALL.win32.ja.
793
- * Updated INSTALL.macosx-macports.{ja,en}.
794
- * Vincent: Helped make Rabbit work on Max OS X. He also
795
- made french messages.
796
- * sode: Made the cool rabbit, cute rabbit and cute
797
- turtle.
798
- * Kazuhiko: Sent me many bug reports. He also makes
799
- presentations with Rabbit and gives me ideas for theme
800
- design.
801
- * noritada: Sent me a bug report for document.
802
- * gan: Wrote some flags.
803
- * KAKUTANI:
804
- * Sent me a bug report for document.
805
- * Makes presentations with Rabbit.
806
- * Gave me ideas for new features and theme design.
807
- * Gave me a patch to fix a bug related HTML
808
- generation.
809
- * Made a Mac OS X (Intel) package.
810
- * atzm: Made Gentoo package (*.ebuild).
811
- * akira yamada:
812
- * Made Debian package (*.deb).
813
- * Reports some bugs and also fixes them.
814
- * Made rabbirc.
815
- * usatti: Drew some logos and taro series images.
816
- * dot: Helps with installation on Windows.
817
- * tanaka: Checked operations on Windows.
818
- * asahina: Drew the pretty rabbit girl and Alice.
819
- * nskj77: Gave a name to FAQ page. He sends action
820
- reporting and some bug reports.
821
- * Atsushi Takeda: Wrote rabbit mode for Emacs.
822
- * kimura wataru: Made a Mac OS X package.
823
- * kitaj:
824
- * Makes presentations with Rabbit.
825
- * Improved INSTALL.win32.en.
826
- * Improved a theme.
827
- * akapy: Wrote a document for emerge.
828
- * OBATA Akio:
829
- * Made a pkgsrc package.
830
- * Makes presentations with Rabbit.
831
- * Reports some bugs and also fixes them.
832
- * Helps debug many problems.
833
- * Made Rabbitter.
834
- * Masao Mutoh:
835
- * Makes presentations with Rabbit.
836
- * Updated INSTALL.win32.ja.
837
- * TADA Tadashi:
838
- * Makes presentations with Rabbit.
839
- * Contributed his themes.
840
- * Propposed the idea to have Rabbit provide a slide for
841
- benchmarking your theme.
842
- * Shugo Maeda:
843
- * Makes presentations with Rabbit.
844
- * Reported a bug.
845
- * JunichiNakai: Reports bugs.
846
- * Eduardo Gonzalez: Improves documents in English.
847
- * Kazuhiro NISHIYAMA: Reported a bug.
848
- * Masaki Suketa: Reported bugs related Ruby 1.9.
849
- * kdmsnr: Reported a bug.
850
- * Youhei SASAKI: The official Debian package maintainer.