pandoku 0.3 → 0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pandoku/formats/docbook.rb +18 -0
- data/lib/pandoku/formats/opendocument.rb +20 -0
- data/lib/pandoku/formats/s5.rb +21 -0
- data/lib/pandoku/formats/texinfo.rb +20 -0
- metadata +6 -2
@@ -0,0 +1,18 @@
|
|
1
|
+
require File.dirname(File.dirname(__FILE__)) + '/format'
|
2
|
+
|
3
|
+
module Pandoku::Formats
|
4
|
+
# DocBook XML format. http://www.docbook.org/
|
5
|
+
class DocBook < Pandoku::Format
|
6
|
+
include Pandoku::OutputFormat
|
7
|
+
|
8
|
+
def self.name
|
9
|
+
:docbook
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.default_options
|
13
|
+
{}
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
DocBookXML = DocBookXml = Docbook = DocBook
|
18
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require File.dirname(File.dirname(__FILE__)) + '/format'
|
2
|
+
|
3
|
+
module Pandoku::Formats
|
4
|
+
# OpenDocument XML format. http://www.gnu.org/software/texinfo/
|
5
|
+
#
|
6
|
+
# == Available Options
|
7
|
+
#
|
8
|
+
# <tt>:toc</tt>:: Include an instruction to create table of contents.
|
9
|
+
class OpenDocument < Pandoku::Format
|
10
|
+
include Pandoku::OutputFormat
|
11
|
+
|
12
|
+
def self.name
|
13
|
+
:opendocument
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.default_options
|
17
|
+
{ :toc => false }
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require File.dirname(File.dirname(__FILE__)) + '/format'
|
2
|
+
|
3
|
+
module Pandoku::Formats
|
4
|
+
# S5 HTML slide show format.
|
5
|
+
#
|
6
|
+
# == Available Options
|
7
|
+
#
|
8
|
+
# <tt>:incremental</tt>:: Make list items in S5 display incrementally
|
9
|
+
# (one by one).
|
10
|
+
class S5 < Pandoku::Format
|
11
|
+
include Pandoku::OutputFormat
|
12
|
+
|
13
|
+
def self.name
|
14
|
+
:s5
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.default_options
|
18
|
+
{ :incremental => false }
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require File.dirname(File.dirname(__FILE__)) + '/format'
|
2
|
+
|
3
|
+
module Pandoku::Formats
|
4
|
+
# GNU Texinfo format. http://www.gnu.org/software/texinfo/
|
5
|
+
#
|
6
|
+
# == Available Options
|
7
|
+
#
|
8
|
+
# <tt>:toc</tt>:: Include an instruction to create table of contents.
|
9
|
+
class Texinfo < Pandoku::Format
|
10
|
+
include Pandoku::OutputFormat
|
11
|
+
|
12
|
+
def self.name
|
13
|
+
:texinfo
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.default_options
|
17
|
+
{ :toc => false }
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pandoku
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: "0.
|
4
|
+
version: "0.4"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hong, MinHee
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-10-
|
12
|
+
date: 2009-10-11 00:00:00 +09:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -25,11 +25,15 @@ files:
|
|
25
25
|
- lib/pandoku.rb
|
26
26
|
- lib/pandoku/formats/rtf.rb
|
27
27
|
- lib/pandoku/formats/odt.rb
|
28
|
+
- lib/pandoku/formats/texinfo.rb
|
29
|
+
- lib/pandoku/formats/s5.rb
|
28
30
|
- lib/pandoku/formats/mediawiki.rb
|
29
31
|
- lib/pandoku/formats/context.rb
|
30
32
|
- lib/pandoku/formats/html.rb
|
31
33
|
- lib/pandoku/formats/man.rb
|
34
|
+
- lib/pandoku/formats/docbook.rb
|
32
35
|
- lib/pandoku/formats/rst.rb
|
36
|
+
- lib/pandoku/formats/opendocument.rb
|
33
37
|
- lib/pandoku/formats/latex.rb
|
34
38
|
- lib/pandoku/formats/markdown.rb
|
35
39
|
- lib/pandoku/document.rb
|