review 3.1.0 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (225) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby-win.yml +45 -0
  3. data/.github/workflows/ruby.yml +27 -0
  4. data/.rubocop.yml +161 -34
  5. data/.travis.yml +16 -15
  6. data/Dockerfile +21 -5
  7. data/NEWS.ja.md +394 -0
  8. data/NEWS.md +395 -1
  9. data/README.md +10 -7
  10. data/appveyor.yml +1 -3
  11. data/bin/review-catalog-converter +5 -5
  12. data/bin/review-check +10 -12
  13. data/bin/review-checkdep +2 -2
  14. data/bin/review-compile +17 -23
  15. data/bin/review-epubmaker +3 -35
  16. data/bin/review-idgxmlmaker +16 -0
  17. data/bin/review-index +2 -89
  18. data/bin/review-preproc +13 -13
  19. data/bin/review-validate +4 -4
  20. data/bin/review-vol +4 -78
  21. data/doc/config.yml.sample +47 -12
  22. data/doc/config.yml.sample-simple +3 -2
  23. data/doc/format.ja.md +120 -17
  24. data/doc/format.md +119 -27
  25. data/doc/makeindex.ja.md +2 -2
  26. data/doc/pdfmaker.ja.md +43 -1
  27. data/doc/pdfmaker.md +42 -1
  28. data/doc/quickstart.ja.md +45 -25
  29. data/doc/quickstart.md +37 -16
  30. data/lib/epubmaker/content.rb +3 -2
  31. data/lib/epubmaker/epubcommon.rb +34 -27
  32. data/lib/epubmaker/epubv2.rb +5 -6
  33. data/lib/epubmaker/epubv3.rb +21 -18
  34. data/lib/epubmaker/producer.rb +2 -1
  35. data/lib/review/book.rb +2 -2
  36. data/lib/review/book/base.rb +91 -96
  37. data/lib/review/book/bib.rb +21 -0
  38. data/lib/review/book/book_unit.rb +155 -0
  39. data/lib/review/book/chapter.rb +48 -29
  40. data/lib/review/book/index.rb +46 -240
  41. data/lib/review/book/index/item.rb +46 -0
  42. data/lib/review/book/page_metric.rb +7 -7
  43. data/lib/review/book/part.rb +45 -10
  44. data/lib/review/book/volume.rb +4 -5
  45. data/lib/review/builder.rb +172 -56
  46. data/lib/review/catalog.rb +14 -17
  47. data/lib/review/compiler.rb +219 -121
  48. data/lib/review/configure.rb +39 -7
  49. data/lib/review/converter.rb +1 -1
  50. data/lib/review/epub2html.rb +43 -5
  51. data/lib/review/epubmaker.rb +69 -27
  52. data/lib/review/extentions/string.rb +0 -4
  53. data/lib/review/htmlbuilder.rb +112 -101
  54. data/lib/review/htmlutils.rb +9 -13
  55. data/lib/review/i18n.rb +3 -3
  56. data/lib/review/idgxmlbuilder.rb +202 -78
  57. data/lib/review/idgxmlmaker.rb +186 -0
  58. data/lib/review/index_builder.rb +653 -0
  59. data/lib/review/init-web/finish.html +10 -0
  60. data/lib/review/init-web/index.html +190 -0
  61. data/lib/review/init-web/review-layout-design.js +691 -0
  62. data/lib/review/init.rb +129 -46
  63. data/lib/review/latexbuilder.rb +255 -92
  64. data/lib/review/lineinput.rb +1 -1
  65. data/lib/review/location.rb +32 -0
  66. data/lib/review/logger.rb +4 -8
  67. data/lib/review/makerhelper.rb +35 -5
  68. data/lib/review/markdownbuilder.rb +50 -38
  69. data/lib/review/md2inaobuilder.rb +3 -5
  70. data/lib/review/pdfmaker.rb +60 -57
  71. data/lib/review/plaintextbuilder.rb +154 -87
  72. data/lib/review/preprocessor.rb +20 -42
  73. data/lib/review/rstbuilder.rb +57 -38
  74. data/lib/review/sec_counter.rb +13 -0
  75. data/lib/review/textmaker.rb +23 -15
  76. data/lib/review/textutils.rb +76 -2
  77. data/lib/review/tocprinter.rb +230 -102
  78. data/lib/review/topbuilder.rb +139 -60
  79. data/lib/review/update.rb +24 -24
  80. data/lib/review/version.rb +1 -1
  81. data/lib/review/volumeprinter.rb +98 -0
  82. data/lib/review/webmaker.rb +20 -24
  83. data/lib/review/webtocprinter.rb +38 -35
  84. data/lib/review/yamlloader.rb +26 -16
  85. data/review.gemspec +6 -4
  86. data/samples/sample-book/README.md +7 -2
  87. data/samples/sample-book/src/.gitignore +154 -0
  88. data/samples/sample-book/src/config-ebook.yml +4 -0
  89. data/samples/sample-book/src/config-jlreq-ebook.yml +4 -0
  90. data/samples/sample-book/src/config-jlreq.yml +6 -0
  91. data/samples/sample-book/src/config.yml +2 -2
  92. data/samples/sample-book/src/lib/tasks/review.rake +29 -14
  93. data/samples/sample-book/src/lib/tasks/z01_copy_sty.rake +14 -8
  94. data/samples/syntax-book/Gemfile +1 -1
  95. data/samples/syntax-book/ch01.re +4 -2
  96. data/samples/syntax-book/ch02.re +8 -16
  97. data/samples/syntax-book/ch03.re +3 -6
  98. data/samples/syntax-book/config-jlreq-lualatex.yml +4 -0
  99. data/samples/syntax-book/config-jlreq.yml +5 -0
  100. data/samples/syntax-book/config-print.yml +3 -0
  101. data/samples/syntax-book/config.yml +1 -1
  102. data/samples/syntax-book/lib/tasks/review.rake +30 -15
  103. data/samples/syntax-book/lib/tasks/z01_copy_sty.rake +14 -8
  104. data/templates/latex/config.erb +39 -25
  105. data/templates/latex/layout.tex.erb +1 -0
  106. data/templates/latex/review-jlreq/README.md +3 -1
  107. data/templates/latex/review-jlreq/review-base.sty +161 -50
  108. data/templates/latex/review-jlreq/review-jlreq.cls +21 -22
  109. data/templates/latex/review-jlreq/review-style.sty +4 -1
  110. data/templates/latex/review-jsbook/README.md +46 -5
  111. data/templates/latex/review-jsbook/review-base.sty +123 -35
  112. data/templates/latex/review-jsbook/review-jsbook.cls +10 -4
  113. data/templates/latex/review-jsbook/review-style.sty +5 -2
  114. data/templates/opf/epubv3.opf.erb +1 -0
  115. data/templates/web/html/layout-html5.html.erb +3 -3
  116. data/test/assets/test_template.tex +19 -7
  117. data/test/assets/test_template_backmatter.tex +19 -7
  118. data/test/book_test_helper.rb +11 -5
  119. data/test/test_book.rb +124 -79
  120. data/test/test_book_chapter.rb +97 -54
  121. data/test/test_book_part.rb +3 -3
  122. data/test/test_builder.rb +38 -13
  123. data/test/test_catalog.rb +24 -42
  124. data/test/test_catalog_converter_cmd.rb +1 -1
  125. data/test/test_converter.rb +1 -0
  126. data/test/test_epub3maker.rb +2 -2
  127. data/test/test_epubmaker.rb +8 -0
  128. data/test/test_epubmaker_cmd.rb +14 -7
  129. data/test/test_helper.rb +18 -7
  130. data/test/test_htmlbuilder.rb +1491 -205
  131. data/test/test_htmlutils.rb +0 -12
  132. data/test/test_i18n.rb +37 -37
  133. data/test/test_idgxmlbuilder.rb +744 -42
  134. data/test/test_idgxmlmaker_cmd.rb +46 -0
  135. data/test/test_image_finder.rb +52 -70
  136. data/test/test_index.rb +94 -44
  137. data/test/test_indexbuilder.rb +52 -0
  138. data/test/test_latexbuilder.rb +1784 -161
  139. data/test/test_latexbuilder_v2.rb +671 -102
  140. data/test/test_logger.rb +17 -4
  141. data/test/test_makerhelper.rb +2 -14
  142. data/test/test_markdownbuilder.rb +137 -16
  143. data/test/test_md2inaobuilder.rb +32 -9
  144. data/test/test_pdfmaker.rb +30 -12
  145. data/test/test_pdfmaker_cmd.rb +100 -6
  146. data/test/test_plaintextbuilder.rb +791 -30
  147. data/test/test_preprocessor.rb +2 -16
  148. data/test/test_review_ext.rb +2 -1
  149. data/test/test_rstbuilder.rb +274 -27
  150. data/test/test_sec_counter.rb +156 -0
  151. data/test/test_textmaker_cmd.rb +54 -0
  152. data/test/test_textutils.rb +109 -2
  153. data/test/test_topbuilder.rb +724 -34
  154. data/test/test_update.rb +20 -11
  155. data/test/test_webtocprinter.rb +75 -43
  156. data/test/test_yamlloader.rb +13 -0
  157. data/vendor/gentombow/LICENSE +1 -1
  158. data/vendor/gentombow/Makefile +0 -1
  159. data/vendor/gentombow/bounddvi-en.pdf +0 -0
  160. data/vendor/gentombow/bounddvi-en.tex +1 -0
  161. data/vendor/gentombow/bounddvi.pdf +0 -0
  162. data/vendor/gentombow/bounddvi.sty +30 -7
  163. data/vendor/gentombow/bounddvi.tex +1 -0
  164. data/vendor/gentombow/create_archive.sh +1 -0
  165. data/vendor/gentombow/gentombow-ja.pdf +0 -0
  166. data/vendor/gentombow/gentombow-ja.tex +9 -0
  167. data/vendor/gentombow/gentombow.pdf +0 -0
  168. data/vendor/gentombow/gentombow.sty +32 -10
  169. data/vendor/gentombow/gentombow.tex +8 -0
  170. data/vendor/gentombow/tests/gentombow-01-pdfx.tex +8 -0
  171. data/vendor/gentombow/tests/gentombow-02-pdfx.tex +8 -0
  172. data/vendor/jsclasses/LICENSE +1 -1
  173. data/vendor/jsclasses/Makefile +3 -2
  174. data/vendor/jsclasses/create_archive.sh +5 -5
  175. data/vendor/jsclasses/jis/Makefile +3 -2
  176. data/vendor/jsclasses/jis/jsarticle.cls +74 -31
  177. data/vendor/jsclasses/jis/jsbook.cls +74 -31
  178. data/vendor/jsclasses/jis/jsclasses.dtx +176 -36
  179. data/vendor/jsclasses/jis/jsclasses.ins +15 -5
  180. data/vendor/jsclasses/jis/jslogo.dtx +4 -4
  181. data/vendor/jsclasses/jis/jslogo.ins +9 -0
  182. data/vendor/jsclasses/jis/jslogo.sty +4 -16
  183. data/vendor/jsclasses/jis/jspf.cls +73 -30
  184. data/vendor/jsclasses/jis/jsreport.cls +74 -31
  185. data/vendor/jsclasses/jis/jsverb.ins +9 -0
  186. data/vendor/jsclasses/jis/jsverb.sty +1 -13
  187. data/vendor/jsclasses/jis/kiyou.cls +74 -31
  188. data/vendor/jsclasses/jis/minijs.sty +65 -22
  189. data/vendor/jsclasses/jis/okumacro.dtx +4 -5
  190. data/vendor/jsclasses/jis/okumacro.ins +9 -0
  191. data/vendor/jsclasses/jis/okumacro.sty +4 -17
  192. data/vendor/jsclasses/jis/okuverb.ins +9 -0
  193. data/vendor/jsclasses/jis/okuverb.sty +1 -13
  194. data/vendor/jsclasses/jis/winjis.sty +23 -19
  195. data/vendor/jsclasses/jsarticle.cls +74 -31
  196. data/vendor/jsclasses/jsbook.cls +74 -31
  197. data/vendor/jsclasses/jsclasses.dtx +176 -36
  198. data/vendor/jsclasses/jsclasses.ins +15 -5
  199. data/vendor/jsclasses/jsclasses.pdf +0 -0
  200. data/vendor/jsclasses/jslogo.dtx +4 -4
  201. data/vendor/jsclasses/jslogo.ins +9 -0
  202. data/vendor/jsclasses/jslogo.pdf +0 -0
  203. data/vendor/jsclasses/jslogo.sty +4 -16
  204. data/vendor/jsclasses/jspf.cls +73 -30
  205. data/vendor/jsclasses/jsreport.cls +74 -31
  206. data/vendor/jsclasses/jsverb.ins +9 -0
  207. data/vendor/jsclasses/jsverb.pdf +0 -0
  208. data/vendor/jsclasses/jsverb.sty +1 -13
  209. data/vendor/jsclasses/kiyou.cls +74 -31
  210. data/vendor/jsclasses/minijs.sty +68 -22
  211. data/vendor/jsclasses/okumacro.dtx +4 -5
  212. data/vendor/jsclasses/okumacro.ins +9 -0
  213. data/vendor/jsclasses/okumacro.pdf +0 -0
  214. data/vendor/jsclasses/okumacro.sty +4 -17
  215. data/vendor/jsclasses/okuverb.ins +9 -0
  216. data/vendor/jsclasses/okuverb.pdf +0 -0
  217. data/vendor/jsclasses/okuverb.sty +1 -13
  218. data/vendor/jsclasses/tests/relfont.tex +10 -0
  219. data/vendor/jsclasses/winjis.sty +23 -19
  220. metadata +65 -12
  221. data/.rubocop_todo.yml +0 -7
  222. data/lib/review/book/compilable.rb +0 -173
  223. data/lib/review/tocparser.rb +0 -271
  224. data/samples/syntax-book/review-ext.rb +0 -14
  225. data/test/test_tocparser.rb +0 -25
data/Dockerfile CHANGED
@@ -9,13 +9,29 @@
9
9
  #
10
10
  # cf. https://github.com/vvakame/docker-review/blob/master/Dockerfile
11
11
 
12
- FROM debian:sid
12
+ FROM debian:buster
13
13
  MAINTAINER takahashim
14
14
 
15
- RUN apt-get update \
16
- && apt-get install -y --no-install-recommends git-core ruby locales zip \
17
- && apt-get install -y --no-install-recommends texlive-lang-cjk texlive-lang-japanese texlive-fonts-recommended texlive-latex-extra ghostscript \
18
- && rm -rf /var/lib/apt/lists/*
15
+ RUN apt-get update && \
16
+ apt-get install -y --no-install-recommends \
17
+ locales git-core curl ca-certificates && \
18
+ apt-get clean && \
19
+ rm -rf /var/lib/apt/lists/*
20
+ RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
21
+ RUN locale-gen en_US.UTF-8 && update-locale en_US.UTF-8
22
+
23
+ RUN apt-get update && \
24
+ apt-get install -y --no-install-recommends \
25
+ texlive-lang-japanese texlive-fonts-recommended texlive-latex-extra lmodern fonts-lmodern cm-super tex-gyre fonts-texgyre texlive-pictures texlive-plain-generic \
26
+ ghostscript gsfonts \
27
+ zip ruby-zip \
28
+ ruby-nokogiri mecab ruby-mecab mecab-ipadic-utf8 poppler-data \
29
+ mecab-jumandic- mecab-jumandic-utf8- \
30
+ texlive-extra-utils poppler-utils && \
31
+ apt-get clean && \
32
+ rm -rf /var/lib/apt/lists/*
33
+ RUN kanji-config-updmap-sys ipaex
34
+
19
35
  RUN gem install review rake bundler --no-rdoc --no-ri
20
36
 
21
37
  VOLUME ["/work"]
data/NEWS.ja.md CHANGED
@@ -1,3 +1,397 @@
1
+ # Version 5.0.0
2
+ ## 新機能
3
+ * review-jsbook / review-jlreq クラスに、`cover_fit_page` オプションを追加しました。`texdocumentclass` パラメータに `cover_fit_page=true` を付けると、画像サイズがどのようなものであっても仕上がりサイズに拡縮して表紙に貼り込みます。なお、制作において図版は実寸で作成することを推奨します ([#1534])
4
+ * 小さな囲み要素 (`//note`, `//memo`, `//tip`, `//info`, `//warning`, `//important`, `//caution`, `//notice`) の中で、`//image` などのブロック命令を含めたり、および箇条書きを入れたりできるようになりました。拡張で類似のことを利用したいときには、defminicolumn で定義します ([#1558], [#1562])
5
+ * 箇条書きの入れ子を指示する命令として `//beginchild`, `//endchild` という1行命令を追加しました。箇条書きの子にしたいものを `//beginchild` と `//endchild` で囲むと、前に位置する箇条書きの子要素になります。**この機能は実験的です。今後のバージョンで挙動を変えたり廃止したりする可能性があります** ([#1497])
6
+
7
+ ## 非互換の変更
8
+ * review-jlreq.cls における hiddenfolio の配置を、jlreqtrimmarkssetup を使って実装するように変更しました。以前のバージョンとは位置や表示に若干の違いがあります ([#1397])
9
+ * `chapterlink` パラメータのデフォルト値を true (有効) にしました。これが有効になっているときには、Web、EPUB での章・項の参照や、図表・リスト・式・参考文献の参照などがハイパーリンク化されます。TeX PDF においては `media=ebook` のときのみ、章・項・参考文献の参照がハイパーリンク化されます ([#1529])
10
+
11
+ ## バグ修正
12
+ * PDFMaker: 同名で拡張子違いの図版ファイルがあるときに、位置がずれる問題を修正しました。extractbb コマンドは明示的に呼び出されなくなります ([#1483])
13
+ * PDFMaker: 著者名 (`aut`) パラメータが空のときにエラーになる問題を修正しました ([#1517])
14
+ * PDFMaker: `//indepimage` 命令で画像が存在せず、かつ ID に TeX のエスケープ対象となる文字を含んでいるとエラーが起きる問題を修正しました ([#1527])
15
+ * PDFMaker: `bookttilename` や `aut` パラメータに TeX のエスケープ対象となる文字を入れると PDF メタ情報がおかしくなる問題を修正しました (`media=ebook` のときのみ) ([#1533])
16
+ * WebMaker: HTML テンプレートで nil が入ってしまうのを修正しました ([#1545])
17
+ * PDFMaker: 章番号を非表示にするとエラーで失敗するのを修正しました ([#1559])
18
+ * MarkdownBuilder: note 等の中の段落を改行区切りではなく空行区切りにしました ([#1572])
19
+
20
+ ## 機能強化
21
+ * 図表などのアイテムでエラーが発生したときの表示を詳細にしました ([#1523])
22
+ * PDFMaker: `@<hd>` 命令で展開した項・段について、`media=ebook` のときにはハイパーリンクになるようにしました ([#1530])
23
+ * HTMLBuilder および IDGXMLBuilder において、文字列のエスケープを従来の `cgi/util` の代わりにより高速な `cgi/escape` が利用できるときにはそれを利用するようにしました。また、`ReVIEW::HTMLUtils.escape` も書き換えられました ([#1536])
24
+ * `@<icon>` 命令の利用時に ID の重複の警告が出るのを抑制しました ([#1541])
25
+ * 不正なエンコーディングのファイルを受け取ったときに妥当なエラー表示をするようにしました ([#1544])
26
+ * IndexBuilder を導入しました。これまで図表等の番号の管理および参照はその都度対象ファイルを解析する方法でしたが、IndexBuilder はプロジェクト全体を走査し、以降の各ビルダのために番号を提供します。review-ext.rb でブロック命令やインライン命令を追加していた場合、IndexBuilder クラス (またはその基底クラスである Builder クラス) にも追加が必要です ([#1384], [#1552])
27
+ * ID やラベルに以下の文字または空白文字が含まれていると、TeX のコンパイルあるいは生成される EPUB においてエラーが発生するため、これらの文字が含まれているときには警告を出すようにしました ([#1393], [#1574])
28
+ ```
29
+ #%\{}[]~/$'"|*?&<>`
30
+ ```
31
+
32
+ ## ドキュメント
33
+ * format.ja.md と format.md のタイプミスを修正しました ([#1528])
34
+ * makeindex.ja.md のサンプル結果の誤りを修正しました ([#1584])
35
+
36
+ ## その他
37
+ * Rubocop 0.92.0 に対応しました ([#1511], [#1569], [#1573])
38
+ * `Re:VIEW::Compiler` 内の `@strategy` は実際はビルダなので、`@builder` という名前に変更しました ([#1520])
39
+ * Rubocop-performance 1.7.1 に対応しました ([#1521])
40
+ * syntax-book サンプルドキュメントの Gemfile を更新しました ([#1522])
41
+ * ImageMagick における GhostScript の呼び出しが非推奨となったため、テストを除去しました ([#1526])
42
+ * 一部のテストユニットの不要な標準エラー出力を抑制しました ([#1538])
43
+ * `Compilable` モジュールの代わりに、`Chapter` および `Part` のスーパークラスとなる `BookUnit` 抽象クラスを導入しました ([#1543])
44
+ * `ReVIEW::Book::Base.load` をやめ、`ReVIEW::Book::Base.load` または `ReVIEW::Book::Base.new` を使うようにしました。`ReVIEW::Book::Base.load` に `:config` オプションを加えました ([#1548], [#1563])
45
+ * 内部のパラメータの汎用構成のために `ReVIEW::Configure.create` コンストラクタを導入しました ([#1549])
46
+ * WebMaker: 使われていない `clean_mathdir` メソッドを削除しました ([#1550])
47
+ * catalog.yml の解析を `ReVIEW::Book::Base.new` の中で最初に実行するようにしました ([#1551])
48
+ * ファイルの書き出しで可能なところは `File.write` を使うようにしました ([#1560])
49
+ * Builder クラスの `builder_init` メソッドを削除し、`initialize` を使うようにしました ([#1564])
50
+
51
+ ## コントリビューターのみなさん
52
+ * [@snoozer05](https://github.com/snoozer05)
53
+
54
+ [#1384]: https://github.com/kmuto/review/pull/1384
55
+ [#1393]: https://github.com/kmuto/review/issues/1393
56
+ [#1397]: https://github.com/kmuto/review/issues/1397
57
+ [#1483]: https://github.com/kmuto/review/issues/1483
58
+ [#1497]: https://github.com/kmuto/review/pull/1497
59
+ [#1511]: https://github.com/kmuto/review/pull/1511
60
+ [#1517]: https://github.com/kmuto/review/issues/1517
61
+ [#1520]: https://github.com/kmuto/review/pull/1520
62
+ [#1521]: https://github.com/kmuto/review/pull/1521
63
+ [#1522]: https://github.com/kmuto/review/pull/1522
64
+ [#1523]: https://github.com/kmuto/review/pull/1523
65
+ [#1526]: https://github.com/kmuto/review/pull/1526
66
+ [#1527]: https://github.com/kmuto/review/pull/1527
67
+ [#1528]: https://github.com/kmuto/review/pull/1528
68
+ [#1529]: https://github.com/kmuto/review/issues/1529
69
+ [#1530]: https://github.com/kmuto/review/issues/1530
70
+ [#1533]: https://github.com/kmuto/review/issues/1533
71
+ [#1534]: https://github.com/kmuto/review/issues/1534
72
+ [#1536]: https://github.com/kmuto/review/pull/1536
73
+ [#1538]: https://github.com/kmuto/review/pull/1538
74
+ [#1541]: https://github.com/kmuto/review/pull/1541
75
+ [#1543]: https://github.com/kmuto/review/pull/1543
76
+ [#1544]: https://github.com/kmuto/review/issues/1544
77
+ [#1545]: https://github.com/kmuto/review/issues/1545
78
+ [#1548]: https://github.com/kmuto/review/pull/1548
79
+ [#1549]: https://github.com/kmuto/review/pull/1549
80
+ [#1550]: https://github.com/kmuto/review/pull/1550
81
+ [#1551]: https://github.com/kmuto/review/pull/1551
82
+ [#1552]: https://github.com/kmuto/review/pull/1552
83
+ [#1558]: https://github.com/kmuto/review/pull/1558
84
+ [#1559]: https://github.com/kmuto/review/issues/1559
85
+ [#1560]: https://github.com/kmuto/review/pull/1560
86
+ [#1562]: https://github.com/kmuto/review/pull/1562
87
+ [#1563]: https://github.com/kmuto/review/pull/1563
88
+ [#1564]: https://github.com/kmuto/review/pull/1564
89
+ [#1569]: https://github.com/kmuto/review/pull/1569
90
+ [#1572]: https://github.com/kmuto/review/pull/1572
91
+ [#1573]: https://github.com/kmuto/review/pull/1573
92
+ [#1574]: https://github.com/kmuto/review/issues/1574
93
+ [#1584]: https://github.com/kmuto/review/pull/1584
94
+
95
+ # Version 4.2.0
96
+ ## 新機能
97
+ * 図・表・リスト・式のキャプションの位置を内容の上側・下側どちらにするかを指定する `caption_position` パラメータを追加しました。`caption_position` の下位パラメータとして `image`・`table`・`list`・`equation` のパラメータがあり、値として `top` (上側) または `bottom` (下側) を指定します。デフォルトは `image` のみ `bottom`、ほかは `top` です ([#1320])
98
+
99
+ ## 非互換の変更
100
+ * review-vol を再構成しました。部の処理や見出し内のインライン命令の処理を正しました。表示形式をわかりやすい形に変更しました。部を指定したときに部のボリュームではなく、部ファイル単体のボリュームを返すようにしました。`-P`, `--directory` オプションは廃止しました ([#1485])
101
+ * review-index を再構成しました。オプション名を大幅に変更しています。行数・文字数は `-d` オプションを指定したときのみ表示するようにしました。また、ファイルの行数・文字数ではなく、PLAINTEXTBuilder を利用して、変換結果に近い行数・文字数を返すようにしました (review-vol よりも正確です)。特定の章は `-y` オプションで複数指定できるようにしました ([#1485])
102
+
103
+ ## バグ修正
104
+ * 重複する `@non_parsed_commands` 宣言を削除しました ([#1499])
105
+ * WebMaker、TextMaker で数式画像が作成されない問題を修正しました ([#1501])
106
+
107
+ ## 機能強化
108
+ * imgmath での数式画像の作成処理を最適化し、高速化しました ([#1488])
109
+ * デフォルト以外の固有の YAML 設定を PDFMaker に引き渡したいときのために、`layouts/config-local.tex.erb` ファイルが存在すればそれを評価・読み込みするようにしました ([#1505])
110
+
111
+ ## その他
112
+ * GitHub Actions を eregon/use-ruby-action から ruby/setup-ruby に切り替えました ([#1490])
113
+ * テストの際、samples フォルダ内にあるビルド成果物を無視するようにしました ([#1504])
114
+
115
+ [#1320]: https://github.com/kmuto/review/issues/1320
116
+ [#1485]: https://github.com/kmuto/review/issues/1485
117
+ [#1488]: https://github.com/kmuto/review/issues/1488
118
+ [#1490]: https://github.com/kmuto/review/pull/1490
119
+ [#1499]: https://github.com/kmuto/review/issues/1499
120
+ [#1501]: https://github.com/kmuto/review/pull/1501
121
+ [#1504]: https://github.com/kmuto/review/pull/1504
122
+ [#1505]: https://github.com/kmuto/review/issues/1505
123
+
124
+ # Version 4.1.0
125
+ ## 新機能
126
+ * 表のセル区切りの文字を `table_row_separator` パラメータで変更できるようにしました。指定可能な値は tabs (1個以上のタブ、デフォルト)、singletab (1文字のタブ文字区切り)、spaces (1文字以上のスペースまたはタブ文字の区切り)、 verticalbar ("0個以上の空白 | 0個以上の空白" の区切り) です ([#1420])
127
+ * PDFMaker, EPUBMaker, WEBMaker, TEXTMaker, IDGXMLMaker: 全ファイルでなく変換対象ファイルを指定するための `-y`(または`--only`)オプションを追加しました ([#1428], [#1467])
128
+ * config.yml のコメント行を含めないようにする `--without-config-comment` オプションを review-init に追加しました ([#1453])
129
+ * PDFMaker: `pdfmaker` セクションに `use_original_image_size` パラメータを新設しました。デフォルトでは `//image`, `//indepimage`, `//imgtable` で挿入する画像において、metrics の指定がないときには版面の横幅に合うよう拡縮しますが、`use_original_image_size` パラメータを true に設定すると、拡縮なしで原寸のまま配置します ([#1461])
130
+
131
+ ## 非互換の変更
132
+ * PDFMaker: config.yml の `image_scale2width` パラメータを、直下から `pdfmaker` セクションの下に属するように変更しました ([#1462])
133
+
134
+ ## バグ修正
135
+ * PDFMaker: Re:VIEW 3 系のプロジェクトとの後方互換処理の誤りを修正しました ([#1414])
136
+ * PDFMaker: review-jlreq を LuaLaTeX でコンパイルしたときのエラーを修正しました ([#1416])
137
+ * PDFMaker: 索引が目次に含まれない問題を修正しました ([#1418])
138
+ * RSTBuilder: メソッドの引数の誤りで変換に失敗する問題を修正しました ([#1426])
139
+ * IDGXMLBuilder: 表に関する警告を出すときの誤りを修正しました ([#1427])
140
+ * IDGXMLMaker: フィルタプログラムにエラーが発生したときの処理の誤りを修正しました ([#1429])
141
+ * PDFMaker: `media=ebook` のときに、見出し等に `@<code>` や `@<tt>` のようなコード書体の命令を使うとビルドに失敗する問題を修正しました ([#1432], [#1465])
142
+ * PDFMaker: MeCab がインストールされていないときにエラーになるのを警告に変更しました ([#1445])
143
+ * IDGXMLBuilder: `//imgtable` が正しく動作しなかったのを修正しました ([#1448])
144
+ * PDFMaker: 索引が1つも登録されていない状態で makeindex を有効にするとエラーになるのを修正しました ([#1467])
145
+ * PDFMaker: 説明箇条書き (`:`) の見出しに脚注を入れると消えてしまうのを修正しました ([#1476])
146
+ * review-index: `@<w>` が見出しに使われているときにエラーになるのを修正しました ([#1484])
147
+
148
+ ## 機能強化
149
+ * PDFMaker: 問題報告の解析に役立つよう、提供する cls、sty ファイルについてバージョンを付けるようにしました ([#1163])
150
+ * Dockerfile を更新しました ([#1412])
151
+ * IDGXMLMaker: フィルタプログラムの標準エラー出力を警告扱いで出力するようにしました ([#1443])
152
+ * .gitignore ファイルに 〜-idgxml フォルダ を追加しました ([#1448])
153
+ * `//source` 命令は全ビルダでオプションを省略できるようになりました ([#1447])
154
+ * Ruby 2.7 をテスト対象に加えました ([#1468])
155
+ * `word_files` パラメータは配列で複数の単語 CSV ファイルを受け付けるようになりました ([#1469])
156
+ * EPUBMaker: 見出しが1つもない .re ファイルについて警告を出すようにしました。EPUB においてはファイル内に見出しが必ず1つは必要です。見出しを入れたくないときには、`=[notoc]` (目次に入れない) や `=[nodisp]` (目次に入れず表示もしない) を使用してください ([#1474])
157
+
158
+ ## ドキュメント
159
+ * 奥付に関係する `contact` (連絡先)および `colophon_order` (項目の掲載順序)についてのドキュメントを設定ファイルサンプル `config.yml.sample` に追加しました ([#1425])
160
+ * quickstart.ja.md, quickstart.md を Re:VIEW 4 の内容に更新しました ([#1442])
161
+ * サンプル syntax-book を更新しました ([#1448], [#1449])
162
+ * README.md を更新しました ([#1455], [#1458])
163
+ * 図版のビルダ固有オプション `::` の記法を format.ja.md, format.md に記載しました ([#1421])
164
+
165
+ ## その他
166
+ * Rubocop 0.78.0 の指摘に対応しました ([#1424], [#1430])
167
+ * LaTeX の実行環境がある場合、PDF のビルドテストをより厳密に実行するようにしました ([#1433])
168
+ * ビルドテストを Travis CI から GitHub Actions に切り替えました ([#1431], [#1436], [#1437])
169
+ * IDGXMLBuilder のコードリストの処理をリファクタリングしました ([#1438], [#1439])
170
+ * サンプル syntax-book に入っていた review-ext.rb はもう不要なので削除しました ([#1446])
171
+ * IDGXMLMaker, TextMaker のテストを追加しました ([#1448])
172
+ * Index 関連の処理をリファクタリングしました ([#1456], [#1457], [#1459])
173
+ * jsclasses パッケージを 2020/02/02 バージョンに更新しました ([#1478])
174
+
175
+ ## コントリビューターのみなさん
176
+ * [@turky](https://github.com/turky)
177
+
178
+ [#1163]: https://github.com/kmuto/review/issues/1163
179
+ [#1412]: https://github.com/kmuto/review/pull/1412
180
+ [#1414]: https://github.com/kmuto/review/issues/1414
181
+ [#1416]: https://github.com/kmuto/review/issues/1416
182
+ [#1418]: https://github.com/kmuto/review/issues/1418
183
+ [#1420]: https://github.com/kmuto/review/issues/1420
184
+ [#1421]: https://github.com/kmuto/review/issues/1421
185
+ [#1424]: https://github.com/kmuto/review/pull/1424
186
+ [#1425]: https://github.com/kmuto/review/pull/1425
187
+ [#1426]: https://github.com/kmuto/review/pull/1426
188
+ [#1427]: https://github.com/kmuto/review/pull/1427
189
+ [#1428]: https://github.com/kmuto/review/pull/1428
190
+ [#1429]: https://github.com/kmuto/review/pull/1429
191
+ [#1430]: https://github.com/kmuto/review/pull/1430
192
+ [#1431]: https://github.com/kmuto/review/pull/1431
193
+ [#1432]: https://github.com/kmuto/review/issues/1432
194
+ [#1433]: https://github.com/kmuto/review/pull/1433
195
+ [#1436]: https://github.com/kmuto/review/pull/1436
196
+ [#1437]: https://github.com/kmuto/review/issues/1437
197
+ [#1438]: https://github.com/kmuto/review/pull/1438
198
+ [#1439]: https://github.com/kmuto/review/pull/1439
199
+ [#1442]: https://github.com/kmuto/review/issues/1442
200
+ [#1443]: https://github.com/kmuto/review/pull/1443
201
+ [#1445]: https://github.com/kmuto/review/pull/1445
202
+ [#1446]: https://github.com/kmuto/review/pull/1446
203
+ [#1447]: https://github.com/kmuto/review/issues/1447
204
+ [#1448]: https://github.com/kmuto/review/pull/1448
205
+ [#1449]: https://github.com/kmuto/review/pull/1449
206
+ [#1453]: https://github.com/kmuto/review/pull/1453
207
+ [#1455]: https://github.com/kmuto/review/pull/1455
208
+ [#1456]: https://github.com/kmuto/review/pull/1456
209
+ [#1457]: https://github.com/kmuto/review/pull/1457
210
+ [#1458]: https://github.com/kmuto/review/pull/1458
211
+ [#1459]: https://github.com/kmuto/review/pull/1459
212
+ [#1461]: https://github.com/kmuto/review/issues/1461
213
+ [#1462]: https://github.com/kmuto/review/issues/1462
214
+ [#1465]: https://github.com/kmuto/review/pull/1465
215
+ [#1466]: https://github.com/kmuto/review/pull/1466
216
+ [#1467]: https://github.com/kmuto/review/pull/1467
217
+ [#1468]: https://github.com/kmuto/review/pull/1468
218
+ [#1469]: https://github.com/kmuto/review/issues/1469
219
+ [#1474]: https://github.com/kmuto/review/issues/1474
220
+ [#1476]: https://github.com/kmuto/review/issues/1476
221
+ [#1478]: https://github.com/kmuto/review/issues/1478
222
+ [#1484]: https://github.com/kmuto/review/pull/1484
223
+
224
+ # Version 4.0.0
225
+ ## 新機能
226
+ * IDGXML ファイルをまとめて生成する、review-idgxmlmaker を導入しました ([#1337])
227
+ * review-textmaker は、imgmath パラメータが有効になっている場合に、数式を画像化するようになりました ([#1338])
228
+ * review-init に `-w` オプションを指定することで、Web ブラウザ上で TeX のレイアウトができるウィザードモードを用意しました。なお、この機能は実験的であり、将来別のものに置き換える可能性もあります ([#1403])
229
+ * 実験的実装として、複数行から段落を結合する際に、前後の文字の種類に基づいて空白文字の挿入を行う機能を追加しました。この機能を利用するには、unicode-eaw gem をインストールした上で、config.yml に `join_lines_by_lang: true` を追加してください ([#1362])
230
+
231
+ ## 非互換の変更
232
+ * 通常の利用では使われることがないので、review-init の実行時に空の layouts フォルダを作成するのをやめました ([#1340])
233
+ * PDFMaker: `@<code>`、`@<tt>`、`@<tti>`、`@<ttb>` で空白文字が消えてしまう問題を修正しました。および利便性のために、文字列が版面からあふれるときに途中で改行するようにもしました ([#1348])
234
+ * `//texequation`、`//embed`、`//graph` はもともとインライン命令を許容しないので、内容のエスケープもしないようにしました。また、末尾に余計な空行が加わるのも防ぐようにしました ([#1371], [#1374])
235
+ * PDFMaker: コラム内での使用を考えて、表の配置のデフォルトを htp (指定位置→ページ上→独立ページの順に試行) から H (絶対に指定位置) にしました (review-style.sty の `\floatplacement{table}` の値) [#1385]
236
+ * PDFMaker: コードリスト内では和文欧文間の空きを 1/4 文字ではなく 0 にするようにしました ([#1401])
237
+ * config.yml の目次を制御する toc パラメータの値は、これまで null (false、目次は作らない) でしたが、一般的な利用方法を鑑みて、デフォルトを true (目次を作る) に切り替えました ([#1405])
238
+
239
+ ## バグ修正
240
+ * review-jlreq がタイプミスのために一部の jlreq.cls バージョンで正しく動作しないのを修正しました ([#1350])
241
+ * re ファイルが改行コード CR で記述されたときに不正な結果になるのを修正しました ([#1341])
242
+ * PDFMaker: review-jlreq において `//cmd` のブロックがページをまたいだときに文字色が黒になって見えなくなってしまうのを修正しました ([#1363])
243
+ * PDFMaker: `@<column>` で「コラム」ラベルが重複して出力されるのを修正しました ([#1367])
244
+ * PDFMaker: gentombow.sty と jsbook.cls は review-jsbook の場合のみコピーするようにしました ([#1381])
245
+ * PDFMaker: LuaLaTeX で review-jlreq を使ったときに壊れた PDFDocumentInformation ができる問題を修正しました ([#1392])
246
+ * PDFMaker: review-jlreq で偶数ページに隠しノンブルが入らなかったのを修正しました ([#1395])
247
+
248
+ ## 機能強化
249
+ * IDGXML ビルダで `@<em>` および `@<strong>` をサポートしました ([#1353])
250
+ * PDFMaker: コードブロックの各行の処理を `code_line`, `code_line_num` のメソッドに切り出しました ([#1368])
251
+ * PDFMaker: デフォルトのコンパイルオプションに `-halt-on-error` を追加しました。TeX のコンパイルエラーが発生したときに即終了することで問題が把握しやすくなります ([#1378])
252
+ * PDFMaker: コラム内に脚注 (`@<fn>`) があるときの挙動がコラムの実装手段によって異なり、番号がずれるなどの問題を起こすことがあるため、脚注の文章 (`//footnote`) はコラムの後に置くことを推奨します。コラム内に脚注文章が存在する場合は警告するようにしました ([#1379])
253
+ * YAML ファイルのエラーチェックを強化しました ([#1386])
254
+ * Logger での表示時に標準の progname を使うようにしました ([#1388])
255
+ * PDFMaker: 電子版の作成時に、表紙のページ番号を偶数とし、名前を「cover」にするようにしました ([#1402])
256
+ * PDFMaker: `generate_pdf` メソッドのリファクタリングを行いました ([#1404])
257
+ * プロジェクトの新規作成時に登録除外ファイル一覧の .gitignore ファイルを置くようにしました ([#1407])
258
+
259
+ ## ドキュメント
260
+ * sample-book の README.md を更新しました ([#1354])
261
+ * review-jsbook の README.md に jsbook.cls のオプションの説明を追加しました ([#1365])
262
+
263
+ ## その他
264
+ * メソッド引数のコーディングルールを統一しました ([#1360])
265
+ * `Catalog#{chaps,parts,predef,postdef,appendix}` は String ではなく Array を返すようにしました ([#1372])
266
+ * YAML ファイルの読み込みに `safe_load` を使うようにしました ([#1375])
267
+ * `table` メソッドをリファクタリングし、ビルダ個々の処理を簡略化しました ([#1356])
268
+ * `XXX_header` と `XXX_body` まわりをリファクタリングしました ([#1359])
269
+ * `Builder#highlight?` メソッドを HTMLBuilder 以外でも利用できるようにしました ([#1373])
270
+ * mkchap* と mkpart* まわりをリファクタリングしました ([#1383])
271
+ * Travis CI で rubygems を更新しないようにしました ([#1389])
272
+ * Index まわりをリファクタリングしました ([#1390])
273
+ * samples フォルダのサンプルドキュメントに review-jlreq のための設定を追加しました ([#1391])
274
+ * 用語リストは `:` の前にスペースを入れることを強く推奨するようにしました。スペースがない場合、警告されます ([#1398])
275
+
276
+ ## コントリビューターのみなさん
277
+ * [@m-shibata](https://github.com/m-shibata)
278
+ * [@masarakki](https://github.com/masarakki)
279
+
280
+ [#1337]: https://github.com/kmuto/review/issues/1337
281
+ [#1338]: https://github.com/kmuto/review/issues/1338
282
+ [#1340]: https://github.com/kmuto/review/issues/1340
283
+ [#1341]: https://github.com/kmuto/review/issues/1341
284
+ [#1348]: https://github.com/kmuto/review/issues/1348
285
+ [#1350]: https://github.com/kmuto/review/issues/1350
286
+ [#1353]: https://github.com/kmuto/review/pull/1353
287
+ [#1354]: https://github.com/kmuto/review/pull/1354
288
+ [#1356]: https://github.com/kmuto/review/pull/1356
289
+ [#1359]: https://github.com/kmuto/review/pull/1359
290
+ [#1360]: https://github.com/kmuto/review/pull/1360
291
+ [#1362]: https://github.com/kmuto/review/pull/1362
292
+ [#1363]: https://github.com/kmuto/review/issues/1363
293
+ [#1365]: https://github.com/kmuto/review/pull/1365
294
+ [#1367]: https://github.com/kmuto/review/issues/1367
295
+ [#1368]: https://github.com/kmuto/review/issues/1368
296
+ [#1371]: https://github.com/kmuto/review/pull/1371
297
+ [#1372]: https://github.com/kmuto/review/pull/1372
298
+ [#1373]: https://github.com/kmuto/review/pull/1373
299
+ [#1374]: https://github.com/kmuto/review/pull/1374
300
+ [#1375]: https://github.com/kmuto/review/pull/1375
301
+ [#1378]: https://github.com/kmuto/review/pull/1378
302
+ [#1379]: https://github.com/kmuto/review/issues/1379
303
+ [#1381]: https://github.com/kmuto/review/issues/1381
304
+ [#1383]: https://github.com/kmuto/review/issues/1383
305
+ [#1385]: https://github.com/kmuto/review/issues/1385
306
+ [#1386]: https://github.com/kmuto/review/pull/1386
307
+ [#1388]: https://github.com/kmuto/review/pull/1388
308
+ [#1389]: https://github.com/kmuto/review/pull/1389
309
+ [#1390]: https://github.com/kmuto/review/pull/1390
310
+ [#1391]: https://github.com/kmuto/review/pull/1391
311
+ [#1392]: https://github.com/kmuto/review/issues/1392
312
+ [#1395]: https://github.com/kmuto/review/issues/1395
313
+ [#1398]: https://github.com/kmuto/review/issues/1398
314
+ [#1401]: https://github.com/kmuto/review/pull/1401
315
+ [#1402]: https://github.com/kmuto/review/pull/1402
316
+ [#1403]: https://github.com/kmuto/review/pull/1403
317
+ [#1404]: https://github.com/kmuto/review/pull/1404
318
+ [#1405]: https://github.com/kmuto/review/pull/1405
319
+ [#1407]: https://github.com/kmuto/review/pull/1407
320
+
321
+ # Version 3.2.0
322
+
323
+ ## 非互換の変更
324
+ * PDFMaker: `//image` 命令などで画像を配置するときに `\includegraphics` ではなく、それを抽象化した `\reviewincludegraphics` を使うようにしました ([#1318])
325
+
326
+ ## バグ修正
327
+ * 別の章の図表やリストを参照する際に章が存在しないとき、内部エラーではなく標準のキーエラーを返すようにしました ([#1284])
328
+ * review-compile のエラーメッセージで提示する値の誤りを修正しました ([#1286])
329
+ * PDFMaker: review-jsbook において、serial_pagination=true を設定しているとき、PDF のページ番号のメタ情報がおかしくなるのを修正しました ([#1288])
330
+ * notoc, nodisp, nonum を含む見出しを `@<hd>` で参照したときに番号が付いてしまうこと、およびその後の見出しの番号がおかしくなることを修正しました ([#1294])
331
+ * PDFMaker: jlreq.cls 0401 版利用時に review-jlreq.cls でエラーが出るのを修正しました ([#1298])
332
+ * EPUBMaker: EPUB2 の生成に失敗するのを修正しました ([#1301])
333
+ * EPUBMaker: Windows で一時フォルダの削除にときどき失敗する現象に対処しました ([#1011])
334
+ * PDFMaker: `@<bou>` をサポートしました ([#1220])
335
+ * PDFMaker: jlreq.cls の古いバージョンでも動くように対処しました ([#1317])
336
+
337
+ ## 機能強化
338
+ * `CHAPS:` が空のときのテストを追加しました ([#1275])
339
+ * PDFMaker: 安全のため、reviewtt などのインライン書体命令を RobustCommand マクロで定義するようにしました ([#1280])
340
+ * EPUBMaker: デバッグモードで実行する `--debug` オプションを追加しました ([#1281])
341
+ * review-epub2html: 脚注をインラインで表現する `--inline-footnote` オプションを追加しました ([#1283])
342
+ * EPUBMaker: iBooks 向けに、EPUB3 においても表紙画像のメタデータを入れるようにしました ([#1293])
343
+ * PDFMaker: review-jsbook および review-jlreq において、コードリストや数式のキャプションの直後に改ページされる現象を程度抑制するようにしました ([#1299])
344
+ * rubocop 0.67.2 に基づいてコードを整形しました ([#1297])
345
+ * EPUB 作成のテストを追加しました ([#1300])
346
+ * テスト対象の Ruby バージョンを 2.4.6, 2.5.5, 2.6.3 としました ([#1303])
347
+ * YAMLLoader のコードを改良しました ([#1304])
348
+ * `*` の箇条書きで、`**` から始めたり、`*` のあとに `***` を使ったりといった不正なレベル指定をエラーにしました ([#1313])
349
+ * ReVIEW::Location クラスを分離しました ([#1308])
350
+ * 箇条書きや文献リストで複数行の英単語が連結されてしまうのを回避しました (ただし PDFMaker のみ) ([#1312])
351
+ * 空の表があったときにエラーを出すようにしました ([#1325])
352
+ * いくつかのテスト対象を追加しました ([#1327], [#1328])
353
+ * MARKDOWNBuilder: ``//listnum``に対応しました ([#1336])
354
+
355
+ ## ドキュメント
356
+ * 見出しのレベルの説明の誤りを修正しました ([#1309])
357
+
358
+ ## その他
359
+ * もう使われていない ReVIEW::Preprocessor::Strip を削除しました ([#1305])
360
+
361
+ ## コントリビューターのみなさん
362
+ * [@uetchy](https://github.com/uetchy)
363
+ * [@mitsuo0114](https://github.com/mitsuo0114)
364
+
365
+ [#1011]: https://github.com/kmuto/review/issues/1011
366
+ [#1220]: https://github.com/kmuto/review/issues/1220
367
+ [#1275]: https://github.com/kmuto/review/pull/1275
368
+ [#1280]: https://github.com/kmuto/review/pull/1280
369
+ [#1281]: https://github.com/kmuto/review/issues/1281
370
+ [#1283]: https://github.com/kmuto/review/pull/1283
371
+ [#1284]: https://github.com/kmuto/review/issues/1284
372
+ [#1286]: https://github.com/kmuto/review/pull/1286
373
+ [#1288]: https://github.com/kmuto/review/issues/1288
374
+ [#1293]: https://github.com/kmuto/review/pull/1293
375
+ [#1294]: https://github.com/kmuto/review/issues/1294
376
+ [#1297]: https://github.com/kmuto/review/pull/1297
377
+ [#1298]: https://github.com/kmuto/review/pull/1298
378
+ [#1299]: https://github.com/kmuto/review/pull/1299
379
+ [#1300]: https://github.com/kmuto/review/pull/1300
380
+ [#1301]: https://github.com/kmuto/review/pull/1301
381
+ [#1303]: https://github.com/kmuto/review/pull/1303
382
+ [#1304]: https://github.com/kmuto/review/pull/1304
383
+ [#1305]: https://github.com/kmuto/review/pull/1305
384
+ [#1308]: https://github.com/kmuto/review/pull/1308
385
+ [#1309]: https://github.com/kmuto/review/issues/1309
386
+ [#1312]: https://github.com/kmuto/review/issues/1312
387
+ [#1313]: https://github.com/kmuto/review/issues/1313
388
+ [#1317]: https://github.com/kmuto/review/pull/1317
389
+ [#1318]: https://github.com/kmuto/review/issues/1318
390
+ [#1325]: https://github.com/kmuto/review/issues/1325
391
+ [#1327]: https://github.com/kmuto/review/issues/1327
392
+ [#1328]: https://github.com/kmuto/review/pull/1328
393
+ [#1336]: https://github.com/kmuto/review/pull/1336
394
+
1
395
  # Version 3.1.0
2
396
 
3
397
  ## 非互換の変更
data/NEWS.md CHANGED
@@ -1,3 +1,397 @@
1
+ # Version 5.0.0
2
+ ## New Features
3
+ * added `cover_fit_page` option to review-jsbook / review-jlreq classes. When `cover_fit_page=true` is specified in the `texdocumentclass` parameter, the cover image is scaled to paper size. Note: it is recommended that the images should be created at actual size ([#1534])
4
+ * allow minicolumn nesting. Now you can put a block instruction such as `//image` or itemized list in minicolumn (`//note`, `//memo`, `//tip`, `//info`, `//warning`, `//important`, `//caution`, `//notice`) ([#1558], [#1562])
5
+ * added single commands `//beginchild` and `//endchild` for nesting itemized/enumerate/description list. **EXPERIMENTAL FEATURE** ([#1497])
6
+
7
+ ## Breaking Changes
8
+ * In review-jlreq.cls, hiddenfolio is now implemented by jlreqtrimmarkssetup. It is slightly different from the previous version in position and display ([#1397])
9
+ * The default value of the `chapterlink` parameter is now true. Most links (chapter, section, image, table, list, equation, bibliography) in Web and EPUB are now hyperlinked. In TeX PDF, some links (chapter, section, biliography) are hyperlinked only when `media=ebook` ([#1529])
10
+
11
+ ## Bug Fixes
12
+ * PDFMaker: fixed a problem with multiple same-named image files with different extensions that would cause them to be misaligned ([#1483])
13
+ * PDFMaker: fixed a problem that cuased an error when the author name (`aut`) was empty ([#1517])
14
+ * PDFMaker: fixed a problem that caused an error if `//indepimage`'s image file didn't exist and ID contained characters to be TeX-escaped ([#1527])
15
+ * PDFMaker: fixed a problem with characters to be TeX-escaped in the `bookttilename` and `aut` parameters causing incorrect PDF metainformation ([#1533])
16
+ * WebMaker: fixed to avoid nil in HTML template ([#1545])
17
+ * PDFMaker: fixed a problem when hiding chapter numbers ([#1559])
18
+ * MarkdownBuilder: paragraphs in minicolumn should be separated with a blank line instead of a newline ([#1572])
19
+
20
+ ## Enhancements
21
+ * fix warning message to output more detailed information of item ([#1523])
22
+ * PDFMaker: make `@<hd>` op a hyperlink (when `media=ebook`) ([#1530])
23
+ * use `cgi/escape` first and `cgi/util` as fallback. remove orignal implementation in `ReVIEW::HTMLUtils.escape()` ([#1536])
24
+ * suppress warning with same `@<icon>` ([#1541])
25
+ * fix an error handling when a badly encoded file is received ([#1544])
26
+ * introduce IndexBuilder. IndexBuilder first scans the entire project files and provides indexes for each builder ([#1384], [#1552])
27
+ * IDs and labels containing below characters or space characters are now warned ([#1393], [#1574])
28
+ ```
29
+ #%\{}[]~/$'"|*?&<>`
30
+ ```
31
+
32
+ ## Docs
33
+ * fix a typo in format.ja.md and format.md ([#1528])
34
+ * fix incorrect example in makeindex.ja.md ([#1584])
35
+
36
+ ## Others
37
+ * refactor code with Rubocop 0.92.0 ([#1511], [#1569], [#1573])
38
+ * rename `@strategy` to `@builder` in `Re:VIEW::Compiler` ([#1520])
39
+ * refactor code with Rubocop-performance 1.7.1 ([#1521])
40
+ * update Gemfile in syntax-book ([#1522])
41
+ * calling GhostScript in ImageMagick has been deprecated, so the test has been removed ([#1526])
42
+ * unnecessary stderr output on some test units has been suppressed ([#1538])
43
+ * add `BookUnit` class instead of `Compilable` module, the super class of `Chapter` and `Part` ([#1543])
44
+ * `ReVIEW::Book.load` is deprecated, use `ReVIEW::Book::Base.load` or `ReVIEW::Book::Base.new` add new option `:config` for `ReVIEW::Book::Base.load` ([#1548], [#1563])
45
+ * added `ReVIEW::Configure.create` ([#1549])
46
+ * WebMaker: removed unused `clean_mathdir` ([#1550])
47
+ * add `Base#parse_catalog_file()` and use it in `ReVIEW::Book::Base.new()`. `Base#catalog` is just getter now ([#1551])
48
+ * use `File.write` when it can be used ([#1560])
49
+ * remove `Builder#builder_init()` ([#1564])
50
+
51
+ ## Contributors
52
+ * [@snoozer05](https://github.com/snoozer05)
53
+
54
+ [#1384]: https://github.com/kmuto/review/pull/1384
55
+ [#1393]: https://github.com/kmuto/review/issues/1393
56
+ [#1397]: https://github.com/kmuto/review/issues/1397
57
+ [#1483]: https://github.com/kmuto/review/issues/1483
58
+ [#1497]: https://github.com/kmuto/review/pull/1497
59
+ [#1511]: https://github.com/kmuto/review/pull/1511
60
+ [#1517]: https://github.com/kmuto/review/issues/1517
61
+ [#1520]: https://github.com/kmuto/review/pull/1520
62
+ [#1521]: https://github.com/kmuto/review/pull/1521
63
+ [#1522]: https://github.com/kmuto/review/pull/1522
64
+ [#1523]: https://github.com/kmuto/review/pull/1523
65
+ [#1526]: https://github.com/kmuto/review/pull/1526
66
+ [#1527]: https://github.com/kmuto/review/pull/1527
67
+ [#1528]: https://github.com/kmuto/review/pull/1528
68
+ [#1529]: https://github.com/kmuto/review/issues/1529
69
+ [#1530]: https://github.com/kmuto/review/issues/1530
70
+ [#1533]: https://github.com/kmuto/review/issues/1533
71
+ [#1534]: https://github.com/kmuto/review/issues/1534
72
+ [#1536]: https://github.com/kmuto/review/pull/1536
73
+ [#1538]: https://github.com/kmuto/review/pull/1538
74
+ [#1541]: https://github.com/kmuto/review/pull/1541
75
+ [#1543]: https://github.com/kmuto/review/pull/1543
76
+ [#1544]: https://github.com/kmuto/review/issues/1544
77
+ [#1545]: https://github.com/kmuto/review/issues/1545
78
+ [#1548]: https://github.com/kmuto/review/pull/1548
79
+ [#1549]: https://github.com/kmuto/review/pull/1549
80
+ [#1550]: https://github.com/kmuto/review/pull/1550
81
+ [#1551]: https://github.com/kmuto/review/pull/1551
82
+ [#1552]: https://github.com/kmuto/review/pull/1552
83
+ [#1558]: https://github.com/kmuto/review/pull/1558
84
+ [#1559]: https://github.com/kmuto/review/issues/1559
85
+ [#1560]: https://github.com/kmuto/review/pull/1560
86
+ [#1562]: https://github.com/kmuto/review/pull/1562
87
+ [#1563]: https://github.com/kmuto/review/pull/1563
88
+ [#1564]: https://github.com/kmuto/review/pull/1564
89
+ [#1569]: https://github.com/kmuto/review/pull/1569
90
+ [#1572]: https://github.com/kmuto/review/pull/1572
91
+ [#1573]: https://github.com/kmuto/review/pull/1573
92
+ [#1574]: https://github.com/kmuto/review/issues/1574
93
+ [#1584]: https://github.com/kmuto/review/pull/1584
94
+
95
+ # Version 4.2.0
96
+ ## New Features
97
+ * introduce `caption_position` parameter to specify a caption position of image, table, list, and equation. `caption_position` has child parameters `image`, `table`, `list`, and `equation` and the value is `top` or `bottom` ([#1320])
98
+
99
+ ## Breaking Changes
100
+ * review-vol is rewritten. Improved processing of parts and inline instructions in headings. Changed display format. When a part is specified, the volume of the part file itself is returned instead of the volume of the part. The `-P` and `--directory` options have been removed ([#1485])
101
+ * review-index is rewritten. Most option names have been changed. The number of lines and characters are now displayed only when `-d` option is specified. review-index uses PLAINTEXTBuilder to return accurate line and character counts. `-y` option is provided to specify a target chapter ([#1485])
102
+
103
+ ## Bug Fixes
104
+ * remove duplicated `@non_parsed_commands` declaration ([#1499])
105
+ * mathematical images not being created in WebMaker and TextMaker has been fixed ([#1501])
106
+
107
+ ## Enhancements
108
+ * improve a performance of building math figures on imgmath ([#1488])
109
+ * for those times when you want to hand over non-default YAML parameters to PDFMaker, you can write your own `layouts/config-local.tex.erb` file ([#1505])
110
+
111
+ ## Others
112
+ * GitHub Actions: use `ruby/setup-ruby` instead of `eregon/use-ruby-action` ([#1490])
113
+ * skip artifacts in the sample folder during testing ([#1504])
114
+
115
+ [#1320]: https://github.com/kmuto/review/issues/1320
116
+ [#1485]: https://github.com/kmuto/review/issues/1485
117
+ [#1488]: https://github.com/kmuto/review/issues/1488
118
+ [#1490]: https://github.com/kmuto/review/pull/1490
119
+ [#1499]: https://github.com/kmuto/review/issues/1499
120
+ [#1501]: https://github.com/kmuto/review/pull/1501
121
+ [#1504]: https://github.com/kmuto/review/pull/1504
122
+ [#1505]: https://github.com/kmuto/review/issues/1505
123
+
124
+ # Version 4.1.0
125
+ ## New Features
126
+ * add `table_row_separator` to specify a separator that separates table rows. Accceptable value: tabs (means `\t+`, default), `singletab` (means `\t`), spaces (means `\s+`), verticalbar (means `\s*\|\s*`) ([#1420])
127
+ * PDFMaker, EPUBMaker, WEBMaker, TEXTMaker, IDGXMLMaker: add `-y` (`--only`) option to specify the files to convert instead of all files ([#1428])
128
+ * add `--without-config-comment` option to review-init command to exclude comments from config.yml ([#1453])
129
+ * PDFMaker: add `use_original_image_size` in `pdfmaker` section. If this parameter is set to true, images in `//image`, `//indepimage`, and `//imgtable` will be placed in actual size, not textwidth ([#1461])
130
+
131
+ ## Breaking Changes
132
+ * PDFMaker: `image_scale2width` parameter has been moved under `pdfmaker` section ([#1462])
133
+
134
+ ## Bug Fixes
135
+ * PDFMaker: fix backward compatibility error with Re:VIEW 3 ([#1414])
136
+ * PDFMaker: fix an error when compiling review-jlreq with LuaLaTeX ([#1416])
137
+ * PDFMaker: fix index not being included in the table of contents ([#1418])
138
+ * RSTBuilder: fix conversion failure due to incorrect method argument handling ([#1426])
139
+ * IDGXMLBuilder: there was an error in the warning handling for the table ([#1427])
140
+ * IDGXMLMaker: there was an error in the processing when an error occurred in the filter program ([#1429])
141
+ * PDFMaker: fix a build failure when using inline operators such as `@<code>` or `@<tt>` for heading with `media=ebook` mode ([#1432], [#1465])
142
+ * PDFMaker: raise just warning instead of error, when MeCab isn't installed ([#1445])
143
+ * IDGXMLBuilder: fix `//imgtable` to work correctly ([#1448])
144
+ * PDFMaker: fix an error when makeindex is true but no index is registered ([#1467])
145
+ * PDFMaker: fix missing footnotes in a description list ([#1476])
146
+ * review-index: fix an error when `@<w>` exists in headlines ([#1484])
147
+
148
+ ## Enhancements
149
+ * PDFMaker: add version to .cls/.sty files ([#1163])
150
+ * update Dockerfile ([#1412])
151
+ * IDGXMLMaker: show the contents of stderr from the filter program ([#1443])
152
+ * add *-idgxml folder entry to .gitignore ([#1448])
153
+ * `//source` can now omit options in all builders ([#1447])
154
+ * add Ruby 2.7 to the test targets ([#1468])
155
+ * allow a setting of multiple word\_file ([#1469])
156
+ * EPUBMaker: warn when there is no heading in .re file ([#1474])
157
+
158
+ ## Docs
159
+ * add the description about `contact` and `colophon_order` to `config.yml.sample` ([#1425])
160
+ * update quickstart.ja.md and quickstart.md to Re:VIEW 4 ([#1442])
161
+ * update syntax-book sample document ([#1448], [#1449])
162
+ * update README.md ([#1455], [#1458])
163
+ * update format.ja.md and format.md. add the description about `::` notation which sets builder-specific options to images ([#1421])
164
+
165
+ ## Others
166
+ * refactor codes with Rubocop 0.78.0 ([#1424], [#1430])
167
+ * run PDF build test more strictly when there is LaTeX runtime environment ([#1433])
168
+ * switch the build test suite from Travis CI to GitHub Actions ([#1431], [#1436], [#1437])
169
+ * IDGXMLBuilder: refactor code list methods ([#1438], [#1439])
170
+ * remove unnecessary review-ext.rb from syntax-book ([#1446])
171
+ * add tests for IDGXMLMaker and TextMaker ([#1448])
172
+ * refactor around Index ([#1456], [#1457], [#1459])
173
+ * update jsclasses to version 2020/02/02 ([#1478])
174
+
175
+ ## Contributors
176
+ * [@turky](https://github.com/turky)
177
+
178
+ [#1163]: https://github.com/kmuto/review/issues/1163
179
+ [#1412]: https://github.com/kmuto/review/pull/1412
180
+ [#1414]: https://github.com/kmuto/review/issues/1414
181
+ [#1416]: https://github.com/kmuto/review/issues/1416
182
+ [#1418]: https://github.com/kmuto/review/issues/1418
183
+ [#1420]: https://github.com/kmuto/review/issues/1420
184
+ [#1421]: https://github.com/kmuto/review/issues/1421
185
+ [#1424]: https://github.com/kmuto/review/pull/1424
186
+ [#1425]: https://github.com/kmuto/review/pull/1425
187
+ [#1426]: https://github.com/kmuto/review/pull/1426
188
+ [#1427]: https://github.com/kmuto/review/pull/1427
189
+ [#1428]: https://github.com/kmuto/review/pull/1428
190
+ [#1429]: https://github.com/kmuto/review/pull/1429
191
+ [#1430]: https://github.com/kmuto/review/pull/1430
192
+ [#1431]: https://github.com/kmuto/review/pull/1431
193
+ [#1432]: https://github.com/kmuto/review/issues/1432
194
+ [#1433]: https://github.com/kmuto/review/pull/1433
195
+ [#1436]: https://github.com/kmuto/review/pull/1436
196
+ [#1437]: https://github.com/kmuto/review/issues/1437
197
+ [#1438]: https://github.com/kmuto/review/pull/1438
198
+ [#1439]: https://github.com/kmuto/review/pull/1439
199
+ [#1442]: https://github.com/kmuto/review/issues/1442
200
+ [#1443]: https://github.com/kmuto/review/pull/1443
201
+ [#1445]: https://github.com/kmuto/review/pull/1445
202
+ [#1446]: https://github.com/kmuto/review/pull/1446
203
+ [#1447]: https://github.com/kmuto/review/issues/1447
204
+ [#1448]: https://github.com/kmuto/review/pull/1448
205
+ [#1449]: https://github.com/kmuto/review/pull/1449
206
+ [#1453]: https://github.com/kmuto/review/pull/1453
207
+ [#1455]: https://github.com/kmuto/review/pull/1455
208
+ [#1456]: https://github.com/kmuto/review/pull/1456
209
+ [#1457]: https://github.com/kmuto/review/pull/1457
210
+ [#1458]: https://github.com/kmuto/review/pull/1458
211
+ [#1459]: https://github.com/kmuto/review/pull/1459
212
+ [#1461]: https://github.com/kmuto/review/issues/1461
213
+ [#1462]: https://github.com/kmuto/review/issues/1462
214
+ [#1465]: https://github.com/kmuto/review/pull/1465
215
+ [#1466]: https://github.com/kmuto/review/pull/1466
216
+ [#1467]: https://github.com/kmuto/review/pull/1467
217
+ [#1468]: https://github.com/kmuto/review/pull/1468
218
+ [#1469]: https://github.com/kmuto/review/issues/1469
219
+ [#1474]: https://github.com/kmuto/review/issues/1474
220
+ [#1476]: https://github.com/kmuto/review/issues/1476
221
+ [#1478]: https://github.com/kmuto/review/issues/1478
222
+ [#1484]: https://github.com/kmuto/review/pull/1484
223
+
224
+ # Version 4.0.0
225
+ ## New Features
226
+ * introduce review-idgxmlmaker which generates IDGXML files at once ([#1337])
227
+ * review-textmaker converts the math in the document to image files when `imgmath` parameter has `true` ([#1338])
228
+ * introduce wizard mode to layout of LaTeX on Web browser. Add `-w` option to review-init. This feature is experimental and may be replaced in the future ([#1403])
229
+ * experimental feature: introduce the feature to insert whitespace based on character when combining lines into a paragraph. To enable this, install unicode-eaw gem and add `join_lines_by_lang: true` into config.yml [#1362]
230
+
231
+ ## Breaking Changes
232
+ * review-init no longer creates empty `layouts` folder ([#1340])
233
+ * PDFMaker: fix a problem that white space characters disappeared in `@<code>`, `@<tt>`, `@<tti>`, and `@<ttb>`. Also the string is automatically wrapped ([#1348])
234
+ * `//texequation`, `//embed` and `//graph` that don't allow inline op no longer escape inline op in strings. And don't put extra line break ([#1371], [#1374])
235
+ * PDFMaker: change the default table placement from `htp` to `H` for use in columns (`\floatplacement{table}` value in review-style.sty) [#1385]
236
+ * PDFMaker: the space between Japanese/Western characters in the code lists is changed to 0 from 1/4 character ([#1401])
237
+ * change the default value of `toc` parameter from null (false, don't create a table of contents) to true (create a table of contents) ([#1405])
238
+
239
+ ## Bug Fixes
240
+ * fix a typo in review-jlreq ([#1350])
241
+ * fix incorrect result when `re` file uses CR for line-feed code ([#1341])
242
+ * PDFMaker: fix foreground color of `//cmd` with review-jlreq after page breaking ([#1363])
243
+ * PDFMaker: fix duplicate 'column' label for `@<column>` ([#1367])
244
+ * PDFMaker: copy gentombow.sty and jsbook.cls only for review-jsbook ([#1381])
245
+ * PDFMaker: fix invalid PDFDocumentInformation on review-jlreq with LuaLaTeX ([#1392])
246
+ * PDFMaker: fix missing hiddenfolio information at even pages on review-jlreq ([#1395])
247
+
248
+ ## Enhancements
249
+ * support `@<em>` and `@<strong>` in IDGXMLBuilder ([#1353])
250
+ * PDFMaker: extract `code_line` and `code_line_num` from code blocks for ease handling each line ([#1368])
251
+ * PDFMaker: add new compile option `-halt-on-error` to make it easier to find the problem when an error occurs ([#1378])
252
+ * PDFMaker: when there is a footnote text (`//footnote`) in the column block, it may cuse problems such as numbering. So warn it if there is. ([#1379])
253
+ * Logger: progname should be add in logger, not in message arguments ([#1388])
254
+ * improve error checking for yaml files ([#1386])
255
+ * PDFMaker: the cover page becomes even number (p.0) and is named "cover" ([#1402])
256
+ * PDFMaker: refactor `generate_pdf` method ([#1404])
257
+ * create `.gitignore` for new project ([#1407])
258
+
259
+ ## Docs
260
+ * update sample-book/README.md ([#1354])
261
+ * add descriptions about options of jsbook.cls to review-jsbook/README.md ([#1365])
262
+
263
+ ## Others
264
+ * unify styles of a method with arguments ([#1360])
265
+ * `Catalog#{chaps,parts,predef,postdef,appendix}` should return Array, not String ([#1372])
266
+ * use `safe_load` for loading YAML ([#1375])
267
+ * refactor `table` method to simplify each builder ([#1356])
268
+ * refactor `XXX_header` and `XXX_body` ([#1359])
269
+ * enable `Builder#highlight?` method on each builder ([#1373])
270
+ * refactor mkdchap* and mkpart* ([#1383])
271
+ * don't update rubygems in Travis CI ([#1389])
272
+ * refactor around Index ([#1390])
273
+ * add configration for review-jlreq to sample documents ([#1391])
274
+ * definition list should start with spaces ([#1398])
275
+
276
+ ## Contributors
277
+ * [@m-shibata](https://github.com/m-shibata)
278
+ * [@masarakki](https://github.com/masarakki)
279
+
280
+ [#1337]: https://github.com/kmuto/review/issues/1337
281
+ [#1338]: https://github.com/kmuto/review/issues/1338
282
+ [#1340]: https://github.com/kmuto/review/issues/1340
283
+ [#1341]: https://github.com/kmuto/review/issues/1341
284
+ [#1348]: https://github.com/kmuto/review/issues/1348
285
+ [#1350]: https://github.com/kmuto/review/issues/1350
286
+ [#1353]: https://github.com/kmuto/review/pull/1353
287
+ [#1354]: https://github.com/kmuto/review/pull/1354
288
+ [#1356]: https://github.com/kmuto/review/pull/1356
289
+ [#1359]: https://github.com/kmuto/review/pull/1359
290
+ [#1360]: https://github.com/kmuto/review/pull/1360
291
+ [#1362]: https://github.com/kmuto/review/pull/1362
292
+ [#1363]: https://github.com/kmuto/review/issues/1363
293
+ [#1365]: https://github.com/kmuto/review/pull/1365
294
+ [#1367]: https://github.com/kmuto/review/issues/1367
295
+ [#1368]: https://github.com/kmuto/review/issues/1368
296
+ [#1371]: https://github.com/kmuto/review/pull/1371
297
+ [#1372]: https://github.com/kmuto/review/pull/1372
298
+ [#1373]: https://github.com/kmuto/review/pull/1373
299
+ [#1374]: https://github.com/kmuto/review/pull/1374
300
+ [#1375]: https://github.com/kmuto/review/pull/1375
301
+ [#1378]: https://github.com/kmuto/review/pull/1378
302
+ [#1379]: https://github.com/kmuto/review/issues/1379
303
+ [#1381]: https://github.com/kmuto/review/issues/1381
304
+ [#1383]: https://github.com/kmuto/review/issues/1383
305
+ [#1385]: https://github.com/kmuto/review/issues/1385
306
+ [#1386]: https://github.com/kmuto/review/pull/1386
307
+ [#1388]: https://github.com/kmuto/review/pull/1388
308
+ [#1389]: https://github.com/kmuto/review/pull/1389
309
+ [#1390]: https://github.com/kmuto/review/pull/1390
310
+ [#1391]: https://github.com/kmuto/review/pull/1391
311
+ [#1392]: https://github.com/kmuto/review/issues/1392
312
+ [#1395]: https://github.com/kmuto/review/issues/1395
313
+ [#1398]: https://github.com/kmuto/review/issues/1398
314
+ [#1401]: https://github.com/kmuto/review/pull/1401
315
+ [#1402]: https://github.com/kmuto/review/pull/1402
316
+ [#1403]: https://github.com/kmuto/review/pull/1403
317
+ [#1404]: https://github.com/kmuto/review/pull/1404
318
+ [#1405]: https://github.com/kmuto/review/pull/1405
319
+ [#1407]: https://github.com/kmuto/review/pull/1407
320
+
321
+ # Version 3.2.0
322
+
323
+ ## Breaking Changes
324
+ * PDFMaker: changed to use the abstract name `\reviewincludegraphics` instead of `\includegraphics` for image placements (such as `//image`) ([#1318])
325
+
326
+ ## Bug Fixes
327
+ * reference to IDs of non-existent chapter now return standard key error (instead of internal error) ([#1284])
328
+ * fixed the value in the error message of review-compile ([#1286])
329
+ * PDFMaker: fixed the metadata of PDF page number was wrong when using review-jsbook with serial_pagination = true ([#1288])
330
+ * fixed a bug when using `@<hd>` to refer to headings with notoc, nodisp, or nonum ([#1294])
331
+ * PDFMaker: fixed an error in review-jlreq when using jlreq.cls version 0401 ([#1298])
332
+ * EPUBMaker: fixed a error of building EPUB2 ([#1301])
333
+ * EPUBMaker: added a workaround for a temporary folder deletion failure on Windows ([#1011])
334
+ * PDFMaker: support `@<bou>` ([#1220])
335
+ * PDFMaker: support old jlreq.cls ([#1317])
336
+
337
+ ## Enhancements
338
+ * added test when `CHAPS:` is empty ([#1275])
339
+ * PDFMaker: for safety, inline typeface commands such as `\reviewtt` are defined with RobustCommand ([#1280])
340
+ * EPUBMaker: added `--debug` option to execute in debug mode ([#1281])
341
+ * review-epub2html: added `--inline-footnote` option to represent footnotes as inline ([#1283])
342
+ * EPUBMaker: added metadata of the cover image on EPUB3 for iBooks ([#1293])
343
+ * PDFMaker: suppressed the unexptected page break after the caption of code list or equation in review-jsbook and review-jlreq ([#1299])
344
+ * reformatted the codes using rubocop 0.67.2 ([#1297])
345
+ * added a test of building EPUB ([#1300])
346
+ * updated Ruby versions of test target to 2.4.6, 2.5.5, and 2.6.3 ([#1303])
347
+ * improved the code of YAMLLoader ([#1304])
348
+ * raise an error when invalid level is used in bullet ([#1313])
349
+ * extracted ReVIEW::Location class ([#1308])
350
+ * avoid multi-lined English words being combined without a space in bullets and bibliographic list (only in PDFMaker, at this time) ([#1312])
351
+ * raise an error when table is empty ([#1325])
352
+ * add some tests ([#1327], [#1328])
353
+ * MARKDOWNBilder: support `//listnum` ([#1336])
354
+
355
+ ## Docs
356
+ * fixed the description about header levels ([#1309])
357
+
358
+ ## Others
359
+ * removed ReVIEW::Preprocessor::Strip due to it is no longer used ([#1305])
360
+
361
+ ## Contributors
362
+ * [@uetchy](https://github.com/uetchy)
363
+ * [@mitsuo0114](https://github.com/mitsuo0114)
364
+
365
+ [#1011]: https://github.com/kmuto/review/issues/1011
366
+ [#1220]: https://github.com/kmuto/review/issues/1220
367
+ [#1275]: https://github.com/kmuto/review/pull/1275
368
+ [#1280]: https://github.com/kmuto/review/pull/1280
369
+ [#1281]: https://github.com/kmuto/review/issues/1281
370
+ [#1283]: https://github.com/kmuto/review/pull/1283
371
+ [#1284]: https://github.com/kmuto/review/issues/1284
372
+ [#1286]: https://github.com/kmuto/review/pull/1286
373
+ [#1288]: https://github.com/kmuto/review/issues/1288
374
+ [#1293]: https://github.com/kmuto/review/pull/1293
375
+ [#1294]: https://github.com/kmuto/review/issues/1294
376
+ [#1297]: https://github.com/kmuto/review/pull/1297
377
+ [#1298]: https://github.com/kmuto/review/pull/1298
378
+ [#1299]: https://github.com/kmuto/review/pull/1299
379
+ [#1300]: https://github.com/kmuto/review/pull/1300
380
+ [#1301]: https://github.com/kmuto/review/pull/1301
381
+ [#1303]: https://github.com/kmuto/review/pull/1303
382
+ [#1304]: https://github.com/kmuto/review/pull/1304
383
+ [#1305]: https://github.com/kmuto/review/pull/1305
384
+ [#1308]: https://github.com/kmuto/review/pull/1308
385
+ [#1309]: https://github.com/kmuto/review/issues/1309
386
+ [#1312]: https://github.com/kmuto/review/issues/1312
387
+ [#1313]: https://github.com/kmuto/review/issues/1313
388
+ [#1317]: https://github.com/kmuto/review/pull/1317
389
+ [#1318]: https://github.com/kmuto/review/issues/1318
390
+ [#1325]: https://github.com/kmuto/review/issues/1325
391
+ [#1327]: https://github.com/kmuto/review/issues/1327
392
+ [#1328]: https://github.com/kmuto/review/pull/1328
393
+ [#1336]: https://github.com/kmuto/review/pull/1336
394
+
1
395
  # Version 3.1.0
2
396
  ## Breaking Changes
3
397
  * PDFMaker: introduce `\reviewimagecaption` macro for the caption of figure ([#1254]). Please update your review-base.sty by `review-update` command on your Re:VIEW 3 project.
@@ -451,7 +845,7 @@
451
845
 
452
846
  ## Enhancements
453
847
 
454
- * allow block `{ //}` in `//indepimage`. ([#802])
848
+ * allow block `{ ... //}` in `//indepimage`. ([#802])
455
849
  * warn when images are not found in `//indepimage`([#803])
456
850
  * LATEXBuilder: allow caption in `//source` ([#834])
457
851