review-peg 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +36 -0
- data/.rubocop.yml +47 -0
- data/.rubocop_todo.yml +605 -0
- data/.travis.yml +18 -0
- data/COPYING +515 -0
- data/ChangeLog +2449 -0
- data/Dockerfile +22 -0
- data/Gemfile +6 -0
- data/README.rdoc +81 -0
- data/Rakefile +51 -0
- data/bin/review-catalog-converter-peg +129 -0
- data/bin/review-check-peg +169 -0
- data/bin/review-checkdep-peg +63 -0
- data/bin/review-compile-peg +202 -0
- data/bin/review-epubmaker-legacy-peg +1024 -0
- data/bin/review-epubmaker-peg +44 -0
- data/bin/review-index-peg +110 -0
- data/bin/review-init-peg +151 -0
- data/bin/review-pdfmaker-peg +18 -0
- data/bin/review-preproc-peg +131 -0
- data/bin/review-validate-peg +51 -0
- data/bin/review-vol-peg +100 -0
- data/debian/README.Debian +12 -0
- data/debian/README.source +5 -0
- data/debian/changelog +5 -0
- data/debian/compat +1 -0
- data/debian/control +22 -0
- data/debian/copyright +62 -0
- data/debian/docs +6 -0
- data/debian/manpage.1.ex +59 -0
- data/debian/patches/path.diff +91 -0
- data/debian/patches/series +1 -0
- data/debian/review.install +13 -0
- data/debian/review.links +4 -0
- data/debian/rules +13 -0
- data/debian/source/format +1 -0
- data/doc/NEWS.ja.md +350 -0
- data/doc/NEWS.md +354 -0
- data/doc/catalog.ja.md +53 -0
- data/doc/catalog.md +52 -0
- data/doc/format.ja.md +734 -0
- data/doc/format.md +746 -0
- data/doc/format_idg.ja.md +203 -0
- data/doc/quickstart.ja.md +222 -0
- data/doc/quickstart.md +252 -0
- data/doc/ruby-uuid/README +11 -0
- data/doc/ruby-uuid/README.ja +34 -0
- data/doc/sample.css +108 -0
- data/doc/sample.yml +238 -0
- data/lib/epubmaker.rb +24 -0
- data/lib/epubmaker/content.rb +93 -0
- data/lib/epubmaker/epubcommon.rb +424 -0
- data/lib/epubmaker/epubv2.rb +139 -0
- data/lib/epubmaker/epubv3.rb +222 -0
- data/lib/epubmaker/producer.rb +330 -0
- data/lib/lineinput.rb +107 -0
- data/lib/review.rb +3 -0
- data/lib/review/book.rb +43 -0
- data/lib/review/book/base.rb +401 -0
- data/lib/review/book/chapter.rb +100 -0
- data/lib/review/book/compilable.rb +184 -0
- data/lib/review/book/image_finder.rb +71 -0
- data/lib/review/book/index.rb +413 -0
- data/lib/review/book/page_metric.rb +47 -0
- data/lib/review/book/part.rb +54 -0
- data/lib/review/book/volume.rb +67 -0
- data/lib/review/builder.rb +452 -0
- data/lib/review/catalog.rb +52 -0
- data/lib/review/compiler.rb +5183 -0
- data/lib/review/compiler/literals_1_9.kpeg +22 -0
- data/lib/review/compiler/literals_1_9.rb +435 -0
- data/lib/review/configure.rb +64 -0
- data/lib/review/epubbuilder.rb +18 -0
- data/lib/review/epubmaker.rb +480 -0
- data/lib/review/ewbbuilder.rb +381 -0
- data/lib/review/exception.rb +21 -0
- data/lib/review/extentions.rb +4 -0
- data/lib/review/extentions/array.rb +25 -0
- data/lib/review/extentions/object.rb +9 -0
- data/lib/review/extentions/string.rb +33 -0
- data/lib/review/htmlbuilder.rb +1166 -0
- data/lib/review/htmllayout.rb +41 -0
- data/lib/review/htmltoc.rb +45 -0
- data/lib/review/htmlutils.rb +90 -0
- data/lib/review/i18n.rb +96 -0
- data/lib/review/i18n.yml +169 -0
- data/lib/review/idgxmlbuilder.rb +1233 -0
- data/lib/review/inaobuilder.rb +357 -0
- data/lib/review/latexbuilder.rb +941 -0
- data/lib/review/latexindex.rb +35 -0
- data/lib/review/latexutils.rb +95 -0
- data/lib/review/layout.tex.erb +340 -0
- data/lib/review/lineinput.rb +17 -0
- data/lib/review/location.rb +24 -0
- data/lib/review/makerhelper.rb +67 -0
- data/lib/review/markdownbuilder.rb +339 -0
- data/lib/review/node.rb +288 -0
- data/lib/review/pdfmaker.rb +332 -0
- data/lib/review/preprocessor.rb +530 -0
- data/lib/review/review.kpeg +745 -0
- data/lib/review/sec_counter.rb +69 -0
- data/lib/review/template.rb +21 -0
- data/lib/review/textbuilder.rb +17 -0
- data/lib/review/textutils.rb +16 -0
- data/lib/review/tocparser.rb +348 -0
- data/lib/review/tocprinter.rb +205 -0
- data/lib/review/topbuilder.rb +796 -0
- data/lib/review/unfold.rb +138 -0
- data/lib/review/version.rb +3 -0
- data/lib/uuid.rb +312 -0
- data/review.gemspec +32 -0
- data/templates/html/layout-html5.html.erb +17 -0
- data/templates/html/layout-xhtml1.html.erb +20 -0
- data/templates/ncx/epubv2.ncx.erb +11 -0
- data/templates/opf/epubv2.opf.erb +21 -0
- data/templates/opf/epubv3.opf.erb +18 -0
- data/templates/xml/container.xml.erb +6 -0
- data/test/CHAPS +2 -0
- data/test/assets/test.xml.erb +3 -0
- data/test/assets/test_template.tex +255 -0
- data/test/assets/test_template_backmatter.tex +32 -0
- data/test/bib.re +13 -0
- data/test/book_test_helper.rb +35 -0
- data/test/sample-book/README.md +7 -0
- data/test/sample-book/src/Rakefile +58 -0
- data/test/sample-book/src/_cover.html +3 -0
- data/test/sample-book/src/catalog.yml +10 -0
- data/test/sample-book/src/ch01.re +71 -0
- data/test/sample-book/src/ch02.re +3 -0
- data/test/sample-book/src/config.yml +186 -0
- data/test/sample-book/src/images/ch01-imgsample.jpg +0 -0
- data/test/sample-book/src/images/cover.jpg +0 -0
- data/test/sample-book/src/preface.re +15 -0
- data/test/sample-book/src/sty/jumoline.sty +310 -0
- data/test/sample-book/src/sty/reviewmacro.sty +39 -0
- data/test/sample-book/src/style.css +251 -0
- data/test/sample-book/src/vendor/jumoline/README +29 -0
- data/test/sample-book/src/vendor/jumoline/jumoline.dtx +2988 -0
- data/test/sample-book/src/vendor/jumoline/jumoline.ins +6 -0
- data/test/test.re +43 -0
- data/test/test_book.rb +556 -0
- data/test/test_book_chapter.rb +280 -0
- data/test/test_book_part.rb +54 -0
- data/test/test_builder.rb +80 -0
- data/test/test_catalog.rb +119 -0
- data/test/test_catalog_converter_cmd.rb +73 -0
- data/test/test_compiler.rb +92 -0
- data/test/test_configure.rb +50 -0
- data/test/test_epub3maker.rb +529 -0
- data/test/test_epubmaker.rb +569 -0
- data/test/test_epubmaker_cmd.rb +40 -0
- data/test/test_helper.rb +92 -0
- data/test/test_htmlbuilder.rb +1114 -0
- data/test/test_htmltoc.rb +32 -0
- data/test/test_htmlutils.rb +50 -0
- data/test/test_i18n.rb +180 -0
- data/test/test_idgxmlbuilder.rb +608 -0
- data/test/test_image_finder.rb +82 -0
- data/test/test_inaobuilder.rb +245 -0
- data/test/test_index.rb +174 -0
- data/test/test_latexbuilder.rb +732 -0
- data/test/test_lineinput.rb +182 -0
- data/test/test_makerhelper.rb +66 -0
- data/test/test_markdownbuilder.rb +125 -0
- data/test/test_pdfmaker.rb +171 -0
- data/test/test_pdfmaker_cmd.rb +40 -0
- data/test/test_preprocessor.rb +23 -0
- data/test/test_review_ext.rb +31 -0
- data/test/test_template.rb +26 -0
- data/test/test_textutils.rb +32 -0
- data/test/test_topbuilder.rb +291 -0
- data/test/test_uuid.rb +157 -0
- metadata +357 -0
data/test/test_uuid.rb
ADDED
@@ -0,0 +1,157 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# encoding: us-ascii
|
3
|
+
#
|
4
|
+
# Original license is below:
|
5
|
+
#
|
6
|
+
# Copyright(c) 2005 URABE, Shyouhei.
|
7
|
+
#
|
8
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
9
|
+
# of this code, to deal in the code without restriction, including without
|
10
|
+
# limitation the rights to use, copy, modify, merge, publish, distribute,
|
11
|
+
# sublicense, and/or sell copies of the code, and to permit persons to whom the
|
12
|
+
# code is furnished to do so, subject to the following conditions:
|
13
|
+
#
|
14
|
+
# The above copyright notice and this permission notice shall be
|
15
|
+
# included in all copies or substantial portions of the code.
|
16
|
+
#
|
17
|
+
# THE CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
# AUTHOR OR COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
# OUT OF OR IN CONNECTION WITH THE CODE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
# CODE.
|
24
|
+
|
25
|
+
require 'test/unit'
|
26
|
+
require 'uuid'
|
27
|
+
|
28
|
+
class TC_UUID < Test::Unit::TestCase
|
29
|
+
def test_v1
|
30
|
+
u1 = UUID.create
|
31
|
+
u2 = UUID.create
|
32
|
+
assert_not_equal u1, u2
|
33
|
+
end
|
34
|
+
|
35
|
+
def test_v1_repeatability
|
36
|
+
u1 = UUID.create 1, 2, "345678"
|
37
|
+
u2 = UUID.create 1, 2, "345678"
|
38
|
+
assert_equal u1, u2
|
39
|
+
end
|
40
|
+
|
41
|
+
def test_v3
|
42
|
+
u1 = UUID.create_md5 "foo", UUID::NameSpace_DNS
|
43
|
+
u2 = UUID.create_md5 "foo", UUID::NameSpace_DNS
|
44
|
+
u3 = UUID.create_md5 "foo", UUID::NameSpace_URL
|
45
|
+
assert_equal u1, u2
|
46
|
+
assert_not_equal u1, u3
|
47
|
+
end
|
48
|
+
|
49
|
+
def test_v5
|
50
|
+
u1 = UUID.create_sha1 "foo", UUID::NameSpace_DNS
|
51
|
+
u2 = UUID.create_sha1 "foo", UUID::NameSpace_DNS
|
52
|
+
u3 = UUID.create_sha1 "foo", UUID::NameSpace_URL
|
53
|
+
assert_equal u1, u2
|
54
|
+
assert_not_equal u1, u3
|
55
|
+
end
|
56
|
+
|
57
|
+
def test_v4
|
58
|
+
# This test is not perfect, because the random nature of version 4
|
59
|
+
# UUID it is not always true that the three objects below really
|
60
|
+
# differ. But in real life it's enough to say we're OK when this
|
61
|
+
# passes.
|
62
|
+
u1 = UUID.create_random
|
63
|
+
u2 = UUID.create_random
|
64
|
+
u3 = UUID.create_random
|
65
|
+
assert_not_equal u1.raw_bytes, u2.raw_bytes
|
66
|
+
assert_not_equal u1.raw_bytes, u3.raw_bytes
|
67
|
+
assert_not_equal u2.raw_bytes, u3.raw_bytes
|
68
|
+
end
|
69
|
+
|
70
|
+
def test_pack
|
71
|
+
u1 = UUID.pack 0x6ba7b810, 0x9dad, 0x11d1, 0x80, 0xb4,
|
72
|
+
"\000\300O\3240\310"
|
73
|
+
assert_equal UUID::NameSpace_DNS, u1
|
74
|
+
end
|
75
|
+
|
76
|
+
def test_unpack
|
77
|
+
tl, tm, th, cl, ch, m = UUID::NameSpace_DNS.unpack
|
78
|
+
assert_equal 0x6ba7b810, tl
|
79
|
+
assert_equal 0x9dad, tm
|
80
|
+
assert_equal 0x11d1, th
|
81
|
+
assert_equal 0x80, cl
|
82
|
+
assert_equal 0xb4, ch
|
83
|
+
assert_equal "\000\300O\3240\310", m
|
84
|
+
end
|
85
|
+
|
86
|
+
def test_parse
|
87
|
+
u1 = UUID.pack 0x6ba7b810, 0x9dad, 0x11d1, 0x80, 0xb4,
|
88
|
+
"\000\300O\3240\310"
|
89
|
+
u2 = UUID.parse "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
|
90
|
+
u3 = UUID.parse "urn:uuid:6ba7b810-9dad-11d1-80b4-00c04fd430c8"
|
91
|
+
assert_equal u1, u2
|
92
|
+
assert_equal u1, u3
|
93
|
+
end
|
94
|
+
|
95
|
+
def test_to_s
|
96
|
+
u1 = UUID.parse "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
|
97
|
+
assert_equal "6ba7b810-9dad-11d1-80b4-00c04fd430c8", u1.to_s
|
98
|
+
end
|
99
|
+
|
100
|
+
def test_to_i
|
101
|
+
u1 = UUID.parse "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
|
102
|
+
assert_equal 0x6ba7b8109dad11d180b400c04fd430c8, u1.to_i
|
103
|
+
end
|
104
|
+
|
105
|
+
#def test_time
|
106
|
+
# assert_raises(RangeError) do
|
107
|
+
# UUID::Nil.time
|
108
|
+
# end
|
109
|
+
# 0.times do |i|
|
110
|
+
# t = Time.at i, i
|
111
|
+
# u = UUID.create 0, t
|
112
|
+
# assert_equal t.tv_sec, u.time.tv_sec
|
113
|
+
# assert_equal t.tv_usec, u.time.tv_usec
|
114
|
+
# end
|
115
|
+
#end
|
116
|
+
|
117
|
+
def test_version
|
118
|
+
assert_equal 0, UUID::Nil.version
|
119
|
+
assert_equal 1, UUID.create.version
|
120
|
+
100.times do # x100 random tests may be enough?
|
121
|
+
assert_equal 4, UUID.create_random.version
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
def test_clock
|
126
|
+
assert_equal 0, UUID::Nil.clock
|
127
|
+
1000.times do |i| # clock is 14bit so 8191 suffice, but it's too slow
|
128
|
+
u = UUID.create i
|
129
|
+
assert_equal i, u.clock
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
def test_equality
|
134
|
+
u1 = UUID.parse "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
|
135
|
+
u2 = UUID.parse "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
|
136
|
+
assert_equal u1.hash, u2.hash
|
137
|
+
case u1
|
138
|
+
when u2
|
139
|
+
assert_equal true, true # ok
|
140
|
+
else
|
141
|
+
flunk "u1 != u2"
|
142
|
+
end
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
# Local Variables:
|
149
|
+
# mode: ruby
|
150
|
+
# coding: utf-8
|
151
|
+
# indent-tabs-mode: t
|
152
|
+
# tab-width: 3
|
153
|
+
# ruby-indent-level: 3
|
154
|
+
# fill-column: 79
|
155
|
+
# default-justification: full
|
156
|
+
# End:
|
157
|
+
# vi: ts=3 sw=3
|
metadata
ADDED
@@ -0,0 +1,357 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: review-peg
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- kmuto
|
8
|
+
- takahashim
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2015-11-01 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rake
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0'
|
21
|
+
type: :development
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: test-unit
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: kpeg
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: pygments.rb
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: rubocop
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
description: Re:VIEW is a digital publishing system for books and ebooks. It supports
|
85
|
+
InDesign, EPUB and LaTeX.
|
86
|
+
email: kmuto@debian.org
|
87
|
+
executables:
|
88
|
+
- review-catalog-converter-peg
|
89
|
+
- review-check-peg
|
90
|
+
- review-checkdep-peg
|
91
|
+
- review-compile-peg
|
92
|
+
- review-epubmaker-legacy-peg
|
93
|
+
- review-epubmaker-peg
|
94
|
+
- review-index-peg
|
95
|
+
- review-init-peg
|
96
|
+
- review-pdfmaker-peg
|
97
|
+
- review-preproc-peg
|
98
|
+
- review-validate-peg
|
99
|
+
- review-vol-peg
|
100
|
+
extensions: []
|
101
|
+
extra_rdoc_files:
|
102
|
+
- ChangeLog
|
103
|
+
- README.rdoc
|
104
|
+
files:
|
105
|
+
- ".gitignore"
|
106
|
+
- ".rubocop.yml"
|
107
|
+
- ".rubocop_todo.yml"
|
108
|
+
- ".travis.yml"
|
109
|
+
- COPYING
|
110
|
+
- ChangeLog
|
111
|
+
- Dockerfile
|
112
|
+
- Gemfile
|
113
|
+
- README.rdoc
|
114
|
+
- Rakefile
|
115
|
+
- bin/review-catalog-converter-peg
|
116
|
+
- bin/review-check-peg
|
117
|
+
- bin/review-checkdep-peg
|
118
|
+
- bin/review-compile-peg
|
119
|
+
- bin/review-epubmaker-legacy-peg
|
120
|
+
- bin/review-epubmaker-peg
|
121
|
+
- bin/review-index-peg
|
122
|
+
- bin/review-init-peg
|
123
|
+
- bin/review-pdfmaker-peg
|
124
|
+
- bin/review-preproc-peg
|
125
|
+
- bin/review-validate-peg
|
126
|
+
- bin/review-vol-peg
|
127
|
+
- debian/README.Debian
|
128
|
+
- debian/README.source
|
129
|
+
- debian/changelog
|
130
|
+
- debian/compat
|
131
|
+
- debian/control
|
132
|
+
- debian/copyright
|
133
|
+
- debian/docs
|
134
|
+
- debian/manpage.1.ex
|
135
|
+
- debian/patches/path.diff
|
136
|
+
- debian/patches/series
|
137
|
+
- debian/review.install
|
138
|
+
- debian/review.links
|
139
|
+
- debian/rules
|
140
|
+
- debian/source/format
|
141
|
+
- doc/NEWS.ja.md
|
142
|
+
- doc/NEWS.md
|
143
|
+
- doc/catalog.ja.md
|
144
|
+
- doc/catalog.md
|
145
|
+
- doc/format.ja.md
|
146
|
+
- doc/format.md
|
147
|
+
- doc/format_idg.ja.md
|
148
|
+
- doc/quickstart.ja.md
|
149
|
+
- doc/quickstart.md
|
150
|
+
- doc/ruby-uuid/README
|
151
|
+
- doc/ruby-uuid/README.ja
|
152
|
+
- doc/sample.css
|
153
|
+
- doc/sample.yml
|
154
|
+
- lib/epubmaker.rb
|
155
|
+
- lib/epubmaker/content.rb
|
156
|
+
- lib/epubmaker/epubcommon.rb
|
157
|
+
- lib/epubmaker/epubv2.rb
|
158
|
+
- lib/epubmaker/epubv3.rb
|
159
|
+
- lib/epubmaker/producer.rb
|
160
|
+
- lib/lineinput.rb
|
161
|
+
- lib/review.rb
|
162
|
+
- lib/review/book.rb
|
163
|
+
- lib/review/book/base.rb
|
164
|
+
- lib/review/book/chapter.rb
|
165
|
+
- lib/review/book/compilable.rb
|
166
|
+
- lib/review/book/image_finder.rb
|
167
|
+
- lib/review/book/index.rb
|
168
|
+
- lib/review/book/page_metric.rb
|
169
|
+
- lib/review/book/part.rb
|
170
|
+
- lib/review/book/volume.rb
|
171
|
+
- lib/review/builder.rb
|
172
|
+
- lib/review/catalog.rb
|
173
|
+
- lib/review/compiler.rb
|
174
|
+
- lib/review/compiler/literals_1_9.kpeg
|
175
|
+
- lib/review/compiler/literals_1_9.rb
|
176
|
+
- lib/review/configure.rb
|
177
|
+
- lib/review/epubbuilder.rb
|
178
|
+
- lib/review/epubmaker.rb
|
179
|
+
- lib/review/ewbbuilder.rb
|
180
|
+
- lib/review/exception.rb
|
181
|
+
- lib/review/extentions.rb
|
182
|
+
- lib/review/extentions/array.rb
|
183
|
+
- lib/review/extentions/object.rb
|
184
|
+
- lib/review/extentions/string.rb
|
185
|
+
- lib/review/htmlbuilder.rb
|
186
|
+
- lib/review/htmllayout.rb
|
187
|
+
- lib/review/htmltoc.rb
|
188
|
+
- lib/review/htmlutils.rb
|
189
|
+
- lib/review/i18n.rb
|
190
|
+
- lib/review/i18n.yml
|
191
|
+
- lib/review/idgxmlbuilder.rb
|
192
|
+
- lib/review/inaobuilder.rb
|
193
|
+
- lib/review/latexbuilder.rb
|
194
|
+
- lib/review/latexindex.rb
|
195
|
+
- lib/review/latexutils.rb
|
196
|
+
- lib/review/layout.tex.erb
|
197
|
+
- lib/review/lineinput.rb
|
198
|
+
- lib/review/location.rb
|
199
|
+
- lib/review/makerhelper.rb
|
200
|
+
- lib/review/markdownbuilder.rb
|
201
|
+
- lib/review/node.rb
|
202
|
+
- lib/review/pdfmaker.rb
|
203
|
+
- lib/review/preprocessor.rb
|
204
|
+
- lib/review/review.kpeg
|
205
|
+
- lib/review/sec_counter.rb
|
206
|
+
- lib/review/template.rb
|
207
|
+
- lib/review/textbuilder.rb
|
208
|
+
- lib/review/textutils.rb
|
209
|
+
- lib/review/tocparser.rb
|
210
|
+
- lib/review/tocprinter.rb
|
211
|
+
- lib/review/topbuilder.rb
|
212
|
+
- lib/review/unfold.rb
|
213
|
+
- lib/review/version.rb
|
214
|
+
- lib/uuid.rb
|
215
|
+
- review.gemspec
|
216
|
+
- templates/html/layout-html5.html.erb
|
217
|
+
- templates/html/layout-xhtml1.html.erb
|
218
|
+
- templates/ncx/epubv2.ncx.erb
|
219
|
+
- templates/opf/epubv2.opf.erb
|
220
|
+
- templates/opf/epubv3.opf.erb
|
221
|
+
- templates/xml/container.xml.erb
|
222
|
+
- test/CHAPS
|
223
|
+
- test/assets/test.xml.erb
|
224
|
+
- test/assets/test_template.tex
|
225
|
+
- test/assets/test_template_backmatter.tex
|
226
|
+
- test/bib.re
|
227
|
+
- test/book_test_helper.rb
|
228
|
+
- test/sample-book/README.md
|
229
|
+
- test/sample-book/src/Rakefile
|
230
|
+
- test/sample-book/src/_cover.html
|
231
|
+
- test/sample-book/src/catalog.yml
|
232
|
+
- test/sample-book/src/ch01.re
|
233
|
+
- test/sample-book/src/ch02.re
|
234
|
+
- test/sample-book/src/config.yml
|
235
|
+
- test/sample-book/src/images/ch01-imgsample.jpg
|
236
|
+
- test/sample-book/src/images/cover.jpg
|
237
|
+
- test/sample-book/src/preface.re
|
238
|
+
- test/sample-book/src/sty/jumoline.sty
|
239
|
+
- test/sample-book/src/sty/reviewmacro.sty
|
240
|
+
- test/sample-book/src/style.css
|
241
|
+
- test/sample-book/src/vendor/jumoline/README
|
242
|
+
- test/sample-book/src/vendor/jumoline/jumoline.dtx
|
243
|
+
- test/sample-book/src/vendor/jumoline/jumoline.ins
|
244
|
+
- test/test.re
|
245
|
+
- test/test_book.rb
|
246
|
+
- test/test_book_chapter.rb
|
247
|
+
- test/test_book_part.rb
|
248
|
+
- test/test_builder.rb
|
249
|
+
- test/test_catalog.rb
|
250
|
+
- test/test_catalog_converter_cmd.rb
|
251
|
+
- test/test_compiler.rb
|
252
|
+
- test/test_configure.rb
|
253
|
+
- test/test_epub3maker.rb
|
254
|
+
- test/test_epubmaker.rb
|
255
|
+
- test/test_epubmaker_cmd.rb
|
256
|
+
- test/test_helper.rb
|
257
|
+
- test/test_htmlbuilder.rb
|
258
|
+
- test/test_htmltoc.rb
|
259
|
+
- test/test_htmlutils.rb
|
260
|
+
- test/test_i18n.rb
|
261
|
+
- test/test_idgxmlbuilder.rb
|
262
|
+
- test/test_image_finder.rb
|
263
|
+
- test/test_inaobuilder.rb
|
264
|
+
- test/test_index.rb
|
265
|
+
- test/test_latexbuilder.rb
|
266
|
+
- test/test_lineinput.rb
|
267
|
+
- test/test_makerhelper.rb
|
268
|
+
- test/test_markdownbuilder.rb
|
269
|
+
- test/test_pdfmaker.rb
|
270
|
+
- test/test_pdfmaker_cmd.rb
|
271
|
+
- test/test_preprocessor.rb
|
272
|
+
- test/test_review_ext.rb
|
273
|
+
- test/test_template.rb
|
274
|
+
- test/test_textutils.rb
|
275
|
+
- test/test_topbuilder.rb
|
276
|
+
- test/test_uuid.rb
|
277
|
+
homepage: http://github.com/kmuto/review
|
278
|
+
licenses:
|
279
|
+
- LGPL
|
280
|
+
metadata: {}
|
281
|
+
post_install_message:
|
282
|
+
rdoc_options: []
|
283
|
+
require_paths:
|
284
|
+
- lib
|
285
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
286
|
+
requirements:
|
287
|
+
- - ">="
|
288
|
+
- !ruby/object:Gem::Version
|
289
|
+
version: '0'
|
290
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
291
|
+
requirements:
|
292
|
+
- - ">="
|
293
|
+
- !ruby/object:Gem::Version
|
294
|
+
version: '0'
|
295
|
+
requirements: []
|
296
|
+
rubyforge_project:
|
297
|
+
rubygems_version: 2.4.5
|
298
|
+
signing_key:
|
299
|
+
specification_version: 4
|
300
|
+
summary: 'Re:VIEW peg: a easy-to-use digital publishing system (PEG version)'
|
301
|
+
test_files:
|
302
|
+
- test/CHAPS
|
303
|
+
- test/assets/test.xml.erb
|
304
|
+
- test/assets/test_template.tex
|
305
|
+
- test/assets/test_template_backmatter.tex
|
306
|
+
- test/bib.re
|
307
|
+
- test/book_test_helper.rb
|
308
|
+
- test/sample-book/README.md
|
309
|
+
- test/sample-book/src/Rakefile
|
310
|
+
- test/sample-book/src/_cover.html
|
311
|
+
- test/sample-book/src/catalog.yml
|
312
|
+
- test/sample-book/src/ch01.re
|
313
|
+
- test/sample-book/src/ch02.re
|
314
|
+
- test/sample-book/src/config.yml
|
315
|
+
- test/sample-book/src/images/ch01-imgsample.jpg
|
316
|
+
- test/sample-book/src/images/cover.jpg
|
317
|
+
- test/sample-book/src/preface.re
|
318
|
+
- test/sample-book/src/sty/jumoline.sty
|
319
|
+
- test/sample-book/src/sty/reviewmacro.sty
|
320
|
+
- test/sample-book/src/style.css
|
321
|
+
- test/sample-book/src/vendor/jumoline/README
|
322
|
+
- test/sample-book/src/vendor/jumoline/jumoline.dtx
|
323
|
+
- test/sample-book/src/vendor/jumoline/jumoline.ins
|
324
|
+
- test/test.re
|
325
|
+
- test/test_book.rb
|
326
|
+
- test/test_book_chapter.rb
|
327
|
+
- test/test_book_part.rb
|
328
|
+
- test/test_builder.rb
|
329
|
+
- test/test_catalog.rb
|
330
|
+
- test/test_catalog_converter_cmd.rb
|
331
|
+
- test/test_compiler.rb
|
332
|
+
- test/test_configure.rb
|
333
|
+
- test/test_epub3maker.rb
|
334
|
+
- test/test_epubmaker.rb
|
335
|
+
- test/test_epubmaker_cmd.rb
|
336
|
+
- test/test_helper.rb
|
337
|
+
- test/test_htmlbuilder.rb
|
338
|
+
- test/test_htmltoc.rb
|
339
|
+
- test/test_htmlutils.rb
|
340
|
+
- test/test_i18n.rb
|
341
|
+
- test/test_idgxmlbuilder.rb
|
342
|
+
- test/test_image_finder.rb
|
343
|
+
- test/test_inaobuilder.rb
|
344
|
+
- test/test_index.rb
|
345
|
+
- test/test_latexbuilder.rb
|
346
|
+
- test/test_lineinput.rb
|
347
|
+
- test/test_makerhelper.rb
|
348
|
+
- test/test_markdownbuilder.rb
|
349
|
+
- test/test_pdfmaker.rb
|
350
|
+
- test/test_pdfmaker_cmd.rb
|
351
|
+
- test/test_preprocessor.rb
|
352
|
+
- test/test_review_ext.rb
|
353
|
+
- test/test_template.rb
|
354
|
+
- test/test_textutils.rb
|
355
|
+
- test/test_topbuilder.rb
|
356
|
+
- test/test_uuid.rb
|
357
|
+
has_rdoc:
|