rabbit 1.0.9 → 2.0.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.
- data/GPL +19 -20
- data/Rakefile +25 -10
- data/bin/rabbit +20 -844
- data/bin/rabbit-command +25 -36
- data/bin/rabbit-slide +22 -0
- data/bin/rabbit-theme +22 -0
- data/bin/rabbit-theme-manager +30 -30
- data/data/account.kou.gpg +0 -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/_config.yml +8 -0
- data/doc/_includes/en.menu.html +8 -0
- data/doc/_includes/ja.menu.html +8 -0
- data/doc/_layouts/en.html +19 -16
- data/doc/_layouts/ja.html +19 -16
- data/doc/_plugins/converters/rd.rb +1 -1
- data/doc/_plugins/support_symlink.rb +11 -0
- data/doc/en/development.rd +2 -2
- data/doc/en/how-to-make/index.rd +5 -5
- data/doc/en/how-to-make/rd.rd +1 -1
- data/doc/en/index.rd +6 -12
- data/doc/en/sample/index.rd +3 -3
- data/doc/en/slides.rd +2 -0
- data/doc/en/usage.rd +14 -356
- data/doc/en/usage/rabbit.rd +360 -0
- data/doc/en/users.rd +3 -1
- data/doc/images/screenshots/en/blue-circle-raw.png +0 -0
- 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-raw.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-raw.png +0 -0
- data/doc/images/screenshots/en/debian.png +0 -0
- data/doc/images/screenshots/en/green-circle-raw.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-raw.png +0 -0
- data/doc/images/screenshots/en/red-frame.png +0 -0
- data/doc/images/screenshots/en/ruby-gnome2-raw.png +0 -0
- data/doc/images/screenshots/en/ruby-gnome2.png +0 -0
- data/doc/images/screenshots/en/rubykaigi2011-raw.png +0 -0
- data/doc/images/screenshots/en/rubykaigi2011.png +0 -0
- data/doc/images/screenshots/ja/blue-circle-raw.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-raw.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-raw.png +0 -0
- data/doc/images/screenshots/ja/debian.png +0 -0
- data/doc/images/screenshots/ja/green-circle-raw.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-raw.png +0 -0
- data/doc/images/screenshots/ja/red-frame.png +0 -0
- data/doc/images/screenshots/ja/ruby-gnome2-raw.png +0 -0
- data/doc/images/screenshots/ja/ruby-gnome2.png +0 -0
- data/doc/images/screenshots/ja/rubykaigi2011-raw.png +0 -0
- data/doc/images/screenshots/ja/rubykaigi2011.png +0 -0
- data/doc/index.html.en +1 -1
- data/doc/index.html.ja +1 -1
- data/doc/ja/about.rd +3 -3
- data/doc/ja/development.rd +2 -2
- data/doc/ja/how-to-make/index.rd +5 -5
- data/doc/ja/index.rd +10 -16
- data/doc/ja/install/macports.rd +1 -1
- data/doc/ja/news.rd +4 -4
- data/doc/ja/sample/index.rd +3 -3
- data/doc/ja/usage.rd +13 -358
- data/doc/ja/usage/rabbit.rd +362 -0
- data/doc/ja/users.rd +1 -1
- data/lib/rabbit/action.rb +2 -2
- data/lib/rabbit/author-configuration.rb +73 -0
- data/lib/rabbit/canvas.rb +0 -14
- data/lib/rabbit/command/rabbit-slide.rb +571 -0
- data/lib/rabbit/command/rabbit-theme.rb +381 -0
- data/lib/rabbit/command/rabbit.rb +898 -0
- data/lib/rabbit/config.rb +40 -0
- data/lib/rabbit/console.rb +124 -55
- data/lib/rabbit/gem-finder.rb +61 -0
- data/lib/rabbit/gettext.rb +6 -79
- data/lib/rabbit/html/generator.rb +1 -0
- data/lib/rabbit/image.rb +1 -1
- data/lib/rabbit/logger.rb +12 -2
- data/lib/rabbit/logger/base.rb +33 -32
- data/lib/rabbit/logger/stderr.rb +1 -1
- data/lib/rabbit/menu.rb +1 -1
- data/lib/rabbit/parser.rb +2 -0
- data/lib/rabbit/parser/ext/image.rb +14 -20
- data/lib/rabbit/path-manipulatable.rb +40 -0
- data/lib/rabbit/rabbit.rb +18 -8
- data/lib/rabbit/renderer/base.rb +3 -4
- data/lib/rabbit/renderer/color.rb +0 -1
- data/lib/rabbit/slideshare.rb +116 -0
- data/lib/rabbit/source/base.rb +1 -1
- data/lib/rabbit/stock.rb +1 -1
- data/lib/rabbit/task.rb +18 -0
- data/lib/rabbit/task/slide.rb +162 -0
- data/lib/rabbit/task/theme.rb +122 -0
- data/lib/rabbit/theme-browser/tree.rb +1 -1
- data/lib/rabbit/theme/applier.rb +9 -0
- data/lib/rabbit/theme/background-image-toolkit/background-image-toolkit.rb +1 -2
- data/lib/rabbit/theme/blue-bar/blue-bar.rb +0 -11
- data/lib/rabbit/theme/clear-blue/clear-blue.rb +0 -11
- data/lib/rabbit/theme/cozmixng/cozmixng.rb +0 -11
- data/lib/rabbit/theme/day-white/day-white.rb +0 -6
- data/lib/rabbit/theme/default/default.rb +7 -1
- data/lib/rabbit/theme/enishi-green/property.rb +2 -2
- data/lib/rabbit/theme/entry.rb +85 -27
- data/lib/rabbit/theme/image-slide-number/image-slide-number.rb +4 -1
- data/lib/rabbit/theme/lightning-monochrome/lightning-monochrome.rb +0 -1
- data/lib/rabbit/theme/lightning-simple/lightning-simple.rb +0 -1
- data/lib/rabbit/theme/nari/nari.rb +6 -16
- data/lib/rabbit/theme/nari/property.rb +3 -0
- data/lib/rabbit/theme/night-black/night-black.rb +0 -6
- data/lib/rabbit/theme/pdf/pdf.rb +0 -4
- data/lib/rabbit/theme/rabbit/rabbit.rb +0 -6
- data/lib/rabbit/theme/ranguba/ranguba.rb +0 -12
- data/lib/rabbit/theme/ruby-gnome2/ruby-gnome2.rb +7 -4
- data/lib/rabbit/theme/rubykaigi2011/rubykaigi2011.rb +2 -9
- data/lib/rabbit/theme/searcher.rb +38 -16
- data/lib/rabbit/theme/syntax-highlighting/property.rb +2 -2
- data/lib/rabbit/version.rb +19 -0
- data/po/en/rabbit.po +1605 -1425
- data/po/fr/rabbit.po +1756 -1684
- data/po/ja/rabbit.po +2198 -2097
- data/po/rabbit.pot +1556 -1419
- metadata +34 -100
- data/bin/rabbirack +0 -99
- data/bin/rabbiter +0 -108
- data/bin/rabrick +0 -95
- data/bin/rabwii +0 -77
- data/lib/rabbit/default-config.rb +0 -24
- data/lib/rabbit/div/comment-i.erb +0 -7
- data/lib/rabbit/div/comment.erb +0 -45
- data/lib/rabbit/div/css.erb +0 -1
- data/lib/rabbit/div/js.erb +0 -1
- data/lib/rabbit/div/log.erb +0 -5
- data/lib/rabbit/div/main-i.erb +0 -24
- data/lib/rabbit/div/main.css +0 -40
- data/lib/rabbit/div/main.erb +0 -33
- data/lib/rabbit/div/navi-i.erb +0 -6
- data/lib/rabbit/div/navi.erb +0 -6
- data/lib/rabbit/div/prototype.js +0 -4320
- data/lib/rabbit/div/slide-i.erb +0 -2
- data/lib/rabbit/div/slide.erb +0 -5
- data/lib/rabbit/div/tofu.rb +0 -309
- data/lib/rabbit/middleware/config.ru +0 -42
- data/lib/rabbit/middleware/controller.rb +0 -63
- data/lib/rabbit/middleware/public/stylesheets/rabbirack.css +0 -12
- data/lib/rabbit/middleware/views/index.haml +0 -13
- data/lib/rabbit/middleware/views/layout.haml +0 -8
- data/lib/rabbit/post-setup.rb +0 -8
- data/lib/rabbit/pre-clean.rb +0 -2
- data/lib/rabbit/pre-distclean.rb +0 -2
- data/lib/rabbit/theme/twitter-comment/property.rb +0 -4
- data/lib/rabbit/theme/twitter-comment/twitter-comment.rb +0 -15
- data/lib/rabbit/twitter.rb +0 -239
- data/sample/theme-bench-en.hiki +0 -100
- data/sample/theme-bench-en.rab +0 -127
- data/sample/theme-bench.hiki +0 -101
- data/sample/theme-bench.rab +0 -128
- data/setup.rb +0 -1585
- data/update-mo.rb +0 -20
- data/update-po.rb +0 -57
data/doc/en/how-to-make/index.rd
CHANGED
|
@@ -11,10 +11,10 @@ and export slide as PDF format.
|
|
|
11
11
|
|
|
12
12
|
See the following pages for details:
|
|
13
13
|
|
|
14
|
-
* ((<rd.
|
|
15
|
-
* ((<hiki.
|
|
16
|
-
* ((<markdown.
|
|
17
|
-
* ((<pdf.
|
|
14
|
+
* ((<rd.rd/How to make a RD format slide>))
|
|
15
|
+
* ((<hiki.rd/How to make a Hiki notation slide>))
|
|
16
|
+
* ((<markdown.rd/How to make a Markdown format slide>))
|
|
17
|
+
* ((<pdf.rd/How to make a PDF format slide>))
|
|
18
18
|
|
|
19
19
|
== How to make a theme
|
|
20
20
|
|
|
@@ -23,4 +23,4 @@ slide source is RD format or Hiki notation. ((-PDF format
|
|
|
23
23
|
slide can also be customizable but layout by PDF can't be
|
|
24
24
|
changed.-)) See the following page for details:
|
|
25
25
|
|
|
26
|
-
* ((<theme.
|
|
26
|
+
* ((<theme.rd/How to make a theme>))
|
data/doc/en/how-to-make/rd.rd
CHANGED
|
@@ -5,7 +5,7 @@ title: How to make a RD format slide source
|
|
|
5
5
|
== About RD format for Rabbit slide
|
|
6
6
|
|
|
7
7
|
Rabbit uses RD format but it uses different usage with
|
|
8
|
-
normal document. See ((<"../rd.
|
|
8
|
+
normal document. See ((<"../rd.rd"/RD>)) about basic RD
|
|
9
9
|
syntax, ((<"../sample/"/sample slide>)) about sample slide.
|
|
10
10
|
|
|
11
11
|
== Page
|
data/doc/en/index.rd
CHANGED
|
@@ -28,10 +28,10 @@ presentation slides.
|
|
|
28
28
|
|
|
29
29
|
Rabbit supports RD, Wiki notation and Markdown for text format.
|
|
30
30
|
|
|
31
|
-
((<rd.
|
|
31
|
+
((<rd.rd/RD>)) is an abbreviation of Ruby Document. It's
|
|
32
32
|
easy to read text format.
|
|
33
33
|
|
|
34
|
-
Rabbit supports a ((<hiki.
|
|
34
|
+
Rabbit supports a ((<hiki.rd/Hiki notation>)) that is a
|
|
35
35
|
dialect of Wiki notations.
|
|
36
36
|
|
|
37
37
|
=== Interface
|
|
@@ -50,7 +50,7 @@ See ((<"install/"/Install>)) page.
|
|
|
50
50
|
|
|
51
51
|
== Usage
|
|
52
52
|
|
|
53
|
-
See ((<usage.
|
|
53
|
+
See ((<usage.rd/Usage>)) page.
|
|
54
54
|
|
|
55
55
|
== How to make slides
|
|
56
56
|
|
|
@@ -145,12 +145,6 @@ bin/rabbirc
|
|
|
145
145
|
|
|
146
146
|
akira yamada
|
|
147
147
|
|
|
148
|
-
=== Rabbitter
|
|
149
|
-
|
|
150
|
-
bin/rabbitter
|
|
151
|
-
|
|
152
|
-
OBATA Akio
|
|
153
|
-
|
|
154
148
|
== Co-Authors
|
|
155
149
|
|
|
156
150
|
* Mr. MIYAMUKO
|
|
@@ -190,15 +184,15 @@ author of the image.
|
|
|
190
184
|
|
|
191
185
|
== Mailing list
|
|
192
186
|
|
|
193
|
-
See ((<users.
|
|
187
|
+
See ((<users.rd/Users>)) page.
|
|
194
188
|
|
|
195
189
|
== Join development
|
|
196
190
|
|
|
197
|
-
See ((<development.
|
|
191
|
+
See ((<development.rd/Development>)) page.
|
|
198
192
|
|
|
199
193
|
== FAQ
|
|
200
194
|
|
|
201
|
-
See ((<faq.
|
|
195
|
+
See ((<faq.rd/FAQ>)) page.
|
|
202
196
|
|
|
203
197
|
== Thanks
|
|
204
198
|
|
data/doc/en/sample/index.rd
CHANGED
|
@@ -4,12 +4,12 @@ title: Sample slides
|
|
|
4
4
|
---
|
|
5
5
|
== RD format samples
|
|
6
6
|
|
|
7
|
-
* ((<"rd/rabbit.
|
|
7
|
+
* ((<"rd/rabbit.rd"/Rabbit>))
|
|
8
8
|
|
|
9
9
|
== Hiki notation samples
|
|
10
10
|
|
|
11
|
-
* ((<"hiki/rabbit.
|
|
11
|
+
* ((<"hiki/rabbit.rd"/Rabbit>))
|
|
12
12
|
|
|
13
13
|
== Markdown format samples
|
|
14
14
|
|
|
15
|
-
* ((<"markdown/rabbit.
|
|
15
|
+
* ((<"markdown/rabbit.rd"/Rabbit>))
|
data/doc/en/slides.rd
CHANGED
data/doc/en/usage.rd
CHANGED
|
@@ -2,359 +2,17 @@
|
|
|
2
2
|
layout: en
|
|
3
3
|
title: Usage
|
|
4
4
|
---
|
|
5
|
-
==
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
% rabbit --type file XXX.rd
|
|
20
|
-
|
|
21
|
-
or ...
|
|
22
|
-
|
|
23
|
-
Type the following if you want to run sample/rabbit_en.rd.
|
|
24
|
-
|
|
25
|
-
% rabbit --type file sample/rabbit_en.rd
|
|
26
|
-
|
|
27
|
-
However, some samples use themes in sample/rabbit/theme and
|
|
28
|
-
are not displayed correctly when run from the top directory.
|
|
29
|
-
It's better to run the samples from the sample directory.
|
|
30
|
-
|
|
31
|
-
If you are a Windows user, you can drag and drop an RD file
|
|
32
|
-
onto bin/rabbit.bat.
|
|
33
|
-
|
|
34
|
-
Otherwise you can invoke Rabbit by double clicking an RD file if
|
|
35
|
-
you associate *.rd (or *.rab (an abbreviation of Rabbit))
|
|
36
|
-
with the following.
|
|
37
|
-
|
|
38
|
-
<ruby install folder>\bin\rubyw -S rabbit
|
|
39
|
-
|
|
40
|
-
=== Options
|
|
41
|
-
|
|
42
|
-
: -t, --theme=THEME
|
|
43
|
-
Specifies the theme.
|
|
44
|
-
|
|
45
|
-
: -I, --include=PATH
|
|
46
|
-
Adds PATH to the load path. Load paths are used to find themes.
|
|
47
|
-
|
|
48
|
-
: --comment-theme=THEME
|
|
49
|
-
Specifies the comment theme. Available themes are
|
|
50
|
-
footer-comment (default) that shows comments in the
|
|
51
|
-
footer and stream-comment that streams comments on
|
|
52
|
-
slides.
|
|
53
|
-
|
|
54
|
-
: --allotted-time=TIME
|
|
55
|
-
Specifies allotted time for presentation. It overrides
|
|
56
|
-
allotted time specified in title slide.
|
|
57
|
-
|
|
58
|
-
: -B, --base=BASE
|
|
59
|
-
Specifies the URI or path to resolve relative paths in the
|
|
60
|
-
input. (For example, the path of image). If you don't
|
|
61
|
-
specify it, it'll automatically decide based on the input
|
|
62
|
-
source type.
|
|
63
|
-
|
|
64
|
-
: -T, --type=TYPE
|
|
65
|
-
Specifies the input source type.
|
|
66
|
-
|
|
67
|
-
Available types are file (default), argf and uri .
|
|
68
|
-
|
|
69
|
-
: argf
|
|
70
|
-
|
|
71
|
-
Uses ARGF as input source. This means, you can
|
|
72
|
-
input via standard input.
|
|
73
|
-
|
|
74
|
-
Note: argf doesn't support the auto source reload feature.
|
|
75
|
-
|
|
76
|
-
Example:
|
|
77
|
-
% rabbit --type argf file1.rd file2.rd ...
|
|
78
|
-
or
|
|
79
|
-
% cat file1.rd file2.rd ... | rabbit --type argf
|
|
80
|
-
or
|
|
81
|
-
% rabbit --type argf
|
|
82
|
-
= title
|
|
83
|
-
...
|
|
84
|
-
^D
|
|
85
|
-
or...
|
|
86
|
-
|
|
87
|
-
: file
|
|
88
|
-
|
|
89
|
-
Default. This means, `--type argf' is optional.
|
|
90
|
-
|
|
91
|
-
Gets source from specified file.
|
|
92
|
-
|
|
93
|
-
Supports the auto source reload feature.
|
|
94
|
-
|
|
95
|
-
Example:
|
|
96
|
-
% rabbit --type file file.rd
|
|
97
|
-
|
|
98
|
-
: uri
|
|
99
|
-
|
|
100
|
-
Gets source from the specified URI.
|
|
101
|
-
|
|
102
|
-
You can use the auto source reload feature. But
|
|
103
|
-
Rabbit will only reload once every 60 seconds for
|
|
104
|
-
performance reasons.
|
|
105
|
-
|
|
106
|
-
Example:
|
|
107
|
-
% rabbit --type uri http://www.cozmixng.org/repos/rabbit/trunk/sample/rabbit-implementation.rd
|
|
108
|
-
or
|
|
109
|
-
% rabbit --type uri ftp://.../XXX.rd
|
|
110
|
-
or ...
|
|
111
|
-
|
|
112
|
-
Incidentally,
|
|
113
|
-
% rabbit --type uri file:///.../XXX.rd
|
|
114
|
-
and
|
|
115
|
-
% rabbit --type uri /.../XXX.rd
|
|
116
|
-
are same as
|
|
117
|
-
% rabbit --type file /.../XXX.rd
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
: memory
|
|
121
|
-
|
|
122
|
-
Manage the source in memory. In this type, the source
|
|
123
|
-
can be modified by the dRuby/SOAP/etc. interfaces.
|
|
124
|
-
|
|
125
|
-
You can set initial source by specifying a file name.
|
|
126
|
-
|
|
127
|
-
Example (without initial source):
|
|
128
|
-
% rabbit --type memory
|
|
129
|
-
|
|
130
|
-
Example (with initial source):
|
|
131
|
-
% rabbit --type memory file.rd
|
|
132
|
-
|
|
133
|
-
: -e, --encoding=ENCODING
|
|
134
|
-
Specifies encoding of the input source.
|
|
135
|
-
|
|
136
|
-
Default is auto-detect.
|
|
137
|
-
|
|
138
|
-
: -f, --full-screen, --no-f, --no-full-screen
|
|
139
|
-
Specifies whether Rabbit is invoked in full screen mode.
|
|
140
|
-
|
|
141
|
-
Default is no.
|
|
142
|
-
|
|
143
|
-
: --index-mode, --no-index-mode
|
|
144
|
-
Specifies whether Rabbit is invoked in index mode.
|
|
145
|
-
|
|
146
|
-
Default is no.
|
|
147
|
-
|
|
148
|
-
: -w, --width=WIDTH
|
|
149
|
-
Specifies the width of the window.
|
|
150
|
-
|
|
151
|
-
Default is 800.
|
|
152
|
-
|
|
153
|
-
: -h, --height=HEIGHT
|
|
154
|
-
Specifies the height of the window.
|
|
155
|
-
|
|
156
|
-
Default is 600.
|
|
157
|
-
|
|
158
|
-
: -S, --size=WIDTH,HEIGHT
|
|
159
|
-
Specifies the width and height of the window.
|
|
160
|
-
|
|
161
|
-
: -s, --save-as-image
|
|
162
|
-
Saves each slide as image and exit.
|
|
163
|
-
|
|
164
|
-
: -i, --saved-image-type=TYPE
|
|
165
|
-
Specifies image type to save as.
|
|
166
|
-
|
|
167
|
-
For example, png (default), jpeg etc.
|
|
168
|
-
|
|
169
|
-
: -b, --saved-image-base-name=BASE_NAME
|
|
170
|
-
Specifies base name of the saved image. Saved image's
|
|
171
|
-
file name is "#{base name}#{page number}.#{extension}".
|
|
172
|
-
|
|
173
|
-
Default is the title of the slide.
|
|
174
|
-
|
|
175
|
-
If the encoding of your file system isn't UTF-8 and the
|
|
176
|
-
saved filename is UTF-8, you may need to setup an
|
|
177
|
-
environment variable such as LANG and
|
|
178
|
-
G_FILENAME_ENCODING.
|
|
179
|
-
|
|
180
|
-
: --output-html, --no-output-html
|
|
181
|
-
Specifies whether Rabbit generates HTML or not for
|
|
182
|
-
viewing saved slides.
|
|
183
|
-
|
|
184
|
-
Default is off.
|
|
185
|
-
|
|
186
|
-
: --output-index-html, --no-output-index-html
|
|
187
|
-
Specifies whether Rabbit generates an index HTML file
|
|
188
|
-
with thumbnailed slides or not.
|
|
189
|
-
|
|
190
|
-
Default is off.
|
|
191
|
-
|
|
192
|
-
: -p, --print
|
|
193
|
-
Prints slide and exit. You can print to file or directory
|
|
194
|
-
send printer by using --output-filename.
|
|
195
|
-
|
|
196
|
-
But the quality is not good.
|
|
197
|
-
|
|
198
|
-
: -o, --output-filename=FILENAME
|
|
199
|
-
Specifies printed file name. Printed format is decided by
|
|
200
|
-
the extension. The printed format is PostScript when the
|
|
201
|
-
extension is .ps, PDF when extension is .pdf and
|
|
202
|
-
PostScript otherwise.
|
|
203
|
-
|
|
204
|
-
You can send the output formatted by PostScript to a
|
|
205
|
-
program by specifying "|program-name".
|
|
206
|
-
|
|
207
|
-
Default is "#{title of slide}.ps".
|
|
208
|
-
|
|
209
|
-
: --paper-width=WIDTH
|
|
210
|
-
Specifies the width (in inches) of the paper when printing.
|
|
211
|
-
|
|
212
|
-
Default is the width of landscape A4.
|
|
213
|
-
|
|
214
|
-
: --paper-height=HEIGHT
|
|
215
|
-
Specifies the height (in inches) of the paper when printing.
|
|
216
|
-
|
|
217
|
-
Default is the height of landscape A4.
|
|
218
|
-
|
|
219
|
-
: --paper-size=WIDTH,HEIGHT
|
|
220
|
-
Specifies the width and height of the paper when printing.
|
|
221
|
-
The width and height is in inches.
|
|
222
|
-
|
|
223
|
-
Default is the size of landscape A4.
|
|
224
|
-
|
|
225
|
-
: --slides-per-page=SLIDES
|
|
226
|
-
Specifies slides per page.
|
|
227
|
-
|
|
228
|
-
Default is 1.
|
|
229
|
-
|
|
230
|
-
: --margin=={ALL|TOP_BOTTOM,LEFT_RIGHT|TOP,LEFT_RIGHT,BOTTOM|TOP,RIGHT,BOTTOM,LEFT}, --margin-*=MARGIN
|
|
231
|
-
Specifies margin of slide when slides per margin is
|
|
232
|
-
greater than 1.
|
|
233
|
-
|
|
234
|
-
Default is automatically computed by using slides per
|
|
235
|
-
page. But the algorithm doesn't work very well when
|
|
236
|
-
the slides per page is anything other than 2 or 8.
|
|
237
|
-
|
|
238
|
-
: --page-margin=={ALL|TOP_BOTTOM,LEFT_RIGHT|TOP,LEFT_RIGHT,BOTTOM|TOP,RIGHT,BOTTOM,LEFT}, --page-margin-*=MARGIN
|
|
239
|
-
Specifies page margin when printing.
|
|
240
|
-
|
|
241
|
-
Default is 0.
|
|
242
|
-
|
|
243
|
-
: --locale-dir=DIR
|
|
244
|
-
Specifies the directory which has the locale data (*.mo).
|
|
245
|
-
If you want to use Rabbit without installing to system,
|
|
246
|
-
you can type the following in the top directory.
|
|
247
|
-
|
|
248
|
-
% ruby -I./lib bin/rabbit --locale-dir data/locale sample/rabbit-en.rd
|
|
249
|
-
|
|
250
|
-
Default is /usr/local/share/locale/,
|
|
251
|
-
/usr/share/locale/ and so on.
|
|
252
|
-
|
|
253
|
-
: --logger-type=TYPE
|
|
254
|
-
Specifies how display the error log. If you specify `gui',
|
|
255
|
-
the error log is displayed. You should specify --logger-type
|
|
256
|
-
option because errors may occur when parsing rabbit's options.
|
|
257
|
-
|
|
258
|
-
% rabbit --logger-type gui ...
|
|
259
|
-
|
|
260
|
-
Default is stderr which outputs the log to standard error
|
|
261
|
-
output.
|
|
262
|
-
|
|
263
|
-
: --use-druby, --no-use-druby
|
|
264
|
-
Specifies whether to use dRuby interface.
|
|
265
|
-
|
|
266
|
-
Default is use.
|
|
267
|
-
|
|
268
|
-
: --druby-uri=URI
|
|
269
|
-
Specifies dRuby interface URI.
|
|
270
|
-
|
|
271
|
-
Default is druby://:10101.
|
|
272
|
-
|
|
273
|
-
: --output-druby-uri, --no-output-druby-uri
|
|
274
|
-
Specifies whether to output dRuby interface URI.
|
|
275
|
-
|
|
276
|
-
Default is not output.
|
|
277
|
-
|
|
278
|
-
: --use-soap, --no-use-soap
|
|
279
|
-
Specifies whether to use SOAP interface.
|
|
280
|
-
|
|
281
|
-
Default is not use.
|
|
282
|
-
|
|
283
|
-
: --soap-host=HOST
|
|
284
|
-
Specifies SOAP interface host.
|
|
285
|
-
|
|
286
|
-
Default is 0.0.0.0.
|
|
287
|
-
|
|
288
|
-
: --soap-port=PORT
|
|
289
|
-
Specifies SOAP interface port.
|
|
290
|
-
|
|
291
|
-
Default is 10103.
|
|
292
|
-
|
|
293
|
-
: --use-xmlrpc, --no-use-xmlrpc
|
|
294
|
-
Specifies whether to use XML-RPC interface.
|
|
295
|
-
|
|
296
|
-
Default is not use.
|
|
297
|
-
|
|
298
|
-
: --xmlrpc-host=HOST
|
|
299
|
-
Specifies XML-RPC interface host.
|
|
300
|
-
|
|
301
|
-
Default is 0.0.0.0.
|
|
302
|
-
|
|
303
|
-
: --xmlrpc-port=PORT
|
|
304
|
-
Specifies XML-RPC interface port.
|
|
305
|
-
|
|
306
|
-
Default is 10104.
|
|
307
|
-
|
|
308
|
-
: --server, --no-server
|
|
309
|
-
Specifies whether to run as server.
|
|
310
|
-
|
|
311
|
-
Default is not server.
|
|
312
|
-
|
|
313
|
-
: --public-level=LEVEL
|
|
314
|
-
Specifies what Rabbit functions are public to external
|
|
315
|
-
interfaces (dRuby/XML-RPC/SOAP). Select public level from
|
|
316
|
-
strict, move, read-size, change-size, size, read-source,
|
|
317
|
-
change-source, source and all. The later the public level
|
|
318
|
-
indicates that Rabbit publishes more functions.
|
|
319
|
-
|
|
320
|
-
Default is strict.
|
|
321
|
-
|
|
322
|
-
: --comment-source=FILE
|
|
323
|
-
Specifies initial comment source file name.
|
|
324
|
-
|
|
325
|
-
Default is simple comment source provided by system.
|
|
326
|
-
|
|
327
|
-
: --comment-encoding=ENCODING
|
|
328
|
-
Specifies comment source encoding.
|
|
329
|
-
|
|
330
|
-
Default is auto-detect.
|
|
331
|
-
|
|
332
|
-
: --migemo-dictionary-search-path=PATH1,PATH2,...
|
|
333
|
-
Specifies search paths for Migemo's static
|
|
334
|
-
dictionary. Search paths are specified as a directory
|
|
335
|
-
that has a static dictionary whose name is specified by
|
|
336
|
-
--migemo-dictionary-name or as a path of a static
|
|
337
|
-
dictionary. Two or more search paths can be specified by
|
|
338
|
-
separating them with commas.
|
|
339
|
-
|
|
340
|
-
Default is /usr/local/share and /usr/share.
|
|
341
|
-
|
|
342
|
-
: --migemo-dictionary-name=NAME
|
|
343
|
-
Specifies Migemo's static dictionary name.
|
|
344
|
-
|
|
345
|
-
Default is migemo-dict.
|
|
346
|
-
|
|
347
|
-
: --use-gl, --no-use-gl
|
|
348
|
-
Specifies whether to use OpenGL if available.
|
|
349
|
-
|
|
350
|
-
Default is not use.
|
|
351
|
-
|
|
352
|
-
: --show-native-window-id, --no-show-native-window-id
|
|
353
|
-
Specifies whether show window ID if available.
|
|
354
|
-
|
|
355
|
-
Default is not show.
|
|
356
|
-
|
|
357
|
-
== Launcher mode
|
|
358
|
-
|
|
359
|
-
Rabbit shows file chose dialog on no console
|
|
360
|
-
environment. Rabbit shows a slide what you chose.
|
|
5
|
+
== Summary
|
|
6
|
+
|
|
7
|
+
((%rabbit%)) command that displays slides is the main tool for
|
|
8
|
+
Rabbit. Rabbit also provides convenient tools. They are described in
|
|
9
|
+
other pages.
|
|
10
|
+
|
|
11
|
+
* ((<"usage/rabbit.rd"/rabbit command usage>))
|
|
12
|
+
* ((<"rabbirack/"/RabbiRack>)): A Web interface for Rabbit. You can
|
|
13
|
+
control Rabbit on your Web browser.
|
|
14
|
+
* ((<"rabbiter/"/Rabbiter>)): It's a tool that receives comments
|
|
15
|
+
from Twitter and passes them to Rabbit. Rabbit displays received
|
|
16
|
+
comments on the current slide.
|
|
17
|
+
* ((<"rabwii/"/RabWii>)): A Wii Remote interface for Rabbit. You can
|
|
18
|
+
control Rabbit by your Wii Remote.
|