review 1.7.0 → 1.7.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5271e687b4df900c4271bc7d6d2db2542c5d63f0
4
- data.tar.gz: aef3accb7c8af263251376f0cfe45179f88354df
3
+ metadata.gz: c085c6569216545a739b0b4ed817a350f52e45fd
4
+ data.tar.gz: f2fae8c6d527b106e595c43e7a2a990f967a580b
5
5
  SHA512:
6
- metadata.gz: efc3bb08dd5506d99fdea1e1acb04c2042151e66726f2327b445fd4d113ded6adc5647e888cdc000aa55fdbbacf812bb882f4090a11e352b3d312b6e0dff7d83
7
- data.tar.gz: 8c0f10dc42c113572e4a4819a81a2d0f700d1fe8306b571678850b0b4f7cf34f57f767bb06640e6741dd596b73bdaea2b5541b6cd4d46a958eaf02877bc0b147
6
+ metadata.gz: da2cf9ca8b6c25720d823d54546c697bc65c53ba2614c3be2632a904391e021d9b6f2aa2d89cc68051f5f28a1bce7f7521b7a28f1050d5a929f942b1e33e9f35
7
+ data.tar.gz: 1c13220303cc63f9437f0bc70b58d2e03a6f35c715e5f75678c2eeb50a729946fb7ebaa0644c5af629d82a9d247bdbf9a2a4e87bef64fb970a57d684a23ceab1
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ Sun Nov 29 23:12:29 2015 Masayoshi Takahashi <takahashimm@gmail.com>
2
+
3
+ * Release 1.7.1
4
+
1
5
  Thu Oct 29 13:58:22 2015 KADO Masanori <kdmsnr@gmail.com>
2
6
 
3
7
  * Release 1.7.0
data/bin/review-init CHANGED
@@ -31,6 +31,9 @@ def main
31
31
  opts.on('-l', '--locale', 'generate locale.yml file.') {
32
32
  @locale = true
33
33
  }
34
+ opts.on('', '--epub-version VERSION', 'define EPUB version') { |version|
35
+ @epub_version = version
36
+ }
34
37
  begin
35
38
  opts.parse!
36
39
  rescue OptionParser::ParseError => err
@@ -80,23 +83,10 @@ end
80
83
 
81
84
  def generate_layout(dir)
82
85
  FileUtils.mkdir_p dir + '/layouts'
83
- File.open("#{dir}/layouts/layout.html.erb", "w") do |file|
84
- file.write <<-EOS
85
- <?xml version="1.0" encoding="UTF-8"?>
86
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
87
- <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ops="http://www.idpf.org/2007/ops" xml:lang="ja">
88
- <head>
89
- <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
90
- <meta http-equiv="Content-Style-Type" content="text/css" />
91
- <link rel="stylesheet" type="text/css" href="style.css" />
92
- <meta name="generator" content="Re:VIEW" />
93
- <title><%= title %></title>
94
- </head>
95
- <body>
96
- <%= body %>
97
- </body>
98
- </html>
99
- EOS
86
+ if @epub_version.to_i == 2
87
+ FileUtils.cp @review_dir + "/templates/html/layout-xhtml1.html.erb", dir + '/layouts/layout.html.erb'
88
+ else
89
+ FileUtils.cp @review_dir + "/templates/html/layout-html5.html.erb", dir + '/layouts/layout.html.erb'
100
90
  end
101
91
  end
102
92
 
@@ -125,7 +115,11 @@ def generate_cover_image(dir)
125
115
  end
126
116
 
127
117
  def generate_config(dir)
128
- FileUtils.cp @review_dir + "/test/sample-book/src/config.yml", dir
118
+ if @epub_version.to_i == 2
119
+ FileUtils.cp @review_dir + "/test/sample-book/src/config-epub2.yml", File.join(dir, "config.yml")
120
+ else
121
+ FileUtils.cp @review_dir + "/test/sample-book/src/config.yml", dir
122
+ end
129
123
  end
130
124
 
131
125
  def generate_style(dir)
data/doc/NEWS.ja.md CHANGED
@@ -1,3 +1,9 @@
1
+ # Version 1.7.1の主な変更点
2
+
3
+ ## バグ修正
4
+ * latexbuilderで`//listnum`のキャプションが2重に出力されるバグを修正しました ([#465])
5
+ * review-initで生成される雛形を元にEPUB3のファイルを作成するとepubcheck 4.0.1でエラーになるバグを修正しました ([#456])
6
+
1
7
  # Version 1.7.0の主な変更点
2
8
 
3
9
  ## 全般
data/doc/NEWS.md CHANGED
@@ -1,3 +1,9 @@
1
+ # Version 1.7.1
2
+
3
+ ## Bug Fix
4
+ * Fix latexbuilder to display caption twice in `//listnum` ([#465])
5
+ * Fix review-init to generate non-valid EPUB3 file with epubcheck 4.0.1 ([#456])
6
+
1
7
  # Version 1.7.0
2
8
 
3
9
  ## In general
@@ -71,6 +71,8 @@ module ReVIEW
71
71
  warn "user's layout is prohibited in safe mode. ignored."
72
72
  else
73
73
  title = strip_html(compile_inline(@chapter.title))
74
+ language = @book.config['language']
75
+ stylesheets = @book.config["stylesheet"]
74
76
 
75
77
  toc = ""
76
78
  toc_level = 0
@@ -94,6 +96,8 @@ module ReVIEW
94
96
  HTMLLayout.new(
95
97
  {'body' => @output.string, 'title' => title, 'toc' => toc,
96
98
  'builder' => self,
99
+ 'language' => language,
100
+ 'stylesheets' => stylesheets,
97
101
  'next' => @chapter.next_chapter,
98
102
  'prev' => @chapter.prev_chapter},
99
103
  layout_file).result
@@ -11,6 +11,8 @@ class HTMLLayout
11
11
  @next = params['next']
12
12
  @prev = params['prev']
13
13
  @builder = params['builder']
14
+ @language = params['language']
15
+ @stylesheets = params['stylesheets']
14
16
  @template = template
15
17
  end
16
18
  attr_reader :body, :title, :toc
@@ -238,9 +238,9 @@ module ReVIEW
238
238
  def emlist(lines, caption = nil, lang = nil)
239
239
  blank
240
240
  if highlight_listings?
241
- common_code_block_lst(lines, 'reviewemlistlst', 'title', caption, lang)
241
+ common_code_block_lst(nil, lines, 'reviewemlistlst', 'title', caption, lang)
242
242
  else
243
- common_code_block(lines, 'reviewemlist', caption, lang) do |line, idx|
243
+ common_code_block(nil, lines, 'reviewemlist', caption, lang) do |line, idx|
244
244
  detab(line) + "\n"
245
245
  end
246
246
  end
@@ -249,9 +249,9 @@ module ReVIEW
249
249
  def emlistnum(lines, caption = nil, lang = nil)
250
250
  blank
251
251
  if highlight_listings?
252
- common_code_block_lst(lines, 'reviewemlistnumlst', 'title', caption, lang)
252
+ common_code_block_lst(nil, lines, 'reviewemlistnumlst', 'title', caption, lang)
253
253
  else
254
- common_code_block(lines, 'reviewemlist', caption, lang) do |line, idx|
254
+ common_code_block(nil, lines, 'reviewemlist', caption, lang) do |line, idx|
255
255
  detab((idx+1).to_s.rjust(2)+": " + line) + "\n"
256
256
  end
257
257
  end
@@ -260,14 +260,9 @@ module ReVIEW
260
260
  ## override Builder#list
261
261
  def list(lines, id, caption, lang = nil)
262
262
  if highlight_listings?
263
- common_code_block_lst(lines, 'reviewlistlst', 'caption', caption, lang)
263
+ common_code_block_lst(id, lines, 'reviewlistlst', 'caption', caption, lang)
264
264
  else
265
- begin
266
- puts macro('reviewlistcaption', "#{I18n.t("list")}#{I18n.t("format_number_header", [@chapter.number, @chapter.list(id).number])}#{I18n.t("caption_prefix")}#{compile_inline(caption)}")
267
- rescue KeyError
268
- error "no such list: #{id}"
269
- end
270
- common_code_block(lines, 'reviewlist', nil, lang) do |line, idx|
265
+ common_code_block(id, lines, 'reviewlist', nil, lang) do |line, idx|
271
266
  detab(line) + "\n"
272
267
  end
273
268
  end
@@ -276,14 +271,9 @@ module ReVIEW
276
271
  ## override Builder#listnum
277
272
  def listnum(lines, id, caption, lang = nil)
278
273
  if highlight_listings?
279
- common_code_block_lst(lines, 'reviewlistnumlst', 'caption', caption, lang)
274
+ common_code_block_lst(id, lines, 'reviewlistnumlst', 'caption', caption, lang)
280
275
  else
281
- begin
282
- puts macro('reviewlistcaption', "#{I18n.t("list")}#{I18n.t("format_number_header", [@chapter.number, @chapter.list(id).number])}#{I18n.t("caption_prefix")}#{compile_inline(caption)}")
283
- rescue KeyError
284
- error "no such list: #{id}"
285
- end
286
- common_code_block(lines, 'reviewlist', caption, lang) do |line, idx|
276
+ common_code_block(id, lines, 'reviewlist', caption, lang) do |line, idx|
287
277
  detab((idx+1).to_s.rjust(2)+": " + line) + "\n"
288
278
  end
289
279
  end
@@ -291,18 +281,27 @@ module ReVIEW
291
281
 
292
282
  def cmd(lines, caption = nil, lang = nil)
293
283
  if highlight_listings?
294
- common_code_block_lst(lines, 'reviewcmdlst', 'title', caption, lang)
284
+ common_code_block_lst(nil, lines, 'reviewcmdlst', 'title', caption, lang)
295
285
  else
296
286
  blank
297
- common_code_block(lines, 'reviewcmd', caption, lang) do |line, idx|
287
+ common_code_block(nil, lines, 'reviewcmd', caption, lang) do |line, idx|
298
288
  detab(line) + "\n"
299
289
  end
300
290
  end
301
291
  end
302
292
 
303
- def common_code_block(lines, command, caption, lang)
293
+ def common_code_block(id, lines, command, caption, lang)
294
+ buf = ""
304
295
  if caption
305
- puts macro(command + 'caption', "#{compile_inline(caption)}")
296
+ if command =~ /emlist/ || command =~ /cmd/
297
+ puts macro(command + 'caption', "#{compile_inline(caption)}")
298
+ else
299
+ begin
300
+ puts macro('reviewlistcaption', "#{I18n.t("list")}#{I18n.t("format_number_header", [@chapter.number, @chapter.list(id).number])}#{I18n.t("caption_prefix")}#{compile_inline(caption)}")
301
+ rescue KeyError
302
+ error "no such list: #{id}"
303
+ end
304
+ end
306
305
  end
307
306
  body = ""
308
307
  lines.each_with_index do |line, idx|
@@ -314,7 +313,7 @@ module ReVIEW
314
313
  blank
315
314
  end
316
315
 
317
- def common_code_block_lst(lines, command, title, caption, lang)
316
+ def common_code_block_lst(id, lines, command, title, caption, lang)
318
317
  caption_str = compile_inline((caption || ""))
319
318
  if title == "title" && caption_str == ""
320
319
  caption_str = "\\relax" ## dummy charactor to remove lstname
@@ -335,7 +334,7 @@ module ReVIEW
335
334
 
336
335
  def source(lines, caption, lang = nil)
337
336
  if highlight_listings?
338
- common_code_block_lst(lines, 'reviewlistlst', 'title', caption, lang)
337
+ common_code_block_lst(nil, lines, 'reviewlistlst', 'title', caption, lang)
339
338
  else
340
339
  puts '\begin{reviewlist}'
341
340
  puts macro('reviewlistcaption', compile_inline(caption))
@@ -1,3 +1,3 @@
1
1
  module ReVIEW
2
- VERSION = "1.7.0"
2
+ VERSION = "1.7.1"
3
3
  end
data/review.gemspec CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
13
13
  gem.summary = "Re:VIEW: a easy-to-use digital publishing system"
14
14
  gem.description = "Re:VIEW is a digital publishing system for books and ebooks. It supports InDesign, EPUB and LaTeX."
15
15
  gem.required_rubygems_version = Gem::Requirement.new(">= 0") if gem.respond_to? :required_rubygems_version=
16
- gem.date = "2015-10-29"
16
+ gem.date = "2015-11-29"
17
17
 
18
18
  gem.files = `git ls-files`.split("\n")
19
19
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
@@ -0,0 +1,186 @@
1
+ # review-epubmaker向けの設定ファイルの例。
2
+ # yamlファイルをRe:VIEWファイルのある場所に置き、
3
+ # 「review-epubmaker yamlファイル」を実行すると、<bookname>.epubファイルが
4
+ # 生成されます。
5
+ # このファイルはUTF-8エンコーディングで記述してください。
6
+
7
+ # ブック名(ファイル名になるもの。ASCII範囲の文字を使用)
8
+ bookname: book
9
+ # 記述言語。省略した場合はja
10
+ language: ja
11
+ # 書名
12
+ booktitle: Re:VIEWサンプル書籍
13
+ # 固有IDに使用するドメイン。省略した場合は時刻に基づくランダムUUIDが入る
14
+ urnid: urn:uid:http://tatsu-zine.com/books/review-sample-book/1.0.0/
15
+ # ISBN。省略した場合はurnidが入る
16
+ # isbn: null
17
+ # 著者名。["高橋征義", "John Doe"] のように配列を使うことで複数指定可
18
+ aut: 高橋征義
19
+ # 出版社。配列書式で複数指定可能
20
+ prt: 達人出版会
21
+ # 編集者。配列書式で複数指定可能
22
+ edt: 高橋征義
23
+ # 刊行日。YYYY-MM-DD形式。省略した場合は本日の日付
24
+ date: 2011-08-03
25
+ # 発行年月。YYYY-MM-DD形式による配列指定。省略した場合はdateを使用する
26
+ # 複数指定する場合は次のように記述する
27
+ # [["初版第第1刷の日付", "初版第第2刷の日付"], ["第2版第1刷の日付"]]
28
+ # 日付の後ろを空白文字で区切り、任意の文字列を置くことも可能。
29
+ history: [["2011-08-03 v1.0.0版発行"]]
30
+ # 権利表記
31
+ rights: (C) 2011 Masayoshi Takahashi
32
+
33
+ # 以下はオプション(autと同じように配列書式で複数指定可能)。
34
+ # adp: 異なるメディア向けに作り直した者
35
+ # ann: 注釈記述者
36
+ # arr: アレンジした者
37
+ # art: グラフィックデザインおよび芸術家
38
+ # asn: 関連・かつての所有者・関係者
39
+ # aqt: 大きく引用された人物
40
+ # aft: 後書き・奥付の責任者
41
+ # aui: 序論・序文・前書きの責任者
42
+ # ant: 目録責任者
43
+ # bkp: メディア制作責任者
44
+ # clb: 限定参加または補足者
45
+ # cmm: 解釈・分析・考察者
46
+ # dsr: デザイナ
47
+ # edt: 編集者
48
+ # ill: イラストレータ
49
+ # lyr: 歌詞作成者
50
+ # mdc: メタデータセットの一次的責任者
51
+ # mus: 音楽家
52
+ # nrt: 語り手
53
+ # oth: その他
54
+ # pht: 撮影責任者
55
+ # red: 項目の枠組起草者
56
+ # rev: 評論者
57
+ # spn: 援助者
58
+ # ths: 監督者
59
+ # trc: 筆記・タイプ作業者
60
+ # trl: 翻訳者
61
+ # description: ブックの説明
62
+ # subject: 短い説明用タグ
63
+ # type: 書籍のカテゴリーなど
64
+ # format: メディアタイプおよび特徴
65
+ # source: 出版物生成の重要なリソース情報
66
+ # relation: 補助的リソース
67
+ # coverage: 内容の範囲や領域
68
+
69
+ # htmlext: HTMLファイルの拡張子(省略した場合はhtml)
70
+ # CSSファイル(配列で複数指定可、yamlファイルおよびRe:VIEWファイルを置いたディレクトリにあること)
71
+ stylesheet: ["style.css"]
72
+
73
+ # ePUBのバージョン (2か3) 省略した場合は2
74
+ epubversion: 2
75
+ # HTMLのバージョン (4か5。epubversionを3にしたときには5にする)
76
+ htmlversion: 4
77
+
78
+ # 目次を作成するか。省略した場合はnull(作成しない)
79
+ # toc: true
80
+
81
+ # 目次として抽出する見出しレベル。省略した場合は2
82
+ toclevel: 2
83
+ # 本文でセクション番号を表示する見出しレベル。省略した場合は2
84
+ # 採番させたくない見出しには「==[nonum]」のようにnonum指定をする
85
+ secnolevel: 3
86
+ # EPUB2標準の目次以外に物理目次ファイルを作成するか。省略した場合はnull (作成しない)
87
+ # ePUB3においてはこの設定によらず必ず作成される
88
+ # mytoc: true
89
+
90
+ # 付録の連番のスタイル。null(アラビア数字1〜。デフォルト)、alpha(英字A〜)、roman(ローマ数字I〜)
91
+ # appendix_format: null
92
+
93
+ # 表紙にするHTMLファイル。ファイル名を指定すると表紙として入る
94
+ # cover: _cover.html
95
+ # 表紙に配置し、書籍の影絵にも利用する画像ファイル。省略した場合はnull (画像を使わない)
96
+ coverimage: cover.jpg
97
+ # 表紙の後に大扉ページを作成するか。省略した場合はnull (作成しない)
98
+ # titlepage: null
99
+ # 自動生成される大扉ページを上書きするファイル。ファイル名を指定すると大扉として入る
100
+ # titlefile: null
101
+ # 原書大扉ページにするHTMLファイル。ファイル名を指定すると原書大扉として入る
102
+ # originaltitlefile: null
103
+ # 権利表記ページファイル。ファイル名を指定すると権利表記として入る
104
+ # creditfile: null
105
+ # プロフィールページファイル。ファイル名を指定すると著者紹介として入る
106
+ # profile: null
107
+ # プロフィールページの目次上の見出し
108
+ # profiletitle: 著者紹介
109
+ # 広告ファイル。ファイル名を指定すると広告として入る
110
+ # advfile: null
111
+ # 奥付を作成するか。デフォルトでは作成されない。trueを指定するとデフォルトの奥付、ファイル名を指定するとそれがcolophon.htmlとしてコピーされる
112
+ colophon: true
113
+ # 裏表紙ファイル (画像はcoversまたはimagesに配置する)。ファイル名を指定すると裏表紙として入る
114
+ # backcover: null
115
+
116
+ # 以下のパラメータを有効にするときには、
117
+ # epubmaker:
118
+ # パラメータ: 値
119
+ # パラメータ: 値
120
+ # ...
121
+ # という構成にする必要がある(インデントさせる)
122
+
123
+ # epubmaker:
124
+ # 目次を要素の階層表現にしない。省略した場合(null)は階層化する。
125
+ # 特に部扉が入るなどの理由で、構成によっては階層化目次でepubcheckに
126
+ # パスしない目次ができるが、そのようなときにはこれをtrueにする
127
+ # flattoc: null
128
+ # 目次のインデントレベルをスペース文字で表現する(flattocがtrueのときのみ)
129
+ # flattocindent: true
130
+ # NCX目次の見出しレベルごとの飾り(配列で設定)。EPUB3ではNCXは作られない
131
+ # ncxindent:
132
+ #-
133
+ #- -
134
+ # フックは、各段階で介入したいときのプログラムを指定する。自動で適切な引数が渡される
135
+ # プログラムには実行権限が必要
136
+ # ファイル変換処理の前に実行するプログラム。スタイルシートのコンパイルをしたいときなどに利用する。
137
+ # 渡される引数1=作業用展開ディレクトリ
138
+ # hook_beforeprocess: null
139
+ # 前付の作成後に実行するプログラム。作業用展開ディレクトリにある目次ファイル(toc-html.txt)を操作したいときなどに利用する。
140
+ # 渡される引数1=作業用展開ディレクトリ
141
+ # hook_afterfrontmatter: null
142
+ # 本文の変換後に実行するプログラム。作業用展開ディレクトリにある目次ファイル(toc-html.txt)を操作したいときなどに利用する。
143
+ # 渡される引数1=作業用展開ディレクトリ
144
+ # hook_afterbody: null
145
+ # 後付の作成後に実行するプログラム。作業用展開ディレクトリにある目次ファイル(toc-html.txt)を操作したいときなどに利用する。
146
+ # 渡される引数1=作業用展開ディレクトリ
147
+ # hook_afterbackmatter: null
148
+ # 画像およびフォントをコピーした後に実行するプログラム。別の画像やフォントを追加したいときなどに利用する。
149
+ # 渡される引数1=作業用展開ディレクトリ
150
+ # hook_aftercopyimage: null
151
+ # ePUB zipアーカイブ直前に実行するプログラム。メタ情報などを加工したいときなどに利用する。
152
+ # 渡される引数1=ePUB準備ディレクトリ
153
+ # hook_prepack: null
154
+ # 変換したHTMLファイルおよびCSSを解析して厳密に使用している画像ファイルだけを取り込むか。デフォルトはnull(imagesディレクトリすべてを取り込む)
155
+ # なお、フォント、カバー、広告についてはこの設定によらずディレクトリ内のものがすべて取り込まれる
156
+ # verify_target_images: null
157
+ # verify_target_imagesがtrueの状態において、解析で発見されなくても強制的に取り込むファイルの相対パスの配列
158
+ # force_include_images: []
159
+ # Re:VIEWファイル名を使わず、前付にpre01,pre02...、本文にchap01,chap02l...、後付にpost01,post02...という名前付けルールにするか
160
+ # rename_for_legacy: null
161
+ # ePUBアーカイブの非圧縮実行
162
+ # zip_stage1: "zip -0Xq"
163
+ # ePUBアーカイブの圧縮実行
164
+ # zip_stage2: "zip -Xr9Dq"
165
+ # ePUBアーカイブに追加するパス(デフォルトはmimetype、META-INF、OEBPS)
166
+ # zip_addpath: null
167
+ #
168
+ # epubmaker:階層を使うものはここまで
169
+
170
+ # ハイライトを有効にするか。pygments.gemが必要
171
+ # pygments: null
172
+
173
+ # 取り込む画像が格納されているディレクトリ。省略した場合は以下
174
+ # imagedir: images
175
+
176
+ # 取り込むフォントが格納されているディレクトリ。省略した場合は以下
177
+ # fontdir: fonts
178
+
179
+ # imagedir内から取り込まれる対象となるファイル拡張子。省略した場合は以下
180
+ # image_ext: ["png", "gif", "jpg", "jpeg", "svg", "ttf", "woff", "otf"]
181
+
182
+ # fontdir内から取り込まれる対象となるファイル拡張子。省略した場合は以下
183
+ # font_ext: ["ttf", "woff", "otf"]
184
+
185
+ texstyle: reviewmacro
186
+ debug: true
@@ -67,6 +67,7 @@ rights: (C) 2011 Masayoshi Takahashi
67
67
  # coverage: 内容の範囲や領域
68
68
 
69
69
  # htmlext: HTMLファイルの拡張子(省略した場合はhtml)
70
+ htmlext: xhtml
70
71
  # CSSファイル(配列で複数指定可、yamlファイルおよびRe:VIEWファイルを置いたディレクトリにあること)
71
72
  stylesheet: ["style.css"]
72
73
 
@@ -279,7 +279,7 @@ class LATEXBuidlerTest < Test::Unit::TestCase
279
279
 
280
280
  def test_listnum
281
281
  actual = compile_block("//listnum[test1][ruby]{\nclass Foo\n def foo\n bar\n\n buz\n end\nend\n//}\n")
282
- assert_equal %Q|\\reviewlistcaption{リスト1.1: ruby}\n\\reviewlistcaption{ruby}\n\\begin{reviewlist}\n 1: class Foo\n 2: def foo\n 3: bar\n 4: \n 5: buz\n 6: end\n 7: end\n\\end{reviewlist}\n|, actual
282
+ assert_equal %Q|\\reviewlistcaption{リスト1.1: ruby}\n\\begin{reviewlist}\n 1: class Foo\n 2: def foo\n 3: bar\n 4: \n 5: buz\n 6: end\n 7: end\n\\end{reviewlist}\n|, actual
283
283
  end
284
284
 
285
285
  def test_listnum_lst
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: review
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - kmuto
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-10-29 00:00:00.000000000 Z
12
+ date: 2015-11-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -211,6 +211,7 @@ files:
211
211
  - test/sample-book/src/catalog.yml
212
212
  - test/sample-book/src/ch01.re
213
213
  - test/sample-book/src/ch02.re
214
+ - test/sample-book/src/config-epub2.yml
214
215
  - test/sample-book/src/config.yml
215
216
  - test/sample-book/src/images/ch01-imgsample.jpg
216
217
  - test/sample-book/src/images/cover.jpg
@@ -274,7 +275,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
274
275
  version: '0'
275
276
  requirements: []
276
277
  rubyforge_project:
277
- rubygems_version: 2.4.5.1
278
+ rubygems_version: 2.4.5
278
279
  signing_key:
279
280
  specification_version: 4
280
281
  summary: 'Re:VIEW: a easy-to-use digital publishing system'
@@ -291,6 +292,7 @@ test_files:
291
292
  - test/sample-book/src/catalog.yml
292
293
  - test/sample-book/src/ch01.re
293
294
  - test/sample-book/src/ch02.re
295
+ - test/sample-book/src/config-epub2.yml
294
296
  - test/sample-book/src/config.yml
295
297
  - test/sample-book/src/images/ch01-imgsample.jpg
296
298
  - test/sample-book/src/images/cover.jpg
@@ -334,3 +336,4 @@ test_files:
334
336
  - test/test_textutils.rb
335
337
  - test/test_topbuilder.rb
336
338
  - test/test_uuid.rb
339
+ has_rdoc: