rabbit 2.2.1 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) hide show
  1. checksums.yaml +5 -5
  2. data/data/locale/ja/LC_MESSAGES/rabbit.mo +0 -0
  3. data/doc/_config.yml +2 -2
  4. data/doc/_layouts/en.html +1 -1
  5. data/doc/_layouts/ja.html +1 -1
  6. data/doc/en/news.rd +140 -0
  7. data/doc/en/sample/hiki/rabbit.hiki +2 -2
  8. data/doc/en/sample/markdown/rabbit.md +1 -1
  9. data/doc/en/sample/rd/rabbit.rd +1 -1
  10. data/doc/en/usage/rabbit-slide.rd +3 -3
  11. data/doc/images/screenshots/en/blue-circle-raw.png +0 -0
  12. data/doc/images/screenshots/en/blue-circle.png +0 -0
  13. data/doc/images/screenshots/en/clear-blue-raw.png +0 -0
  14. data/doc/images/screenshots/en/clear-blue.png +0 -0
  15. data/doc/images/screenshots/en/cozmixng-raw.png +0 -0
  16. data/doc/images/screenshots/en/cozmixng.png +0 -0
  17. data/doc/images/screenshots/en/dark-gradation-raw.png +0 -0
  18. data/doc/images/screenshots/en/dark-gradation.png +0 -0
  19. data/doc/images/screenshots/en/day-white-raw.png +0 -0
  20. data/doc/images/screenshots/en/day-white.png +0 -0
  21. data/doc/images/screenshots/en/debian-raw.png +0 -0
  22. data/doc/images/screenshots/en/debian.png +0 -0
  23. data/doc/images/screenshots/en/green-circle-raw.png +0 -0
  24. data/doc/images/screenshots/en/green-circle.png +0 -0
  25. data/doc/images/screenshots/en/night-black-raw.png +0 -0
  26. data/doc/images/screenshots/en/night-black.png +0 -0
  27. data/doc/images/screenshots/en/rabbit-raw.png +0 -0
  28. data/doc/images/screenshots/en/rabbit.png +0 -0
  29. data/doc/images/screenshots/en/ranguba-raw.png +0 -0
  30. data/doc/images/screenshots/en/ranguba.png +0 -0
  31. data/doc/images/screenshots/en/red-frame-raw.png +0 -0
  32. data/doc/images/screenshots/en/red-frame.png +0 -0
  33. data/doc/images/screenshots/en/ruby-gnome2-raw.png +0 -0
  34. data/doc/images/screenshots/en/ruby-gnome2.png +0 -0
  35. data/doc/images/screenshots/en/rubykaigi2011-raw.png +0 -0
  36. data/doc/images/screenshots/en/rubykaigi2011.png +0 -0
  37. data/doc/images/screenshots/ja/blue-circle-raw.png +0 -0
  38. data/doc/images/screenshots/ja/blue-circle.png +0 -0
  39. data/doc/images/screenshots/ja/clear-blue-raw.png +0 -0
  40. data/doc/images/screenshots/ja/clear-blue.png +0 -0
  41. data/doc/images/screenshots/ja/cozmixng-raw.png +0 -0
  42. data/doc/images/screenshots/ja/cozmixng.png +0 -0
  43. data/doc/images/screenshots/ja/dark-gradation-raw.png +0 -0
  44. data/doc/images/screenshots/ja/dark-gradation.png +0 -0
  45. data/doc/images/screenshots/ja/day-white-raw.png +0 -0
  46. data/doc/images/screenshots/ja/day-white.png +0 -0
  47. data/doc/images/screenshots/ja/debian-raw.png +0 -0
  48. data/doc/images/screenshots/ja/debian.png +0 -0
  49. data/doc/images/screenshots/ja/green-circle-raw.png +0 -0
  50. data/doc/images/screenshots/ja/green-circle.png +0 -0
  51. data/doc/images/screenshots/ja/night-black-raw.png +0 -0
  52. data/doc/images/screenshots/ja/night-black.png +0 -0
  53. data/doc/images/screenshots/ja/rabbit-raw.png +0 -0
  54. data/doc/images/screenshots/ja/rabbit.png +0 -0
  55. data/doc/images/screenshots/ja/ranguba-raw.png +0 -0
  56. data/doc/images/screenshots/ja/ranguba.png +0 -0
  57. data/doc/images/screenshots/ja/red-frame-raw.png +0 -0
  58. data/doc/images/screenshots/ja/red-frame.png +0 -0
  59. data/doc/images/screenshots/ja/ruby-gnome2-raw.png +0 -0
  60. data/doc/images/screenshots/ja/ruby-gnome2.png +0 -0
  61. data/doc/images/screenshots/ja/rubykaigi2011-raw.png +0 -0
  62. data/doc/images/screenshots/ja/rubykaigi2011.png +0 -0
  63. data/doc/ja/how-to-make/index.rd +1 -1
  64. data/doc/ja/news.rd +143 -0
  65. data/doc/ja/sample/hiki/rabbit.hiki +2 -2
  66. data/doc/ja/sample/markdown/rabbit.md +1 -1
  67. data/doc/ja/sample/rd/rabbit.rd +1 -1
  68. data/doc/ja/slides.rd +1 -1
  69. data/doc/ja/usage/rabbit-slide.rd +3 -3
  70. data/doc/ja/users.rd +1 -1
  71. data/lib/rabbit/action.rb +23 -4
  72. data/lib/rabbit/canvas.rb +70 -14
  73. data/lib/rabbit/command/rabbit-slide.rb +252 -67
  74. data/lib/rabbit/command/rabbit-slide.ui +180 -0
  75. data/lib/rabbit/command/rabbit.rb +14 -20
  76. data/lib/rabbit/console.rb +9 -3
  77. data/lib/rabbit/dependency-canvas.rb +19 -1
  78. data/lib/rabbit/element.rb +34 -7
  79. data/lib/rabbit/element/poppler-page.rb +1 -2
  80. data/lib/rabbit/element/text-container-element.rb +2 -2
  81. data/lib/rabbit/element/text-renderer.rb +5 -4
  82. data/lib/rabbit/element/title-slide.rb +8 -0
  83. data/lib/rabbit/element/video.rb +1 -2
  84. data/lib/rabbit/filename.rb +39 -0
  85. data/lib/rabbit/formatter.rb +61 -30
  86. data/lib/rabbit/frame.rb +1 -19
  87. data/lib/rabbit/front.rb +23 -2
  88. data/lib/rabbit/gesture/handler.rb +21 -2
  89. data/lib/rabbit/graffiti/config-dialog.rb +15 -18
  90. data/lib/rabbit/gtk.rb +2 -191
  91. data/lib/rabbit/html/generator.rb +38 -30
  92. data/lib/rabbit/image-data-loader.rb +6 -1
  93. data/lib/rabbit/image.rb +22 -4
  94. data/lib/rabbit/image/base.rb +34 -2
  95. data/lib/rabbit/image/default.rb +1 -1
  96. data/lib/rabbit/image/eps.rb +1 -1
  97. data/lib/rabbit/image/gimp.rb +1 -1
  98. data/lib/rabbit/info-window.rb +27 -15
  99. data/lib/rabbit/logger/gui.rb +21 -23
  100. data/lib/rabbit/logger/stderr.rb +1 -1
  101. data/lib/rabbit/pango-markup.rb +44 -0
  102. data/lib/rabbit/parser.rb +20 -3
  103. data/lib/rabbit/parser/ext/image.rb +25 -8
  104. data/lib/rabbit/parser/ext/video.rb +21 -2
  105. data/lib/rabbit/parser/markdown.rb +1 -2
  106. data/lib/rabbit/parser/pdf.rb +23 -7
  107. data/lib/rabbit/parser/rd/rd2rabbit-lib.rb +20 -0
  108. data/lib/rabbit/progress.rb +34 -23
  109. data/lib/rabbit/renderer.rb +17 -23
  110. data/lib/rabbit/renderer/base.rb +31 -57
  111. data/lib/rabbit/renderer/color.rb +46 -53
  112. data/lib/rabbit/renderer/display/base.rb +71 -62
  113. data/lib/rabbit/renderer/display/button-handler.rb +2 -1
  114. data/lib/rabbit/renderer/display/clutter-embed.rb +60 -26
  115. data/lib/rabbit/renderer/display/drawing-area-base.rb +1 -1
  116. data/lib/rabbit/renderer/display/drawing-area-primitive.rb +34 -21
  117. data/lib/rabbit/renderer/display/graffiti.rb +1 -3
  118. data/lib/rabbit/renderer/display/hook-handler.rb +8 -4
  119. data/lib/rabbit/renderer/display/key-handler.rb +7 -2
  120. data/lib/rabbit/renderer/display/magnifier.rb +2 -2
  121. data/lib/rabbit/renderer/display/progress.rb +10 -2
  122. data/lib/rabbit/renderer/display/spotlight.rb +2 -2
  123. data/lib/rabbit/renderer/engine/cairo.rb +0 -3
  124. data/lib/rabbit/renderer/kernel.rb +54 -0
  125. data/lib/rabbit/renderer/offscreen.rb +14 -6
  126. data/lib/rabbit/renderer/print-layout.rb +150 -0
  127. data/lib/rabbit/renderer/printer.rb +236 -0
  128. data/lib/rabbit/renderer/screen.rb +288 -0
  129. data/lib/rabbit/renderer/widget/drawing-area.rb +93 -0
  130. data/lib/rabbit/size.rb +52 -25
  131. data/lib/rabbit/slide-configuration.rb +56 -12
  132. data/lib/rabbit/source.rb +24 -8
  133. data/lib/rabbit/task/slide.rb +1 -1
  134. data/lib/rabbit/theme/applier.rb +26 -9
  135. data/lib/rabbit/theme/base/base.rb +7 -7
  136. data/lib/rabbit/theme/clear-blue/clear-blue.rb +1 -1
  137. data/lib/rabbit/theme/image-timer/image-timer.rb +3 -1
  138. data/lib/rabbit/theme/image-viewer/image-viewer.rb +13 -1
  139. data/lib/rabbit/theme/image/image.rb +4 -4
  140. data/lib/rabbit/theme/lightning-talk-toolkit/lightning-talk-toolkit.rb +3 -1
  141. data/lib/rabbit/theme/tag/tag.rb +12 -4
  142. data/lib/rabbit/version.rb +2 -2
  143. data/lib/rabbit/video-window.rb +75 -89
  144. data/misc/emacs/rabbit-mode.el +11 -7
  145. data/po/en/rabbit.edit.po +189 -185
  146. data/po/en/rabbit.po +15 -12
  147. data/po/fr/rabbit.edit.po +189 -185
  148. data/po/fr/rabbit.po +15 -12
  149. data/po/ja/rabbit.edit.po +190 -186
  150. data/po/ja/rabbit.po +16 -13
  151. data/rabbit.gemspec +34 -16
  152. data/test/command/test-rabbit.rb +100 -0
  153. data/test/{rabbit-test-utils.rb → helper.rb} +7 -4
  154. data/test/{rabbit-test-utils → helper}/fixture.rb +2 -2
  155. data/test/{rabbit-test-utils → helper}/parser.rb +2 -2
  156. data/test/image/test-dia.rb +2 -2
  157. data/test/image/test-eps.rb +2 -2
  158. data/test/parser/test-markdown.rb +3 -5
  159. data/test/parser/test-rd.rb +1 -3
  160. data/test/parser/test-wiki.rb +3 -5
  161. data/test/run-test.rb +3 -3
  162. data/test/test-applier.rb +60 -29
  163. data/test/test-canvas.rb +70 -0
  164. data/test/test-color.rb +18 -9
  165. data/test/test-element.rb +15 -3
  166. data/test/test-size.rb +25 -22
  167. data/test/test-slide-configuration.rb +16 -6
  168. data/test/test-source.rb +15 -5
  169. data/test/test-utils.rb +15 -1
  170. metadata +55 -84
  171. data/lib/rabbit/renderer/print.rb +0 -31
  172. data/lib/rabbit/renderer/print/base.rb +0 -78
  173. data/lib/rabbit/renderer/print/cairo.rb +0 -122
  174. data/lib/rabbit/renderer/print/layout.rb +0 -123
  175. data/lib/rabbit/renderer/print/multiple.rb +0 -202
  176. data/lib/rabbit/source/hiki.rb +0 -36
  177. data/lib/rabbit/source/slide-share.rb +0 -53
@@ -5,13 +5,13 @@
5
5
  set_foreground(@foreground)
6
6
  set_background(@background)
7
7
 
8
- @xx_large_font_size = screen_size(15 * Pango::SCALE)
9
- @x_large_font_size = screen_size(11 * Pango::SCALE)
10
- @large_font_size = screen_size(7 * Pango::SCALE)
11
- @normal_font_size = screen_size(5.5 * Pango::SCALE)
12
- @small_font_size = screen_size(4.5 * Pango::SCALE)
13
- @x_small_font_size = screen_size(3.5 * Pango::SCALE)
14
- @xx_small_font_size = screen_size(3 * Pango::SCALE)
8
+ @xx_large_font_size = font_size(15)
9
+ @x_large_font_size = font_size(11)
10
+ @large_font_size = font_size(7)
11
+ @normal_font_size = font_size(5.5)
12
+ @small_font_size = font_size(4.5)
13
+ @x_small_font_size = font_size(3.5)
14
+ @xx_small_font_size = font_size(3)
15
15
 
16
16
  @x_large_script_font_size = @x_large_font_size / 2
17
17
  @large_script_font_size = @large_font_size / 2
@@ -6,7 +6,7 @@ base_dark_background_color = "#e9ffff"
6
6
  base_background_color = "#ffffff"
7
7
 
8
8
  set_graffiti_color("#{base_color}99")
9
- set_graffiti_line_width(30)
9
+ set_graffiti_line_width(15)
10
10
 
11
11
  set_progress_foreground(base_color)
12
12
  set_progress_background(base_background_color)
@@ -35,7 +35,9 @@ end
35
35
  :draw_scaled_pixbuf => false,
36
36
  }
37
37
 
38
- match(Slide) do |slides|
38
+ @image_timer_target_paths ||= [Slide]
39
+
40
+ match(*@image_timer_target_paths) do |slides|
39
41
  slides.delete_post_draw_proc_by_name(proc_name)
40
42
  stop_auto_redraw_timer
41
43
 
@@ -1,9 +1,21 @@
1
1
  include_theme("default-comment")
2
2
 
3
- match("**", ImageTitleSlide) do |slides|
3
+ match(ImageTitleSlide) do |slides|
4
4
  slides.vertical_centering = true
5
5
  end
6
6
 
7
7
  match("**", Image) do |images|
8
8
  images.horizontal_centering = true
9
9
  end
10
+
11
+ if canvas.allotted_time
12
+ margin_left = @margin_left
13
+ margin_right = @margin_right
14
+ margin_bottom = @margin_bottom
15
+
16
+ @image_timer_margin_left = margin_left
17
+ @image_timer_margin_right = margin_right
18
+ @image_timer_margin_bottom = margin_bottom
19
+ @image_timer_target_paths = [ImageTitleSlide]
20
+ include_theme("image-timer")
21
+ end
@@ -8,7 +8,7 @@ match("**", Image) do |images|
8
8
 
9
9
  images.delete_pre_draw_proc_by_name(proc_name)
10
10
  images.delete_post_draw_proc_by_name(proc_name)
11
-
11
+
12
12
  images.horizontal_centering = true
13
13
 
14
14
  params = {
@@ -18,12 +18,12 @@ match("**", Image) do |images|
18
18
  :shadow_width => @image_frame_shadow_width,
19
19
  :shadow_offset => @image_frame_shadow_offset,
20
20
  }
21
-
21
+
22
22
  padding_left = 0
23
23
  padding_right = 0
24
24
  padding_top = 0
25
25
  padding_bottom = 0
26
-
26
+
27
27
  if @image_with_frame
28
28
  padding_left += @image_frame_padding + @image_frame_shadow_width
29
29
  padding_right += @image_frame_padding + @image_frame_shadow_width
@@ -38,7 +38,7 @@ match("**", Image) do |images|
38
38
  images.padding_bottom = padding_bottom
39
39
 
40
40
  draw_frame(images, params) if @image_with_frame
41
-
41
+
42
42
  images.each do |image|
43
43
  image.margin_bottom = @space
44
44
 
@@ -7,7 +7,9 @@
7
7
  @lightning_talk_contact_information_color ||= nil
8
8
  @lightning_talk_contact_information_font_family ||= @font_family
9
9
  @lightning_talk_as_large_as_possible ||= false
10
- @lightning_talk_wrap_mode ||= Pango::WrapMode::WORD
10
+ if @lightning_talk_wrap_mode.nil?
11
+ @lightning_talk_wrap_mode = Pango::WrapMode::WORD
12
+ end
11
13
  if @lightning_talk_horizontal_centering.nil?
12
14
  @lightning_talk_horizontal_centering = true
13
15
  end
@@ -7,13 +7,21 @@ theme_exit if @tag_uninstall
7
7
 
8
8
  match("**", CustomTag) do |tags|
9
9
  find_outer_block = lambda do |tag|
10
- element = tag
10
+ element = tag
11
11
  while element.inline_element?
12
12
  element = element.parent
13
13
  end
14
14
  element
15
15
  end
16
16
 
17
+ find_align_target = lambda do |tag|
18
+ element = tag
19
+ while element.inline_element? and not element.is_a?(TableCell)
20
+ element = element.parent
21
+ end
22
+ element
23
+ end
24
+
17
25
  find_target = lambda do |tag|
18
26
  if tag.elements.empty?
19
27
  tag.parent
@@ -34,11 +42,11 @@ match("**", CustomTag) do |tags|
34
42
  tags.each do |tag|
35
43
  case tag.name
36
44
  when "left"
37
- find_outer_block.call(tag).align = "left"
45
+ find_align_target.call(tag).align = "left"
38
46
  when "center"
39
- find_outer_block.call(tag).horizontal_centering = true
47
+ find_align_target.call(tag).horizontal_centering = true
40
48
  when "right"
41
- find_outer_block.call(tag).align = "right"
49
+ find_align_target.call(tag).align = "right"
42
50
  when "small"
43
51
  find_target.call(tag).prop_set("size", @small_font_size)
44
52
  when "x-small"
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2012-2017 Kouhei Sutou <kou@cozmixng.org>
1
+ # Copyright (C) 2012-2019 Kouhei Sutou <kou@cozmixng.org>
2
2
  #
3
3
  # This program is free software; you can redistribute it and/or modify
4
4
  # it under the terms of the GNU General Public License as published by
@@ -15,5 +15,5 @@
15
15
  # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16
16
 
17
17
  module Rabbit
18
- VERSION = "2.2.1"
18
+ VERSION = "3.0.0"
19
19
  end
@@ -1,121 +1,107 @@
1
- require 'gst'
2
- require 'rabbit/gtk'
1
+ # Copyright (C) 2012 Narihiro Nakamura <authornari@gmail.com>
2
+ # Copyright (C) 2015-2018 Kouhei Sutou <kou@cozmixng.org>
3
+ #
4
+ # This program is free software; you can redistribute it and/or modify
5
+ # it under the terms of the GNU General Public License as published by
6
+ # the Free Software Foundation; either version 2 of the License, or
7
+ # (at your option) any later version.
8
+ #
9
+ # This program is distributed in the hope that it will be useful,
10
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ # GNU General Public License for more details.
13
+ #
14
+ # You should have received a copy of the GNU General Public License along
15
+ # with this program; if not, write to the Free Software Foundation, Inc.,
16
+ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
+
18
+ require "clutter-gtk"
19
+ require "clutter-gst"
20
+
21
+ require "rabbit/gtk"
3
22
 
4
23
  module Rabbit
5
24
  class VideoWindow
6
- attr_accessor :window, :direction, :entry
7
- def initialize(element)
8
- @element = element
9
- @video = VideoWidget.new(@element.filename)
10
- end
25
+ # TODO: Implemented in renderer or something
26
+ class << self
27
+ def show(window, element)
28
+ @instance ||= VideoWindow.new(window)
29
+ @instance.show(element)
30
+ end
11
31
 
12
- def setup(window)
13
- if not @completed
14
- @window = window
15
- init_window
16
- init_keys
17
- @completed = true
32
+ def unset_instance
33
+ @instance = nil
18
34
  end
19
35
  end
20
36
 
21
- def show(window)
22
- setup(window) if not window.nil?
23
- Utils.move_to(window, @video_window) do |bx, by, bw, bh, tw, th, sw, sh|
24
- [bx+@element.x, by+@element.y]
25
- end
26
- @video_window.resize(@element.width, @element.height)
27
- @video_window.show_all
28
- @video.play
37
+ def initialize(window)
38
+ @parent_window = window
39
+ init_window
40
+ init_keys
29
41
  end
30
42
 
31
- def hide
32
- @video.pause
33
- @video_window.hide
43
+ def show(element)
44
+ @player.filename = element.filename
45
+ @window.resize(element.width, element.height)
46
+ @window.show_all
47
+ @player.playing = true
34
48
  end
35
49
 
36
50
  private
37
51
  def init_window
38
- @video_window = Gtk::Window.new(:popup)
39
- @video_window.modal = true
40
- @video_window.set_transient_for(window)
52
+ @window = Gtk::ApplicationWindow.new(Rabbit.application)
53
+ @window.modal = true
54
+ @window.set_transient_for(@parent_window)
55
+
56
+ @embed = ClutterGtk::Embed.new
57
+ @window.add(@embed)
58
+
59
+ @stage = @embed.stage
60
+ @player = ClutterGst::Playback.new
61
+ @player.seek_flags = :accurate
62
+ @player.signal_connect(:eos) do
63
+ @player.progress = 0.0
64
+ @player.playing = true
65
+ end
41
66
 
42
- vbox = Gtk::Box.new(:vertical)
43
- vbox.pack_start(@video)
44
- @video_window.add(vbox)
45
- @video_window.signal_connect('frame-event') do |widget, event|
46
- if event.event_type == Gdk::EventType::BUTTON_PRESS
47
- @video.toggle
48
- end
67
+ @aspect_ratio = ClutterGst::Aspectratio.new
68
+ @aspect_ratio.player = @player
69
+ @video = Clutter::Actor.new
70
+ @video.width = @stage.width
71
+ @video.height = @stage.height
72
+ @video.content = @aspect_ratio
73
+
74
+ @stage.add_child(@video)
75
+
76
+ @window.signal_connect(:button_press_event) do |widget, event|
77
+ @player.playing = !@player.playing?
49
78
  end
50
- @video_window.signal_connect('destroy') do
51
- @video.stop
79
+
80
+ @window.signal_connect(:destroy) do
81
+ @player.playing = false
82
+ self.class.unset_instance
52
83
  end
53
84
  end
54
85
 
55
86
  def init_keys
56
- @video_window.signal_connect("key_press_event") do |widget, key|
87
+ @window.signal_connect(:key_press_event) do |widget, key|
57
88
  case key.keyval
58
- when Gdk::Keyval::GDK_KEY_space
89
+ when Gdk::Keyval::KEY_space
59
90
  @video.toggle
60
- when Gdk::Keyval::GDK_KEY_plus
91
+ when Gdk::Keyval::KEY_plus
61
92
  @video.seek(10)
62
- when Gdk::Keyval::GDK_KEY_minus
93
+ when Gdk::Keyval::KEY_minus
63
94
  @video.seek(-10)
64
95
  when *[
65
96
  Keys::MOVE_TO_NEXT_KEYS, Keys::MOVE_TO_PREVIOUS_KEYS,
66
97
  Keys::MOVE_TO_LAST_KEYS, Keys::MOVE_TO_LAST_KEYS,
67
98
  ].flatten
68
- hide
69
- Gtk::AccelGroup.activate(window, key.keyval, key.state)
99
+ @window.destroy
100
+ Gtk::AccelGroup.activate(@parent_window, key.keyval, key.state)
70
101
  else
71
- Gtk::AccelGroup.activate(window, key.keyval, key.state)
72
- end
73
- end
74
- end
75
-
76
- class VideoWidget < Gtk::DrawingArea
77
- def initialize(file)
78
- super()
79
-
80
- @playbin = Gst::ElementFactory.make('playbin2')
81
-
82
- @video = Gst::ElementFactory.make('xvimagesink')
83
- @video.force_aspect_ratio = true
84
-
85
- @playbin.video_sink = @video
86
- @playbin.audio_sink = Gst::ElementFactory.make('autoaudiosink')
87
- @playbin.signal_connect('notify') do
88
- @playbin.video_sink.xwindow_id = self.window.xid if self.window
89
- @playbin.video_sink.expose
102
+ Gtk::AccelGroup.activate(@parent_window, key.keyval, key.state)
90
103
  end
91
- @playbin.uri = "file://#{File.absolute_path(file)}"
92
- @playbin.ready
93
- end
94
-
95
- def play
96
- @playbin.play
97
- @playing = true
98
- end
99
-
100
- def pause
101
- @playbin.pause
102
- @playing = false
103
- end
104
-
105
- def stop
106
- @playbin.stop
107
- @playing = false
108
- end
109
-
110
- def seek(time)
111
- @playbin.seek(1.0, Gst::Format::TIME,
112
- Gst::Seek::FLAG_FLUSH | Gst::Seek::FLAG_KEY_UNIT,
113
- Gst::Seek::TYPE_CUR, time * Gst::SECOND,
114
- Gst::Seek::TYPE_NONE, -1);
115
- end
116
-
117
- def toggle
118
- @playing ? pause : play
104
+ true
119
105
  end
120
106
  end
121
107
  end
@@ -1,9 +1,8 @@
1
1
  ;;; -*- mode: Emacs-Lisp; indent-tabs-mode: nil -*-
2
2
  ;;; rabbit-mode.el
3
3
  ;; Emacs major mode for Rabbit
4
- ;;; Copyright (c) 2006 - 2008 Atsushi TAKEDA <tkdats@kono.cis.iwate-u.ac.jp>
5
- ;;; Copyright (c) 2009 Kouhei Sutou <kou@cozmixng.org>
6
- ;;; $Id$
4
+ ;;; Copyright (c) 2006-2008 Atsushi TAKEDA <tkdats@kono.cis.iwate-u.ac.jp>
5
+ ;;; Copyright (c) 2009-2019 Kouhei Sutou <kou@cozmixng.org>
7
6
 
8
7
  (require 'cl)
9
8
  (require 'rd-mode)
@@ -73,7 +72,12 @@
73
72
 
74
73
  (defvar rabbit-image-size-unit-history nil)
75
74
 
75
+ ;;;###autoload
76
+ (add-to-list 'auto-mode-alist '("\\.rab\\'" . rabbit-mode))
77
+
78
+ ;;;###autoload
76
79
  (define-derived-mode rabbit-mode rd-mode "Rabbit"
80
+ "Major mode for editing Rabbit slide in RD."
77
81
  (setq comment-start "#")
78
82
  (make-local-variable 'font-lock-defaults)
79
83
  (setq font-lock-defaults '((rabbit-font-lock-keywords) t nil))
@@ -318,8 +322,8 @@ format if value is specified, otherwise return \"\"."
318
322
  (defun rabbit-join-without-empty-string (strings separator)
319
323
  (let ((result "")
320
324
  (not-empty-strings (rabbit-filter
321
- '(lambda (string)
322
- (not (rabbit-not-empty-string string)))
325
+ (lambda (string)
326
+ (not (rabbit-not-empty-string string)))
323
327
  strings)))
324
328
  (if (null not-empty-strings)
325
329
  ""
@@ -345,8 +349,8 @@ format if value is specified, otherwise return \"\"."
345
349
  (let ((prefix (if (string-equal unit "pixel")
346
350
  ""
347
351
  (concat unit "_"))))
348
- (mapcar '(lambda (key)
349
- (rabbit-read-block-property (concat prefix key)))
352
+ (mapcar (lambda (key)
353
+ (rabbit-read-block-property (concat prefix key)))
350
354
  '("width" "height"))))
351
355
 
352
356
  (defun rabbit-fancall-with-current-point (func)
@@ -220,7 +220,7 @@ msgstr ""
220
220
  msgid "Save as image"
221
221
  msgstr ""
222
222
 
223
- #: ../lib/rabbit/action/basic.rb:83 ../lib/rabbit/command/rabbit.rb:322
223
+ #: ../lib/rabbit/action/basic.rb:83 ../lib/rabbit/command/rabbit.rb:321
224
224
  msgid "Print"
225
225
  msgstr ""
226
226
 
@@ -328,7 +328,7 @@ msgstr ""
328
328
  msgid "Blackout"
329
329
  msgstr ""
330
330
 
331
- #: ../lib/rabbit/action/radio.rb:37 ../lib/rabbit/command/rabbit-slide.rb:354 ../lib/rabbit/command/rabbit-slide.rb:370 ../lib/rabbit/command/rabbit-theme.rb:211 ../lib/rabbit/command/rabbit-theme.rb:227
331
+ #: ../lib/rabbit/action/radio.rb:37 ../lib/rabbit/command/rabbit-slide.rb:518 ../lib/rabbit/command/rabbit-slide.rb:534 ../lib/rabbit/command/rabbit-theme.rb:211 ../lib/rabbit/command/rabbit-theme.rb:227
332
332
  msgid "Show"
333
333
  msgstr ""
334
334
 
@@ -388,19 +388,19 @@ msgstr ""
388
388
  msgid "Failed to write author configuration: %s: %s"
389
389
  msgstr ""
390
390
 
391
- #: ../lib/rabbit/canvas.rb:604
391
+ #: ../lib/rabbit/canvas.rb:634
392
392
  msgid "Unknown action: %s"
393
393
  msgstr ""
394
394
 
395
- #: ../lib/rabbit/canvas.rb:672
395
+ #: ../lib/rabbit/canvas.rb:729
396
396
  msgid "Processing..."
397
397
  msgstr ""
398
398
 
399
- #: ../lib/rabbit/command/rabbit-slide.rb:50 ../lib/rabbit/command/rabbit-theme.rb:48
399
+ #: ../lib/rabbit/command/rabbit-slide.rb:78 ../lib/rabbit/command/rabbit-theme.rb:48
400
400
  msgid "See --help for example"
401
401
  msgstr ""
402
402
 
403
- #: ../lib/rabbit/command/rabbit-slide.rb:76
403
+ #: ../lib/rabbit/command/rabbit-slide.rb:104
404
404
  msgid ""
405
405
  "Usage: %s COMMAND [OPTIONS]\n"
406
406
  " e.g.: %s new \\\n"
@@ -414,159 +414,179 @@ msgid ""
414
414
  " --speaker-deck-user kou"
415
415
  msgstr ""
416
416
 
417
- #: ../lib/rabbit/command/rabbit-slide.rb:91
417
+ #: ../lib/rabbit/command/rabbit-slide.rb:119
418
418
  msgid "COMMAND"
419
419
  msgstr ""
420
420
 
421
- #: ../lib/rabbit/command/rabbit-slide.rb:92
421
+ #: ../lib/rabbit/command/rabbit-slide.rb:120
422
422
  msgid " new: create a new slide"
423
423
  msgstr ""
424
424
 
425
- #: ../lib/rabbit/command/rabbit-slide.rb:93
425
+ #: ../lib/rabbit/command/rabbit-slide.rb:121
426
426
  msgid " change: change an existing slide"
427
427
  msgstr ""
428
428
 
429
- #: ../lib/rabbit/command/rabbit-slide.rb:96
429
+ #: ../lib/rabbit/command/rabbit-slide.rb:124
430
+ msgid "User interface"
431
+ msgstr ""
432
+
433
+ #: ../lib/rabbit/command/rabbit-slide.rb:126
434
+ msgid "Don't use GUI"
435
+ msgstr ""
436
+
437
+ #: ../lib/rabbit/command/rabbit-slide.rb:131
430
438
  msgid "Slide information"
431
439
  msgstr ""
432
440
 
433
- #: ../lib/rabbit/command/rabbit-slide.rb:99
441
+ #: ../lib/rabbit/command/rabbit-slide.rb:134
434
442
  msgid "Slide ID"
435
443
  msgstr ""
436
444
 
437
- #: ../lib/rabbit/command/rabbit-slide.rb:100 ../lib/rabbit/command/rabbit-slide.rb:107 ../lib/rabbit/command/rabbit-slide.rb:119 ../lib/rabbit/command/rabbit-slide.rb:133 ../lib/rabbit/command/rabbit-slide.rb:141 ../lib/rabbit/command/rabbit-slide.rb:148 ../lib/rabbit/command/rabbit-slide.rb:155 ../lib/rabbit/command/rabbit-slide.rb:164 ../lib/rabbit/command/rabbit-slide.rb:177 ../lib/rabbit/command/rabbit-slide.rb:191 ../lib/rabbit/command/rabbit-slide.rb:205 ../lib/rabbit/command/rabbit-slide.rb:219 ../lib/rabbit/command/rabbit-theme.rb:83 ../lib/rabbit/command/rabbit-theme.rb:92 ../lib/rabbit/command/rabbit-theme.rb:105 ../lib/rabbit/command/rabbit-theme.rb:119
445
+ #: ../lib/rabbit/command/rabbit-slide.rb:135 ../lib/rabbit/command/rabbit-slide.rb:142 ../lib/rabbit/command/rabbit-slide.rb:154 ../lib/rabbit/command/rabbit-slide.rb:168 ../lib/rabbit/command/rabbit-slide.rb:176 ../lib/rabbit/command/rabbit-slide.rb:184 ../lib/rabbit/command/rabbit-slide.rb:191 ../lib/rabbit/command/rabbit-slide.rb:198 ../lib/rabbit/command/rabbit-slide.rb:207 ../lib/rabbit/command/rabbit-slide.rb:216 ../lib/rabbit/command/rabbit-slide.rb:225 ../lib/rabbit/command/rabbit-slide.rb:238 ../lib/rabbit/command/rabbit-slide.rb:252 ../lib/rabbit/command/rabbit-slide.rb:266 ../lib/rabbit/command/rabbit-slide.rb:280 ../lib/rabbit/command/rabbit-theme.rb:83 ../lib/rabbit/command/rabbit-theme.rb:92 ../lib/rabbit/command/rabbit-theme.rb:105 ../lib/rabbit/command/rabbit-theme.rb:119
438
446
  msgid "(e.g.: %s)"
439
447
  msgstr ""
440
448
 
441
- #: ../lib/rabbit/command/rabbit-slide.rb:101 ../lib/rabbit/command/rabbit-slide.rb:108 ../lib/rabbit/command/rabbit-theme.rb:84
449
+ #: ../lib/rabbit/command/rabbit-slide.rb:136 ../lib/rabbit/command/rabbit-slide.rb:143 ../lib/rabbit/command/rabbit-theme.rb:84
442
450
  msgid "(must)"
443
451
  msgstr ""
444
452
 
445
- #: ../lib/rabbit/command/rabbit-slide.rb:106
453
+ #: ../lib/rabbit/command/rabbit-slide.rb:141
446
454
  msgid "Base name for the slide source file and generated PDF file"
447
455
  msgstr ""
448
456
 
449
- #: ../lib/rabbit/command/rabbit-slide.rb:118
457
+ #: ../lib/rabbit/command/rabbit-slide.rb:153
450
458
  msgid "Markup language for the new slide"
451
459
  msgstr ""
452
460
 
453
- #: ../lib/rabbit/command/rabbit-slide.rb:120
461
+ #: ../lib/rabbit/command/rabbit-slide.rb:155
454
462
  msgid "(available markup languages: %s)"
455
463
  msgstr ""
456
464
 
457
- #: ../lib/rabbit/command/rabbit-slide.rb:123 ../lib/rabbit/command/rabbit-slide.rb:167 ../lib/rabbit/command/rabbit-slide.rb:180 ../lib/rabbit/command/rabbit-slide.rb:194 ../lib/rabbit/command/rabbit-slide.rb:208 ../lib/rabbit/command/rabbit-slide.rb:222 ../lib/rabbit/command/rabbit-theme.rb:95 ../lib/rabbit/command/rabbit-theme.rb:108 ../lib/rabbit/command/rabbit-theme.rb:122
465
+ #: ../lib/rabbit/command/rabbit-slide.rb:158 ../lib/rabbit/command/rabbit-slide.rb:228 ../lib/rabbit/command/rabbit-slide.rb:241 ../lib/rabbit/command/rabbit-slide.rb:255 ../lib/rabbit/command/rabbit-slide.rb:269 ../lib/rabbit/command/rabbit-slide.rb:283 ../lib/rabbit/command/rabbit-theme.rb:95 ../lib/rabbit/command/rabbit-theme.rb:108 ../lib/rabbit/command/rabbit-theme.rb:122
458
466
  msgid "(default: %s)"
459
467
  msgstr ""
460
468
 
461
- #: ../lib/rabbit/command/rabbit-slide.rb:125 ../lib/rabbit/command/rabbit-slide.rb:134 ../lib/rabbit/command/rabbit-slide.rb:142 ../lib/rabbit/command/rabbit-slide.rb:149 ../lib/rabbit/command/rabbit-slide.rb:156 ../lib/rabbit/command/rabbit-slide.rb:169 ../lib/rabbit/command/rabbit-slide.rb:182 ../lib/rabbit/command/rabbit-slide.rb:196 ../lib/rabbit/command/rabbit-slide.rb:210 ../lib/rabbit/command/rabbit-slide.rb:224 ../lib/rabbit/command/rabbit-theme.rb:97 ../lib/rabbit/command/rabbit-theme.rb:110 ../lib/rabbit/command/rabbit-theme.rb:124
469
+ #: ../lib/rabbit/command/rabbit-slide.rb:160 ../lib/rabbit/command/rabbit-slide.rb:169 ../lib/rabbit/command/rabbit-slide.rb:177 ../lib/rabbit/command/rabbit-slide.rb:185 ../lib/rabbit/command/rabbit-slide.rb:192 ../lib/rabbit/command/rabbit-slide.rb:199 ../lib/rabbit/command/rabbit-slide.rb:208 ../lib/rabbit/command/rabbit-slide.rb:217 ../lib/rabbit/command/rabbit-slide.rb:230 ../lib/rabbit/command/rabbit-slide.rb:243 ../lib/rabbit/command/rabbit-slide.rb:257 ../lib/rabbit/command/rabbit-slide.rb:271 ../lib/rabbit/command/rabbit-slide.rb:285 ../lib/rabbit/command/rabbit-theme.rb:97 ../lib/rabbit/command/rabbit-theme.rb:110 ../lib/rabbit/command/rabbit-theme.rb:124
462
470
  msgid "(optional)"
463
471
  msgstr ""
464
472
 
465
- #: ../lib/rabbit/command/rabbit-slide.rb:132
473
+ #: ../lib/rabbit/command/rabbit-slide.rb:167
466
474
  msgid "Title of the new slide"
467
475
  msgstr ""
468
476
 
469
- #: ../lib/rabbit/command/rabbit-slide.rb:133
477
+ #: ../lib/rabbit/command/rabbit-slide.rb:168
470
478
  msgid "--title=\"Rabbit Introduction\""
471
479
  msgstr ""
472
480
 
473
- #: ../lib/rabbit/command/rabbit-slide.rb:140
481
+ #: ../lib/rabbit/command/rabbit-slide.rb:175
482
+ msgid "License of the new slide"
483
+ msgstr ""
484
+
485
+ #: ../lib/rabbit/command/rabbit-slide.rb:183
474
486
  msgid "Tags of the new slide"
475
487
  msgstr ""
476
488
 
477
- #: ../lib/rabbit/command/rabbit-slide.rb:147
489
+ #: ../lib/rabbit/command/rabbit-slide.rb:190
478
490
  msgid "Allotted time in presentaion"
479
491
  msgstr ""
480
492
 
481
- #: ../lib/rabbit/command/rabbit-slide.rb:154
493
+ #: ../lib/rabbit/command/rabbit-slide.rb:197
482
494
  msgid "Presentation date with the new slide"
483
495
  msgstr ""
484
496
 
485
- #: ../lib/rabbit/command/rabbit-slide.rb:160 ../lib/rabbit/command/rabbit-theme.rb:88
497
+ #: ../lib/rabbit/command/rabbit-slide.rb:206
498
+ msgid "Presentation start time"
499
+ msgstr ""
500
+
501
+ #: ../lib/rabbit/command/rabbit-slide.rb:215
502
+ msgid "Presentation end time"
503
+ msgstr ""
504
+
505
+ #: ../lib/rabbit/command/rabbit-slide.rb:221 ../lib/rabbit/command/rabbit-theme.rb:88
486
506
  msgid "Your information"
487
507
  msgstr ""
488
508
 
489
- #: ../lib/rabbit/command/rabbit-slide.rb:163 ../lib/rabbit/command/rabbit-theme.rb:91
509
+ #: ../lib/rabbit/command/rabbit-slide.rb:224 ../lib/rabbit/command/rabbit-theme.rb:91
490
510
  msgid "Author name of the new slide"
491
511
  msgstr ""
492
512
 
493
- #: ../lib/rabbit/command/rabbit-slide.rb:176 ../lib/rabbit/command/rabbit-theme.rb:104
513
+ #: ../lib/rabbit/command/rabbit-slide.rb:237 ../lib/rabbit/command/rabbit-theme.rb:104
494
514
  msgid "Author e-mail of the new slide"
495
515
  msgstr ""
496
516
 
497
- #: ../lib/rabbit/command/rabbit-slide.rb:189 ../lib/rabbit/command/rabbit-slide.rb:203 ../lib/rabbit/command/rabbit-slide.rb:217 ../lib/rabbit/command/rabbit-theme.rb:117
517
+ #: ../lib/rabbit/command/rabbit-slide.rb:250 ../lib/rabbit/command/rabbit-slide.rb:264 ../lib/rabbit/command/rabbit-slide.rb:278 ../lib/rabbit/command/rabbit-theme.rb:117
498
518
  msgid "Account for %s"
499
519
  msgstr ""
500
520
 
501
- #: ../lib/rabbit/command/rabbit-slide.rb:190 ../lib/rabbit/command/rabbit-slide.rb:204 ../lib/rabbit/command/rabbit-slide.rb:218 ../lib/rabbit/command/rabbit-theme.rb:118
521
+ #: ../lib/rabbit/command/rabbit-slide.rb:251 ../lib/rabbit/command/rabbit-slide.rb:265 ../lib/rabbit/command/rabbit-slide.rb:279 ../lib/rabbit/command/rabbit-theme.rb:118
502
522
  msgid "It is used to publish your slide to %s"
503
523
  msgstr ""
504
524
 
505
- #: ../lib/rabbit/command/rabbit-slide.rb:252 ../lib/rabbit/command/rabbit-theme.rb:143
525
+ #: ../lib/rabbit/command/rabbit-slide.rb:416 ../lib/rabbit/command/rabbit-theme.rb:143
506
526
  msgid "too many commands: %s"
507
527
  msgstr ""
508
528
 
509
- #: ../lib/rabbit/command/rabbit-slide.rb:256 ../lib/rabbit/command/rabbit-theme.rb:148
529
+ #: ../lib/rabbit/command/rabbit-slide.rb:420 ../lib/rabbit/command/rabbit-theme.rb:148
510
530
  msgid "invalid command: <%s>: available commands: %s"
511
531
  msgstr ""
512
532
 
513
- #: ../lib/rabbit/command/rabbit-slide.rb:264 ../lib/rabbit/command/rabbit-slide.rb:270 ../lib/rabbit/command/rabbit-theme.rb:156
533
+ #: ../lib/rabbit/command/rabbit-slide.rb:428 ../lib/rabbit/command/rabbit-slide.rb:434 ../lib/rabbit/command/rabbit-theme.rb:156
514
534
  msgid "%s is missing"
515
535
  msgstr ""
516
536
 
517
- #: ../lib/rabbit/command/rabbit-slide.rb:346
537
+ #: ../lib/rabbit/command/rabbit-slide.rb:510
518
538
  msgid "TODO: SLIDE TITLE"
519
539
  msgstr ""
520
540
 
521
- #: ../lib/rabbit/command/rabbit-slide.rb:349
541
+ #: ../lib/rabbit/command/rabbit-slide.rb:513
522
542
  msgid "TODO: SLIDE DESCRIPTION"
523
543
  msgstr ""
524
544
 
525
- #: ../lib/rabbit/command/rabbit-slide.rb:352 ../lib/rabbit/command/rabbit-theme.rb:209
545
+ #: ../lib/rabbit/command/rabbit-slide.rb:516 ../lib/rabbit/command/rabbit-theme.rb:209
526
546
  msgid "For author"
527
547
  msgstr ""
528
548
 
529
- #: ../lib/rabbit/command/rabbit-slide.rb:358 ../lib/rabbit/command/rabbit-theme.rb:215
549
+ #: ../lib/rabbit/command/rabbit-slide.rb:522 ../lib/rabbit/command/rabbit-theme.rb:215
530
550
  msgid "Publish"
531
551
  msgstr ""
532
552
 
533
- #: ../lib/rabbit/command/rabbit-slide.rb:363
553
+ #: ../lib/rabbit/command/rabbit-slide.rb:527
534
554
  msgid "For viewers"
535
555
  msgstr ""
536
556
 
537
- #: ../lib/rabbit/command/rabbit-slide.rb:365 ../lib/rabbit/command/rabbit-theme.rb:222
557
+ #: ../lib/rabbit/command/rabbit-slide.rb:529 ../lib/rabbit/command/rabbit-theme.rb:222
538
558
  msgid "Install"
539
559
  msgstr ""
540
560
 
541
- #: ../lib/rabbit/command/rabbit-slide.rb:444
561
+ #: ../lib/rabbit/command/rabbit-slide.rb:608
542
562
  msgid "TITLE"
543
563
  msgstr ""
544
564
 
545
- #: ../lib/rabbit/command/rabbit-slide.rb:446
565
+ #: ../lib/rabbit/command/rabbit-slide.rb:610
546
566
  msgid "FIRST SLIDE"
547
567
  msgstr ""
548
568
 
549
- #: ../lib/rabbit/command/rabbit-slide.rb:448
569
+ #: ../lib/rabbit/command/rabbit-slide.rb:612
550
570
  msgid "SECOND SLIDE"
551
571
  msgstr ""
552
572
 
553
- #: ../lib/rabbit/command/rabbit-slide.rb:460
573
+ #: ../lib/rabbit/command/rabbit-slide.rb:639
554
574
  msgid "SUBTITLE"
555
575
  msgstr ""
556
576
 
557
- #: ../lib/rabbit/command/rabbit-slide.rb:461
577
+ #: ../lib/rabbit/command/rabbit-slide.rb:640
558
578
  msgid "AUTHOR"
559
579
  msgstr ""
560
580
 
561
- #: ../lib/rabbit/command/rabbit-slide.rb:462
581
+ #: ../lib/rabbit/command/rabbit-slide.rb:641
562
582
  msgid "INSTITUTION"
563
583
  msgstr ""
564
584
 
565
- #: ../lib/rabbit/command/rabbit-slide.rb:463
585
+ #: ../lib/rabbit/command/rabbit-slide.rb:642
566
586
  msgid "EVENT NAME"
567
587
  msgstr ""
568
588
 
569
- #: ../lib/rabbit/command/rabbit-slide.rb:484
589
+ #: ../lib/rabbit/command/rabbit-slide.rb:669
570
590
  msgid "ITEM %d"
571
591
  msgstr ""
572
592
 
@@ -604,438 +624,430 @@ msgstr ""
604
624
  msgid "rabbit-theme-benchmark-en.gem"
605
625
  msgstr ""
606
626
 
607
- #: ../lib/rabbit/command/rabbit.rb:151 ../lib/rabbit/theme/blue-bar/property.rb:1 ../lib/rabbit/theme/blue-circle/property.rb:1 ../lib/rabbit/theme/centering-rabbit/property.rb:1 ../lib/rabbit/theme/clear-blue/property.rb:1 ../lib/rabbit/theme/cozmixng/property.rb:1 ../lib/rabbit/theme/dark-gradation/property.rb:1 ../lib/rabbit/theme/day-white/property.rb:1 ../lib/rabbit/theme/debian/property.rb:1 ../lib/rabbit/theme/default/property.rb:1 ../lib/rabbit/theme/enishi-green/property.rb:1 ../lib/rabbit/theme/green-circle/property.rb:1 ../lib/rabbit/theme/image-viewer/property.rb:1 ../lib/rabbit/theme/lightning-clear-blue/property.rb:1 ../lib/rabbit/theme/lightning-monochrome/property.rb:1 ../lib/rabbit/theme/lightning-rabbit/property.rb:1 ../lib/rabbit/theme/lightning-simple/property.rb:1 ../lib/rabbit/theme/lightning-talk/property.rb:1 ../lib/rabbit/theme/nari/property.rb:1 ../lib/rabbit/theme/night-black/property.rb:1 ../lib/rabbit/theme/pdf/property.rb:1 ../lib/rabbit/theme/rabbit/property.rb:1 ../lib/rabbit/theme/ranguba/property.rb:1 ../lib/rabbit/theme/red-frame/property.rb:1 ../lib/rabbit/theme/ruby-gnome2/property.rb:1 ../lib/rabbit/theme/rubykaigi2011/property.rb:1
627
+ #: ../lib/rabbit/command/rabbit.rb:150 ../lib/rabbit/theme/blue-bar/property.rb:1 ../lib/rabbit/theme/blue-circle/property.rb:1 ../lib/rabbit/theme/centering-rabbit/property.rb:1 ../lib/rabbit/theme/clear-blue/property.rb:1 ../lib/rabbit/theme/cozmixng/property.rb:1 ../lib/rabbit/theme/dark-gradation/property.rb:1 ../lib/rabbit/theme/day-white/property.rb:1 ../lib/rabbit/theme/debian/property.rb:1 ../lib/rabbit/theme/default/property.rb:1 ../lib/rabbit/theme/enishi-green/property.rb:1 ../lib/rabbit/theme/green-circle/property.rb:1 ../lib/rabbit/theme/image-viewer/property.rb:1 ../lib/rabbit/theme/lightning-clear-blue/property.rb:1 ../lib/rabbit/theme/lightning-monochrome/property.rb:1 ../lib/rabbit/theme/lightning-rabbit/property.rb:1 ../lib/rabbit/theme/lightning-simple/property.rb:1 ../lib/rabbit/theme/lightning-talk/property.rb:1 ../lib/rabbit/theme/nari/property.rb:1 ../lib/rabbit/theme/night-black/property.rb:1 ../lib/rabbit/theme/pdf/property.rb:1 ../lib/rabbit/theme/rabbit/property.rb:1 ../lib/rabbit/theme/ranguba/property.rb:1 ../lib/rabbit/theme/red-frame/property.rb:1 ../lib/rabbit/theme/ruby-gnome2/property.rb:1 ../lib/rabbit/theme/rubykaigi2011/property.rb:1
608
628
  msgid "Theme"
609
629
  msgstr ""
610
630
 
611
- #: ../lib/rabbit/command/rabbit.rb:154
631
+ #: ../lib/rabbit/command/rabbit.rb:153
612
632
  msgid "Add [PATH] to load path."
613
633
  msgstr ""
614
634
 
615
- #: ../lib/rabbit/command/rabbit.rb:159
635
+ #: ../lib/rabbit/command/rabbit.rb:158
616
636
  msgid "Use [THEME] as theme."
617
637
  msgstr ""
618
638
 
619
- #: ../lib/rabbit/command/rabbit.rb:166
639
+ #: ../lib/rabbit/command/rabbit.rb:165
620
640
  msgid "Use [THEME] for comment."
621
641
  msgstr ""
622
642
 
623
- #: ../lib/rabbit/command/rabbit.rb:172
643
+ #: ../lib/rabbit/command/rabbit.rb:171
624
644
  msgid "Use [TIME] as allotted time."
625
645
  msgstr ""
626
646
 
627
- #: ../lib/rabbit/command/rabbit.rb:178 ../lib/rabbit/html/generator.rb:404
647
+ #: ../lib/rabbit/command/rabbit.rb:177 ../lib/rabbit/html/generator.rb:412
628
648
  msgid "Source"
629
649
  msgstr ""
630
650
 
631
- #: ../lib/rabbit/command/rabbit.rb:185
651
+ #: ../lib/rabbit/command/rabbit.rb:184
632
652
  msgid ""
633
653
  "When select %s\n"
634
654
  "specify %s\n"
635
655
  "as [SOURCE_INFOS]."
636
656
  msgstr ""
637
657
 
638
- #: ../lib/rabbit/command/rabbit.rb:192
658
+ #: ../lib/rabbit/command/rabbit.rb:191
639
659
  msgid "Specify source type as [TYPE]."
640
660
  msgstr ""
641
661
 
642
- #: ../lib/rabbit/command/rabbit.rb:193 ../lib/rabbit/console.rb:165 ../lib/rabbit/console.rb:182
662
+ #: ../lib/rabbit/command/rabbit.rb:192 ../lib/rabbit/console.rb:171 ../lib/rabbit/console.rb:188
643
663
  msgid "Select from [%s]."
644
664
  msgstr ""
645
665
 
646
- #: ../lib/rabbit/command/rabbit.rb:194
666
+ #: ../lib/rabbit/command/rabbit.rb:193
647
667
  msgid "Note: case insensitive."
648
668
  msgstr ""
649
669
 
650
- #: ../lib/rabbit/command/rabbit.rb:208
670
+ #: ../lib/rabbit/command/rabbit.rb:207
651
671
  msgid "Specify source encoding as [ENCODING]."
652
672
  msgstr ""
653
673
 
654
- #: ../lib/rabbit/command/rabbit.rb:209 ../lib/rabbit/command/rabbit.rb:215 ../lib/rabbit/command/rabbit.rb:382 ../lib/rabbit/command/rabbit.rb:389 ../lib/rabbit/command/rabbit.rb:396 ../lib/rabbit/command/rabbit.rb:403 ../lib/rabbit/command/rabbit.rb:428 ../lib/rabbit/command/rabbit.rb:435 ../lib/rabbit/command/rabbit.rb:442 ../lib/rabbit/command/rabbit.rb:449 ../lib/rabbit/command/rabbit.rb:562 ../lib/rabbit/console.rb:150
674
+ #: ../lib/rabbit/command/rabbit.rb:208 ../lib/rabbit/command/rabbit.rb:214 ../lib/rabbit/command/rabbit.rb:381 ../lib/rabbit/command/rabbit.rb:388 ../lib/rabbit/command/rabbit.rb:395 ../lib/rabbit/command/rabbit.rb:402 ../lib/rabbit/command/rabbit.rb:427 ../lib/rabbit/command/rabbit.rb:434 ../lib/rabbit/command/rabbit.rb:441 ../lib/rabbit/command/rabbit.rb:448 ../lib/rabbit/command/rabbit.rb:561 ../lib/rabbit/console.rb:156
655
675
  msgid "(auto)"
656
676
  msgstr ""
657
677
 
658
- #: ../lib/rabbit/command/rabbit.rb:214
678
+ #: ../lib/rabbit/command/rabbit.rb:213
659
679
  msgid "Specify base URI or path of source as [BASE]."
660
680
  msgstr ""
661
681
 
662
- #: ../lib/rabbit/command/rabbit.rb:220
682
+ #: ../lib/rabbit/command/rabbit.rb:219
663
683
  msgid "Initial state"
664
684
  msgstr ""
665
685
 
666
- #: ../lib/rabbit/command/rabbit.rb:223
686
+ #: ../lib/rabbit/command/rabbit.rb:222
667
687
  msgid "Toggle full screen mode."
668
688
  msgstr ""
669
689
 
670
- #: ../lib/rabbit/command/rabbit.rb:229
690
+ #: ../lib/rabbit/command/rabbit.rb:228
671
691
  msgid "Toggle index mode."
672
692
  msgstr ""
673
693
 
674
- #: ../lib/rabbit/command/rabbit.rb:235
694
+ #: ../lib/rabbit/command/rabbit.rb:234
675
695
  msgid "Show the Nth slide. (zero-based)"
676
696
  msgstr ""
677
697
 
678
- #: ../lib/rabbit/command/rabbit.rb:241
698
+ #: ../lib/rabbit/command/rabbit.rb:240
679
699
  msgid "Size"
680
700
  msgstr ""
681
701
 
682
- #: ../lib/rabbit/command/rabbit.rb:244
702
+ #: ../lib/rabbit/command/rabbit.rb:243
683
703
  msgid "Set window geometry [GEOMETRY]."
684
704
  msgstr ""
685
705
 
686
- #: ../lib/rabbit/command/rabbit.rb:245
706
+ #: ../lib/rabbit/command/rabbit.rb:244
687
707
  msgid "Format: WIDTHxHEIGHT+X+Y"
688
708
  msgstr ""
689
709
 
690
- #: ../lib/rabbit/command/rabbit.rb:252
710
+ #: ../lib/rabbit/command/rabbit.rb:251
691
711
  msgid "Set window width to [WIDTH]."
692
712
  msgstr ""
693
713
 
694
- #: ../lib/rabbit/command/rabbit.rb:259
714
+ #: ../lib/rabbit/command/rabbit.rb:258
695
715
  msgid "Set window height to [HEIGHT]."
696
716
  msgstr ""
697
717
 
698
- #: ../lib/rabbit/command/rabbit.rb:264
718
+ #: ../lib/rabbit/command/rabbit.rb:263
699
719
  msgid ""
700
720
  "Set window width and height to\n"
701
721
  "[WIDTH] and [HEIGHT]."
702
722
  msgstr ""
703
723
 
704
- #: ../lib/rabbit/command/rabbit.rb:277
724
+ #: ../lib/rabbit/command/rabbit.rb:276
705
725
  msgid "Save"
706
726
  msgstr ""
707
727
 
708
- #: ../lib/rabbit/command/rabbit.rb:280
728
+ #: ../lib/rabbit/command/rabbit.rb:279
709
729
  msgid "Save as image and exit."
710
730
  msgstr ""
711
731
 
712
- #: ../lib/rabbit/command/rabbit.rb:285
732
+ #: ../lib/rabbit/command/rabbit.rb:284
713
733
  msgid "Specify saved image type as [TYPE]."
714
734
  msgstr ""
715
735
 
716
- #: ../lib/rabbit/command/rabbit.rb:292
736
+ #: ../lib/rabbit/command/rabbit.rb:291
717
737
  msgid "Specify saved image base name as [BASE_NAME]."
718
738
  msgstr ""
719
739
 
720
- #: ../lib/rabbit/command/rabbit.rb:293 ../lib/rabbit/command/rabbit.rb:331
740
+ #: ../lib/rabbit/command/rabbit.rb:292 ../lib/rabbit/command/rabbit.rb:330
721
741
  msgid "Title of slide"
722
742
  msgstr ""
723
743
 
724
- #: ../lib/rabbit/command/rabbit.rb:298
744
+ #: ../lib/rabbit/command/rabbit.rb:297
725
745
  msgid "Output HTML for viewing saved images."
726
746
  msgstr ""
727
747
 
728
- #: ../lib/rabbit/command/rabbit.rb:304
748
+ #: ../lib/rabbit/command/rabbit.rb:303
729
749
  msgid "Output index HTML for navigating slides."
730
750
  msgstr ""
731
751
 
732
- #: ../lib/rabbit/command/rabbit.rb:310
752
+ #: ../lib/rabbit/command/rabbit.rb:309
733
753
  msgid "Specify base URI of RSS as [URI]."
734
754
  msgstr ""
735
755
 
736
- #: ../lib/rabbit/command/rabbit.rb:311
756
+ #: ../lib/rabbit/command/rabbit.rb:310
737
757
  msgid "RSS is generated only when HTML is output."
738
758
  msgstr ""
739
759
 
740
- #: ../lib/rabbit/command/rabbit.rb:317
760
+ #: ../lib/rabbit/command/rabbit.rb:316
741
761
  msgid "Specify source filenam as [FILENAME]."
742
762
  msgstr ""
743
763
 
744
- #: ../lib/rabbit/command/rabbit.rb:325
764
+ #: ../lib/rabbit/command/rabbit.rb:324
745
765
  msgid "Print and exit."
746
766
  msgstr ""
747
767
 
748
- #: ../lib/rabbit/command/rabbit.rb:330
768
+ #: ../lib/rabbit/command/rabbit.rb:329
749
769
  msgid "Specify printed out filename as [FILENAME]."
750
770
  msgstr ""
751
771
 
752
- #: ../lib/rabbit/command/rabbit.rb:337
772
+ #: ../lib/rabbit/command/rabbit.rb:336
753
773
  msgid "Set slides per page."
754
774
  msgstr ""
755
775
 
756
- #: ../lib/rabbit/command/rabbit.rb:343
776
+ #: ../lib/rabbit/command/rabbit.rb:342
757
777
  msgid "Draw scaled image."
758
778
  msgstr ""
759
779
 
760
- #: ../lib/rabbit/command/rabbit.rb:344
780
+ #: ../lib/rabbit/command/rabbit.rb:343
761
781
  msgid "Better look for displaying but lesser look for printing."
762
782
  msgstr ""
763
783
 
764
- #: ../lib/rabbit/command/rabbit.rb:349
784
+ #: ../lib/rabbit/command/rabbit.rb:348
765
785
  msgid "Paper"
766
786
  msgstr ""
767
787
 
768
- #: ../lib/rabbit/command/rabbit.rb:353
788
+ #: ../lib/rabbit/command/rabbit.rb:352
769
789
  msgid "Set paper width to [WIDTH] Pt."
770
790
  msgstr ""
771
791
 
772
- #: ../lib/rabbit/command/rabbit.rb:354
792
+ #: ../lib/rabbit/command/rabbit.rb:353
773
793
  msgid "(landscape A4 width)"
774
794
  msgstr ""
775
795
 
776
- #: ../lib/rabbit/command/rabbit.rb:360
796
+ #: ../lib/rabbit/command/rabbit.rb:359
777
797
  msgid "Set paper height to [HEIGHT] Pt."
778
798
  msgstr ""
779
799
 
780
- #: ../lib/rabbit/command/rabbit.rb:361
800
+ #: ../lib/rabbit/command/rabbit.rb:360
781
801
  msgid "(landscape A4 height)"
782
802
  msgstr ""
783
803
 
784
- #: ../lib/rabbit/command/rabbit.rb:365
804
+ #: ../lib/rabbit/command/rabbit.rb:364
785
805
  msgid ""
786
806
  "Set paper width and height to\n"
787
807
  "[WIDTH] Pt and [HEIGHT] Pt."
788
808
  msgstr ""
789
809
 
790
- #: ../lib/rabbit/command/rabbit.rb:367
810
+ #: ../lib/rabbit/command/rabbit.rb:366
791
811
  msgid "(landscape A4 size)"
792
812
  msgstr ""
793
813
 
794
- #: ../lib/rabbit/command/rabbit.rb:377
814
+ #: ../lib/rabbit/command/rabbit.rb:376
795
815
  msgid "Margin"
796
816
  msgstr ""
797
817
 
798
- #: ../lib/rabbit/command/rabbit.rb:381
818
+ #: ../lib/rabbit/command/rabbit.rb:380
799
819
  msgid "Set left margin for slides per page mode print."
800
820
  msgstr ""
801
821
 
802
- #: ../lib/rabbit/command/rabbit.rb:388
822
+ #: ../lib/rabbit/command/rabbit.rb:387
803
823
  msgid "Set right margin for slides per page mode print."
804
824
  msgstr ""
805
825
 
806
- #: ../lib/rabbit/command/rabbit.rb:395
826
+ #: ../lib/rabbit/command/rabbit.rb:394
807
827
  msgid "Set top margin for slides per page mode print."
808
828
  msgstr ""
809
829
 
810
- #: ../lib/rabbit/command/rabbit.rb:402
830
+ #: ../lib/rabbit/command/rabbit.rb:401
811
831
  msgid "Set bottom margin for slides per page mode print."
812
832
  msgstr ""
813
833
 
814
- #: ../lib/rabbit/command/rabbit.rb:407
834
+ #: ../lib/rabbit/command/rabbit.rb:406
815
835
  msgid "[ALL]"
816
836
  msgstr ""
817
837
 
818
- #: ../lib/rabbit/command/rabbit.rb:408
838
+ #: ../lib/rabbit/command/rabbit.rb:407
819
839
  msgid "[TOP_BOTTOM],[LEFT_RIGHT]"
820
840
  msgstr ""
821
841
 
822
- #: ../lib/rabbit/command/rabbit.rb:409
842
+ #: ../lib/rabbit/command/rabbit.rb:408
823
843
  msgid "[TOP],[LEFT_RIGHT],[BOTTOM]"
824
844
  msgstr ""
825
845
 
826
- #: ../lib/rabbit/command/rabbit.rb:410
846
+ #: ../lib/rabbit/command/rabbit.rb:409
827
847
  msgid "[TOP],[RIGHT],[BOTTOM],[LEFT]"
828
848
  msgstr ""
829
849
 
830
- #: ../lib/rabbit/command/rabbit.rb:413
850
+ #: ../lib/rabbit/command/rabbit.rb:412
831
851
  msgid "Set margin for slides per page mode print."
832
852
  msgstr ""
833
853
 
834
- #: ../lib/rabbit/command/rabbit.rb:427
854
+ #: ../lib/rabbit/command/rabbit.rb:426
835
855
  msgid "Set left page margin."
836
856
  msgstr ""
837
857
 
838
- #: ../lib/rabbit/command/rabbit.rb:434
858
+ #: ../lib/rabbit/command/rabbit.rb:433
839
859
  msgid "Set right page margin."
840
860
  msgstr ""
841
861
 
842
- #: ../lib/rabbit/command/rabbit.rb:441
862
+ #: ../lib/rabbit/command/rabbit.rb:440
843
863
  msgid "Set top page margin."
844
864
  msgstr ""
845
865
 
846
- #: ../lib/rabbit/command/rabbit.rb:448
866
+ #: ../lib/rabbit/command/rabbit.rb:447
847
867
  msgid "Set bottom page margin."
848
868
  msgstr ""
849
869
 
850
- #: ../lib/rabbit/command/rabbit.rb:455
870
+ #: ../lib/rabbit/command/rabbit.rb:454
851
871
  msgid "Set page margin."
852
872
  msgstr ""
853
873
 
854
- #: ../lib/rabbit/command/rabbit.rb:467
874
+ #: ../lib/rabbit/command/rabbit.rb:466
855
875
  msgid "dRuby"
856
876
  msgstr ""
857
877
 
858
- #: ../lib/rabbit/command/rabbit.rb:470
878
+ #: ../lib/rabbit/command/rabbit.rb:469
859
879
  msgid "Specify whether to use dRuby."
860
880
  msgstr ""
861
881
 
862
- #: ../lib/rabbit/command/rabbit.rb:476
882
+ #: ../lib/rabbit/command/rabbit.rb:475
863
883
  msgid "Specify dRuby URI."
864
884
  msgstr ""
865
885
 
866
- #: ../lib/rabbit/command/rabbit.rb:482
886
+ #: ../lib/rabbit/command/rabbit.rb:481
867
887
  msgid "Specify whether to output dRuby URI."
868
888
  msgstr ""
869
889
 
870
- #: ../lib/rabbit/command/rabbit.rb:487
890
+ #: ../lib/rabbit/command/rabbit.rb:486
871
891
  msgid "SOAP"
872
892
  msgstr ""
873
893
 
874
- #: ../lib/rabbit/command/rabbit.rb:490
894
+ #: ../lib/rabbit/command/rabbit.rb:489
875
895
  msgid "Specify whether to use SOAP."
876
896
  msgstr ""
877
897
 
878
- #: ../lib/rabbit/command/rabbit.rb:496
898
+ #: ../lib/rabbit/command/rabbit.rb:495
879
899
  msgid "Specify SOAP host as [HOST]."
880
900
  msgstr ""
881
901
 
882
- #: ../lib/rabbit/command/rabbit.rb:503
902
+ #: ../lib/rabbit/command/rabbit.rb:502
883
903
  msgid "Specify SOAP port as [PORT]."
884
904
  msgstr ""
885
905
 
886
- #: ../lib/rabbit/command/rabbit.rb:508
906
+ #: ../lib/rabbit/command/rabbit.rb:507
887
907
  msgid "XML-RPC"
888
908
  msgstr ""
889
909
 
890
- #: ../lib/rabbit/command/rabbit.rb:511
910
+ #: ../lib/rabbit/command/rabbit.rb:510
891
911
  msgid "Specify whether to use XML-RPC."
892
912
  msgstr ""
893
913
 
894
- #: ../lib/rabbit/command/rabbit.rb:517
914
+ #: ../lib/rabbit/command/rabbit.rb:516
895
915
  msgid "Specify XML-RPC host as [HOST]."
896
916
  msgstr ""
897
917
 
898
- #: ../lib/rabbit/command/rabbit.rb:524
918
+ #: ../lib/rabbit/command/rabbit.rb:523
899
919
  msgid "Specify XML-RPC port as [PORT]."
900
920
  msgstr ""
901
921
 
902
- #: ../lib/rabbit/command/rabbit.rb:529
922
+ #: ../lib/rabbit/command/rabbit.rb:528
903
923
  msgid "Public level"
904
924
  msgstr ""
905
925
 
906
- #: ../lib/rabbit/command/rabbit.rb:536
926
+ #: ../lib/rabbit/command/rabbit.rb:535
907
927
  msgid "Specify public level."
908
928
  msgstr ""
909
929
 
910
- #: ../lib/rabbit/command/rabbit.rb:537
930
+ #: ../lib/rabbit/command/rabbit.rb:536
911
931
  msgid "Select from the following:"
912
932
  msgstr ""
913
933
 
914
- #: ../lib/rabbit/command/rabbit.rb:546 ../lib/rabbit/command/rabbit.rb:571 ../lib/rabbit/command/rabbit.rb:578
934
+ #: ../lib/rabbit/command/rabbit.rb:545 ../lib/rabbit/command/rabbit.rb:570 ../lib/rabbit/command/rabbit.rb:577
915
935
  msgid "(%s)"
916
936
  msgstr ""
917
937
 
918
- #: ../lib/rabbit/command/rabbit.rb:551 ../lib/rabbit/theme/clutter-comment/property.rb:1 ../lib/rabbit/theme/footer-comment/property.rb:1 ../lib/rabbit/theme/stream-comment/property.rb:1
938
+ #: ../lib/rabbit/command/rabbit.rb:550 ../lib/rabbit/theme/clutter-comment/property.rb:1 ../lib/rabbit/theme/footer-comment/property.rb:1 ../lib/rabbit/theme/stream-comment/property.rb:1
919
939
  msgid "Comment"
920
940
  msgstr ""
921
941
 
922
- #: ../lib/rabbit/command/rabbit.rb:554 ../lib/rabbit/command/rabbit.rb:560
942
+ #: ../lib/rabbit/command/rabbit.rb:553 ../lib/rabbit/command/rabbit.rb:559
923
943
  msgid "Deprecated. Just ignored."
924
944
  msgstr ""
925
945
 
926
- #: ../lib/rabbit/command/rabbit.rb:555
946
+ #: ../lib/rabbit/command/rabbit.rb:554
927
947
  msgid "Specify initial comment source."
928
948
  msgstr ""
929
949
 
930
- #: ../lib/rabbit/command/rabbit.rb:556
950
+ #: ../lib/rabbit/command/rabbit.rb:555
931
951
  msgid "(default source)"
932
952
  msgstr ""
933
953
 
934
- #: ../lib/rabbit/command/rabbit.rb:561
954
+ #: ../lib/rabbit/command/rabbit.rb:560
935
955
  msgid "Specify comment source encoding."
936
956
  msgstr ""
937
957
 
938
- #: ../lib/rabbit/command/rabbit.rb:565
958
+ #: ../lib/rabbit/command/rabbit.rb:564
939
959
  msgid "Migemo"
940
960
  msgstr ""
941
961
 
942
- #: ../lib/rabbit/command/rabbit.rb:570
962
+ #: ../lib/rabbit/command/rabbit.rb:569
943
963
  msgid "Specify search paths for Migemo static dictionary."
944
964
  msgstr ""
945
965
 
946
- #: ../lib/rabbit/command/rabbit.rb:577
966
+ #: ../lib/rabbit/command/rabbit.rb:576
947
967
  msgid "Specify static dictionary name for Migemo."
948
968
  msgstr ""
949
969
 
950
- #: ../lib/rabbit/command/rabbit.rb:582
970
+ #: ../lib/rabbit/command/rabbit.rb:581
951
971
  msgid "3D"
952
972
  msgstr ""
953
973
 
954
- #: ../lib/rabbit/command/rabbit.rb:585
974
+ #: ../lib/rabbit/command/rabbit.rb:584
955
975
  msgid "Specify whether to use OpenGL if available."
956
976
  msgstr ""
957
977
 
958
- #: ../lib/rabbit/command/rabbit.rb:590
959
- msgid "Display"
960
- msgstr ""
961
-
962
- #: ../lib/rabbit/command/rabbit.rb:593
963
- msgid "Specify whether to keep above window."
964
- msgstr ""
965
-
966
- #: ../lib/rabbit/command/rabbit.rb:598
978
+ #: ../lib/rabbit/command/rabbit.rb:589
967
979
  msgid "Others"
968
980
  msgstr ""
969
981
 
970
- #: ../lib/rabbit/command/rabbit.rb:601
982
+ #: ../lib/rabbit/command/rabbit.rb:592
971
983
  msgid "Check slide source syntax and exit."
972
984
  msgstr ""
973
985
 
974
- #: ../lib/rabbit/command/rabbit.rb:606
986
+ #: ../lib/rabbit/command/rabbit.rb:597
975
987
  msgid "Show a native window ID of the Rabbit window if available."
976
988
  msgstr ""
977
989
 
978
- #: ../lib/rabbit/command/rabbit.rb:607
990
+ #: ../lib/rabbit/command/rabbit.rb:598
979
991
  msgid "e.g. The ID is the ID of X resource on X window system."
980
992
  msgstr ""
981
993
 
982
- #: ../lib/rabbit/command/rabbit.rb:648
994
+ #: ../lib/rabbit/command/rabbit.rb:639
983
995
  msgid "Choose a Rabbit source file"
984
996
  msgstr ""
985
997
 
986
- #: ../lib/rabbit/command/rabbit.rb:766
998
+ #: ../lib/rabbit/command/rabbit.rb:757
987
999
  msgid "dRuby URI <%s> is in use."
988
1000
  msgstr ""
989
1001
 
990
- #: ../lib/rabbit/command/rabbit.rb:785
1002
+ #: ../lib/rabbit/command/rabbit.rb:776
991
1003
  msgid "port <%s> for SOAP is in use."
992
1004
  msgstr ""
993
1005
 
994
- #: ../lib/rabbit/command/rabbit.rb:806
1006
+ #: ../lib/rabbit/command/rabbit.rb:797
995
1007
  msgid "port <%s> for XML-RPC is in use."
996
1008
  msgstr ""
997
1009
 
998
- #: ../lib/rabbit/command/rabbit.rb:867
1010
+ #: ../lib/rabbit/command/rabbit.rb:862
999
1011
  msgid "Window ID: %d"
1000
1012
  msgstr ""
1001
1013
 
1002
- #: ../lib/rabbit/console.rb:114
1014
+ #: ../lib/rabbit/console.rb:120
1003
1015
  msgid "Usage: %s [options]"
1004
1016
  msgstr ""
1005
1017
 
1006
- #: ../lib/rabbit/console.rb:129
1018
+ #: ../lib/rabbit/console.rb:135
1007
1019
  msgid "Common options"
1008
1020
  msgstr ""
1009
1021
 
1010
- #: ../lib/rabbit/console.rb:139
1022
+ #: ../lib/rabbit/console.rb:145
1011
1023
  msgid "Load options from FILE."
1012
1024
  msgstr ""
1013
1025
 
1014
- #: ../lib/rabbit/console.rb:140
1026
+ #: ../lib/rabbit/console.rb:146
1015
1027
  msgid "(none)"
1016
1028
  msgstr ""
1017
1029
 
1018
- #: ../lib/rabbit/console.rb:149
1030
+ #: ../lib/rabbit/console.rb:155
1019
1031
  msgid "Specify locale dir as [DIR]."
1020
1032
  msgstr ""
1021
1033
 
1022
- #: ../lib/rabbit/console.rb:164
1034
+ #: ../lib/rabbit/console.rb:170
1023
1035
  msgid "Specify logger type as [TYPE]."
1024
1036
  msgstr ""
1025
1037
 
1026
- #: ../lib/rabbit/console.rb:181
1038
+ #: ../lib/rabbit/console.rb:187
1027
1039
  msgid "Specify log level as [LEVEL]."
1028
1040
  msgstr ""
1029
1041
 
1030
- #: ../lib/rabbit/console.rb:191
1042
+ #: ../lib/rabbit/console.rb:197
1031
1043
  msgid "Show this message."
1032
1044
  msgstr ""
1033
1045
 
1034
- #: ../lib/rabbit/console.rb:195
1046
+ #: ../lib/rabbit/console.rb:201
1035
1047
  msgid "Show version."
1036
1048
  msgstr ""
1037
1049
 
1038
- #: ../lib/rabbit/element/index-slide.rb:103 ../lib/rabbit/html/generator.rb:393
1050
+ #: ../lib/rabbit/element/index-slide.rb:103 ../lib/rabbit/html/generator.rb:401
1039
1051
  msgid "Index"
1040
1052
  msgstr ""
1041
1053
 
@@ -1123,23 +1135,23 @@ msgstr ""
1123
1135
  msgid "Enter password on RubyGems.org [%{user}]: "
1124
1136
  msgstr ""
1125
1137
 
1126
- #: ../lib/rabbit/graffiti/config-dialog.rb:50
1138
+ #: ../lib/rabbit/graffiti/config-dialog.rb:44
1127
1139
  msgid "Line width:"
1128
1140
  msgstr ""
1129
1141
 
1130
- #: ../lib/rabbit/html/generator.rb:50
1142
+ #: ../lib/rabbit/html/generator.rb:74
1131
1143
  msgid "Creating a image for the %dth page"
1132
1144
  msgstr ""
1133
1145
 
1134
- #: ../lib/rabbit/html/generator.rb:63
1146
+ #: ../lib/rabbit/html/generator.rb:87
1135
1147
  msgid "can't generate RSS"
1136
1148
  msgstr ""
1137
1149
 
1138
- #: ../lib/rabbit/html/generator.rb:391
1150
+ #: ../lib/rabbit/html/generator.rb:399
1139
1151
  msgid "Slide"
1140
1152
  msgstr ""
1141
1153
 
1142
- #: ../lib/rabbit/html/generator.rb:400 ../lib/rabbit/theme/pdf/property.rb:2
1154
+ #: ../lib/rabbit/html/generator.rb:408 ../lib/rabbit/theme/pdf/property.rb:2
1143
1155
  msgid "PDF"
1144
1156
  msgstr ""
1145
1157
 
@@ -1151,11 +1163,11 @@ msgstr ""
1151
1163
  msgid "%s page doesn't exist in PDF"
1152
1164
  msgstr ""
1153
1165
 
1154
- #: ../lib/rabbit/info-window.rb:105
1166
+ #: ../lib/rabbit/info-window.rb:118
1155
1167
  msgid "%s: Information window"
1156
1168
  msgstr ""
1157
1169
 
1158
- #: ../lib/rabbit/info-window.rb:282
1170
+ #: ../lib/rabbit/info-window.rb:287
1159
1171
  msgid "unlimited"
1160
1172
  msgstr ""
1161
1173
 
@@ -1183,7 +1195,7 @@ msgstr ""
1183
1195
  msgid "UNKNOWN"
1184
1196
  msgstr ""
1185
1197
 
1186
- #: ../lib/rabbit/logger/gui.rb:69
1198
+ #: ../lib/rabbit/logger/gui.rb:68
1187
1199
  msgid "Rabbit Error Dialog"
1188
1200
  msgstr ""
1189
1201
 
@@ -1195,7 +1207,7 @@ msgstr ""
1195
1207
  msgid "Jump to the %dth slide"
1196
1208
  msgstr ""
1197
1209
 
1198
- #: ../lib/rabbit/parser.rb:14
1210
+ #: ../lib/rabbit/parser.rb:31
1199
1211
  msgid "unsupported format. (supported: %s)"
1200
1212
  msgstr ""
1201
1213
 
@@ -1223,11 +1235,11 @@ msgstr ""
1223
1235
  msgid "tried mimeTeX commands: %s"
1224
1236
  msgstr ""
1225
1237
 
1226
- #: ../lib/rabbit/parser/markdown/converter.rb:170 ../test/parser/test-markdown.rb:292
1238
+ #: ../lib/rabbit/parser/markdown/converter.rb:170 ../test/parser/test-markdown.rb:290
1227
1239
  msgid "multiple ![alt]{image} in a paragraph isn't supported."
1228
1240
  msgstr ""
1229
1241
 
1230
- #: ../lib/rabbit/parser/markdown/converter.rb:294 ../test/parser/test-markdown.rb:306
1242
+ #: ../lib/rabbit/parser/markdown/converter.rb:294 ../test/parser/test-markdown.rb:304
1231
1243
  msgid "horizontal rule isn't supported."
1232
1244
  msgstr ""
1233
1245
 
@@ -1235,7 +1247,7 @@ msgstr ""
1235
1247
  msgid "multiple ![]('XXX.png'){:align='right'} isn't supported."
1236
1248
  msgstr ""
1237
1249
 
1238
- #: ../lib/rabbit/parser/markdown/converter.rb:412 ../test/parser/test-markdown.rb:319
1250
+ #: ../lib/rabbit/parser/markdown/converter.rb:412 ../test/parser/test-markdown.rb:317
1239
1251
  msgid "tag name is missing."
1240
1252
  msgstr ""
1241
1253
 
@@ -1263,11 +1275,11 @@ msgstr ""
1263
1275
  msgid "unsupported list type: %s"
1264
1276
  msgstr ""
1265
1277
 
1266
- #: ../lib/rabbit/parser/wiki/output.rb:389 ../test/parser/test-wiki.rb:46
1278
+ #: ../lib/rabbit/parser/wiki/output.rb:389 ../test/parser/test-wiki.rb:44
1267
1279
  msgid "inline {{image(...)}} isn't supported."
1268
1280
  msgstr ""
1269
1281
 
1270
- #: ../lib/rabbit/parser/wiki/output.rb:465 ../test/parser/test-wiki.rb:66
1282
+ #: ../lib/rabbit/parser/wiki/output.rb:465 ../test/parser/test-wiki.rb:64
1271
1283
  msgid "multiple {{image(..., :align => :right)}} isn't supported."
1272
1284
  msgstr ""
1273
1285
 
@@ -1283,19 +1295,19 @@ msgstr ""
1283
1295
  msgid "No README found"
1284
1296
  msgstr ""
1285
1297
 
1286
- #: ../lib/rabbit/renderer/base.rb:377
1298
+ #: ../lib/rabbit/renderer/base.rb:351
1287
1299
  msgid "%s does not support: %s"
1288
1300
  msgstr ""
1289
1301
 
1290
- #: ../lib/rabbit/renderer/print/cairo.rb:114
1302
+ #: ../lib/rabbit/renderer/printer.rb:223
1291
1303
  msgid "can't find printer for %s"
1292
1304
  msgstr ""
1293
1305
 
1294
- #: ../lib/rabbit/slide-configuration.rb:54 ../lib/rabbit/theme-configuration.rb:48
1306
+ #: ../lib/rabbit/slide-configuration.rb:72 ../lib/rabbit/theme-configuration.rb:48
1295
1307
  msgid "Failed to read slide configuration: %s: %s"
1296
1308
  msgstr ""
1297
1309
 
1298
- #: ../lib/rabbit/slide-configuration.rb:64 ../lib/rabbit/theme-configuration.rb:58
1310
+ #: ../lib/rabbit/slide-configuration.rb:82 ../lib/rabbit/theme-configuration.rb:58
1299
1311
  msgid "Failed to write slide configuration: %s: %s"
1300
1312
  msgstr ""
1301
1313
 
@@ -1323,18 +1335,10 @@ msgstr ""
1323
1335
  msgid "[FILENAME]"
1324
1336
  msgstr ""
1325
1337
 
1326
- #: ../lib/rabbit/source/hiki.rb:13
1327
- msgid "[HIKI_CGI_URI] and [PAGE_NAME]"
1328
- msgstr ""
1329
-
1330
1338
  #: ../lib/rabbit/source/memory.rb:9
1331
1339
  msgid "[FILENAME_OR_NOT]"
1332
1340
  msgstr ""
1333
1341
 
1334
- #: ../lib/rabbit/source/slide-share.rb:14
1335
- msgid "[USER] and [TITLE]"
1336
- msgstr ""
1337
-
1338
1342
  #: ../lib/rabbit/source/uri.rb:27
1339
1343
  msgid "URI"
1340
1344
  msgstr ""
@@ -1395,7 +1399,7 @@ msgstr ""
1395
1399
  msgid "Publish the theme to %s"
1396
1400
  msgstr ""
1397
1401
 
1398
- #: ../lib/rabbit/theme/applier.rb:616 ../lib/rabbit/theme/auto-slide/auto-slide.rb:1 ../lib/rabbit/theme/slide-background/slide-background.rb:1
1402
+ #: ../lib/rabbit/theme/applier.rb:633 ../lib/rabbit/theme/auto-slide/auto-slide.rb:1 ../lib/rabbit/theme/slide-background/slide-background.rb:1
1399
1403
  msgid "%s is deprecated. Use %s instead."
1400
1404
  msgstr ""
1401
1405