review 3.2.0 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (282) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby-tex.yml +31 -0
  3. data/.github/workflows/ruby-win.yml +45 -0
  4. data/.github/workflows/ruby.yml +27 -0
  5. data/.rubocop.yml +167 -42
  6. data/.travis.yml +1 -1
  7. data/Dockerfile +21 -5
  8. data/NEWS.ja.md +428 -1
  9. data/NEWS.md +429 -2
  10. data/README.md +11 -7
  11. data/Rakefile +7 -2
  12. data/appveyor.yml +0 -20
  13. data/bin/review +2 -4
  14. data/bin/review-catalog-converter +5 -5
  15. data/bin/review-check +13 -17
  16. data/bin/review-checkdep +3 -6
  17. data/bin/review-compile +13 -22
  18. data/bin/review-epub2html +1 -4
  19. data/bin/review-epubmaker +3 -4
  20. data/bin/review-idgxmlmaker +14 -0
  21. data/bin/review-index +5 -86
  22. data/bin/review-init +1 -4
  23. data/bin/review-pdfmaker +1 -3
  24. data/bin/review-preproc +11 -13
  25. data/bin/review-textmaker +1 -3
  26. data/bin/review-update +1 -4
  27. data/bin/review-validate +7 -7
  28. data/bin/review-vol +5 -82
  29. data/bin/review-webmaker +1 -3
  30. data/doc/config.yml.sample +67 -16
  31. data/doc/config.yml.sample-simple +4 -3
  32. data/doc/format.ja.md +133 -21
  33. data/doc/format.md +135 -34
  34. data/doc/makeindex.ja.md +2 -2
  35. data/doc/pdfmaker.ja.md +43 -1
  36. data/doc/pdfmaker.md +42 -1
  37. data/doc/quickstart.ja.md +55 -25
  38. data/doc/quickstart.md +47 -17
  39. data/lib/review.rb +1 -1
  40. data/lib/review/book.rb +2 -2
  41. data/lib/review/book/base.rb +89 -90
  42. data/lib/review/book/bib.rb +21 -0
  43. data/lib/review/book/book_unit.rb +158 -0
  44. data/lib/review/book/chapter.rb +51 -29
  45. data/lib/review/book/index.rb +42 -248
  46. data/lib/review/book/index/item.rb +46 -0
  47. data/lib/review/book/page_metric.rb +7 -7
  48. data/lib/review/book/part.rb +45 -10
  49. data/lib/review/book/volume.rb +5 -5
  50. data/lib/review/builder.rb +171 -54
  51. data/lib/review/call_hook.rb +20 -0
  52. data/lib/review/catalog.rb +15 -17
  53. data/lib/review/compiler.rb +240 -102
  54. data/lib/review/configure.rb +101 -12
  55. data/lib/review/converter.rb +1 -1
  56. data/lib/review/epub2html.rb +6 -1
  57. data/lib/review/epubmaker.rb +120 -118
  58. data/lib/review/epubmaker/content.rb +113 -0
  59. data/lib/review/epubmaker/epubcommon.rb +372 -0
  60. data/lib/review/epubmaker/epubv2.rb +178 -0
  61. data/lib/review/epubmaker/epubv3.rb +231 -0
  62. data/lib/review/epubmaker/producer.rb +168 -0
  63. data/lib/review/epubmaker/reviewheaderlistener.rb +12 -2
  64. data/lib/review/epubmaker/zip_exporter.rb +84 -0
  65. data/lib/review/exception.rb +6 -0
  66. data/lib/review/extentions/string.rb +0 -4
  67. data/lib/review/htmlbuilder.rb +147 -149
  68. data/lib/review/htmlutils.rb +10 -14
  69. data/lib/review/i18n.rb +4 -3
  70. data/lib/review/idgxmlbuilder.rb +229 -103
  71. data/lib/review/idgxmlmaker.rb +188 -0
  72. data/lib/review/img_math.rb +245 -0
  73. data/lib/review/index_builder.rb +654 -0
  74. data/lib/review/init-web/finish.html +10 -0
  75. data/lib/review/init-web/index.html +190 -0
  76. data/lib/review/init-web/review-layout-design.js +691 -0
  77. data/lib/review/init.rb +124 -41
  78. data/lib/review/latexbox.rb +58 -0
  79. data/lib/review/latexbuilder.rb +249 -97
  80. data/lib/review/latexutils.rb +9 -1
  81. data/lib/review/lineinput.rb +113 -3
  82. data/lib/review/logger.rb +43 -8
  83. data/lib/review/makerhelper.rb +13 -186
  84. data/lib/review/markdownbuilder.rb +75 -39
  85. data/lib/review/md2inaobuilder.rb +3 -5
  86. data/lib/review/pdfmaker.rb +88 -83
  87. data/lib/review/plaintextbuilder.rb +158 -83
  88. data/lib/review/preprocessor.rb +30 -24
  89. data/lib/review/rstbuilder.rb +58 -39
  90. data/lib/review/sec_counter.rb +14 -0
  91. data/lib/review/template.rb +6 -0
  92. data/lib/review/textmaker.rb +29 -17
  93. data/lib/review/textutils.rb +68 -2
  94. data/lib/review/tocprinter.rb +242 -97
  95. data/lib/review/topbuilder.rb +147 -61
  96. data/lib/review/update.rb +27 -28
  97. data/lib/review/version.rb +1 -1
  98. data/lib/review/volumeprinter.rb +97 -0
  99. data/lib/review/webmaker.rb +36 -35
  100. data/lib/review/webtocprinter.rb +39 -35
  101. data/lib/review/yamlloader.rb +4 -0
  102. data/review.gemspec +8 -5
  103. data/samples/sample-book/README.md +7 -2
  104. data/samples/sample-book/src/.gitignore +154 -0
  105. data/samples/sample-book/src/config-ebook.yml +4 -0
  106. data/samples/sample-book/src/config-epub2.yml +1 -1
  107. data/samples/sample-book/src/config-jlreq-ebook.yml +4 -0
  108. data/samples/sample-book/src/config-jlreq.yml +6 -0
  109. data/samples/sample-book/src/config.yml +3 -3
  110. data/samples/sample-book/src/lib/tasks/review.rake +45 -14
  111. data/samples/sample-book/src/lib/tasks/z01_copy_sty.rake +14 -8
  112. data/samples/syntax-book/Gemfile +1 -1
  113. data/samples/syntax-book/ch01.re +3 -1
  114. data/samples/syntax-book/ch02.re +28 -21
  115. data/samples/syntax-book/ch03.re +4 -7
  116. data/samples/syntax-book/config-jlreq-lualatex.yml +4 -0
  117. data/samples/syntax-book/config-jlreq.yml +5 -0
  118. data/samples/syntax-book/config-print.yml +3 -0
  119. data/samples/syntax-book/config.yml +1 -1
  120. data/samples/syntax-book/images/img3-2.png +0 -0
  121. data/samples/syntax-book/lib/tasks/review.rake +30 -15
  122. data/samples/syntax-book/lib/tasks/z01_copy_sty.rake +14 -8
  123. data/templates/html/_colophon.html.erb +23 -0
  124. data/templates/html/_colophon_history.html.erb +9 -0
  125. data/templates/html/_cover.html.erb +10 -0
  126. data/templates/html/_part_body.html.erb +6 -0
  127. data/templates/html/_titlepage.html.erb +20 -0
  128. data/templates/html/layout-html5.html.erb +6 -0
  129. data/templates/html/layout-xhtml1.html.erb +6 -0
  130. data/templates/latex/config.erb +45 -27
  131. data/templates/latex/layout.tex.erb +1 -0
  132. data/templates/latex/review-jlreq/README.md +3 -1
  133. data/templates/latex/review-jlreq/review-base.sty +124 -37
  134. data/templates/latex/review-jlreq/review-jlreq.cls +29 -22
  135. data/templates/latex/review-jlreq/review-style.sty +9 -1
  136. data/templates/latex/review-jlreq/review-tcbox.sty +348 -0
  137. data/templates/latex/review-jlreq/reviewmacro.sty +5 -0
  138. data/templates/latex/review-jsbook/README.md +46 -5
  139. data/templates/latex/review-jsbook/review-base.sty +111 -30
  140. data/templates/latex/review-jsbook/review-jsbook.cls +16 -2
  141. data/templates/latex/review-jsbook/review-style.sty +10 -2
  142. data/templates/latex/review-jsbook/review-tcbox.sty +348 -0
  143. data/templates/latex/review-jsbook/reviewmacro.sty +5 -0
  144. data/templates/opf/epubv2.opf.erb +7 -7
  145. data/templates/opf/epubv3.opf.erb +7 -7
  146. data/templates/opf/opf_manifest_epubv2.opf.erb +10 -0
  147. data/templates/opf/opf_manifest_epubv3.opf.erb +10 -0
  148. data/templates/opf/opf_metainfo_epubv2.opf.erb +17 -0
  149. data/templates/opf/opf_metainfo_epubv3.opf.erb +49 -0
  150. data/templates/opf/opf_tocx_epubv2.opf.erb +9 -0
  151. data/templates/opf/opf_tocx_epubv3.opf.erb +17 -0
  152. data/templates/web/html/layout-html5.html.erb +9 -8
  153. data/templates/web/html/layout-xhtml1.html.erb +6 -0
  154. data/test/assets/header_listener.html +35 -0
  155. data/test/assets/img_math/img1.png +0 -0
  156. data/test/assets/img_math/img2.png +0 -0
  157. data/test/assets/img_math/img3.png +0 -0
  158. data/test/assets/syntax_book_index_detail.txt +58 -0
  159. data/test/assets/test_template.tex +20 -9
  160. data/test/assets/test_template_backmatter.tex +20 -9
  161. data/test/book_test_helper.rb +11 -5
  162. data/test/run_test.rb +1 -1
  163. data/test/test_book.rb +123 -78
  164. data/test/test_book_chapter.rb +99 -56
  165. data/test/test_book_part.rb +3 -3
  166. data/test/test_builder.rb +24 -15
  167. data/test/test_catalog.rb +19 -42
  168. data/test/test_catalog_converter_cmd.rb +1 -1
  169. data/test/test_converter.rb +1 -0
  170. data/test/test_epub3maker.rb +170 -126
  171. data/test/test_epubmaker.rb +249 -129
  172. data/test/test_epubmaker_cmd.rb +16 -9
  173. data/test/test_helper.rb +23 -11
  174. data/test/test_htmlbuilder.rb +1083 -114
  175. data/test/test_htmlutils.rb +0 -12
  176. data/test/test_i18n.rb +37 -37
  177. data/test/test_idgxmlbuilder.rb +627 -27
  178. data/test/test_idgxmlmaker_cmd.rb +50 -0
  179. data/test/test_image_finder.rb +52 -70
  180. data/test/test_img_math.rb +111 -0
  181. data/test/test_index.rb +62 -52
  182. data/test/test_indexbuilder.rb +52 -0
  183. data/test/test_latexbuilder.rb +1189 -59
  184. data/test/test_latexbuilder_v2.rb +74 -34
  185. data/test/test_lineinput.rb +20 -93
  186. data/test/test_logger.rb +17 -4
  187. data/test/test_makerhelper.rb +2 -14
  188. data/test/test_markdownbuilder.rb +77 -4
  189. data/test/test_md2inaobuilder.rb +12 -2
  190. data/test/test_pdfmaker.rb +101 -12
  191. data/test/test_pdfmaker_cmd.rb +102 -8
  192. data/test/test_plaintextbuilder.rb +562 -31
  193. data/test/test_review_ext.rb +2 -1
  194. data/test/test_reviewheaderlistener.rb +49 -0
  195. data/test/test_rstbuilder.rb +58 -5
  196. data/test/test_sec_counter.rb +156 -0
  197. data/test/test_template.rb +12 -2
  198. data/test/test_textmaker_cmd.rb +58 -0
  199. data/test/test_textutils.rb +109 -2
  200. data/test/test_tocprinter.rb +46 -0
  201. data/test/test_topbuilder.rb +400 -17
  202. data/test/test_update.rb +53 -44
  203. data/test/test_webtocprinter.rb +75 -43
  204. data/test/test_yamlloader.rb +13 -0
  205. data/test/test_zip_exporter.rb +5 -6
  206. data/vendor/gentombow/LICENSE +1 -1
  207. data/vendor/gentombow/Makefile +0 -1
  208. data/vendor/gentombow/bounddvi-en.pdf +0 -0
  209. data/vendor/gentombow/bounddvi-en.tex +1 -0
  210. data/vendor/gentombow/bounddvi.pdf +0 -0
  211. data/vendor/gentombow/bounddvi.sty +30 -7
  212. data/vendor/gentombow/bounddvi.tex +1 -0
  213. data/vendor/gentombow/create_archive.sh +1 -0
  214. data/vendor/gentombow/gentombow-ja.pdf +0 -0
  215. data/vendor/gentombow/gentombow-ja.tex +9 -0
  216. data/vendor/gentombow/gentombow.pdf +0 -0
  217. data/vendor/gentombow/gentombow.sty +32 -10
  218. data/vendor/gentombow/gentombow.tex +8 -0
  219. data/vendor/gentombow/tests/gentombow-01-pdfx.tex +8 -0
  220. data/vendor/gentombow/tests/gentombow-02-pdfx.tex +8 -0
  221. data/vendor/jsclasses/LICENSE +1 -1
  222. data/vendor/jsclasses/Makefile +3 -2
  223. data/vendor/jsclasses/create_archive.sh +5 -5
  224. data/vendor/jsclasses/jis/Makefile +3 -2
  225. data/vendor/jsclasses/jis/jsarticle.cls +74 -31
  226. data/vendor/jsclasses/jis/jsbook.cls +74 -31
  227. data/vendor/jsclasses/jis/jsclasses.dtx +176 -36
  228. data/vendor/jsclasses/jis/jsclasses.ins +15 -5
  229. data/vendor/jsclasses/jis/jslogo.dtx +4 -4
  230. data/vendor/jsclasses/jis/jslogo.ins +9 -0
  231. data/vendor/jsclasses/jis/jslogo.sty +4 -16
  232. data/vendor/jsclasses/jis/jspf.cls +73 -30
  233. data/vendor/jsclasses/jis/jsreport.cls +74 -31
  234. data/vendor/jsclasses/jis/jsverb.ins +9 -0
  235. data/vendor/jsclasses/jis/jsverb.sty +1 -13
  236. data/vendor/jsclasses/jis/kiyou.cls +74 -31
  237. data/vendor/jsclasses/jis/minijs.sty +65 -22
  238. data/vendor/jsclasses/jis/okumacro.dtx +4 -5
  239. data/vendor/jsclasses/jis/okumacro.ins +9 -0
  240. data/vendor/jsclasses/jis/okumacro.sty +4 -17
  241. data/vendor/jsclasses/jis/okuverb.ins +9 -0
  242. data/vendor/jsclasses/jis/okuverb.sty +1 -13
  243. data/vendor/jsclasses/jis/winjis.sty +23 -19
  244. data/vendor/jsclasses/jsarticle.cls +74 -31
  245. data/vendor/jsclasses/jsbook.cls +74 -31
  246. data/vendor/jsclasses/jsclasses.dtx +176 -36
  247. data/vendor/jsclasses/jsclasses.ins +15 -5
  248. data/vendor/jsclasses/jsclasses.pdf +0 -0
  249. data/vendor/jsclasses/jslogo.dtx +4 -4
  250. data/vendor/jsclasses/jslogo.ins +9 -0
  251. data/vendor/jsclasses/jslogo.pdf +0 -0
  252. data/vendor/jsclasses/jslogo.sty +4 -16
  253. data/vendor/jsclasses/jspf.cls +73 -30
  254. data/vendor/jsclasses/jsreport.cls +74 -31
  255. data/vendor/jsclasses/jsverb.ins +9 -0
  256. data/vendor/jsclasses/jsverb.pdf +0 -0
  257. data/vendor/jsclasses/jsverb.sty +1 -13
  258. data/vendor/jsclasses/kiyou.cls +74 -31
  259. data/vendor/jsclasses/minijs.sty +68 -22
  260. data/vendor/jsclasses/okumacro.dtx +4 -5
  261. data/vendor/jsclasses/okumacro.ins +9 -0
  262. data/vendor/jsclasses/okumacro.pdf +0 -0
  263. data/vendor/jsclasses/okumacro.sty +4 -17
  264. data/vendor/jsclasses/okuverb.ins +9 -0
  265. data/vendor/jsclasses/okuverb.pdf +0 -0
  266. data/vendor/jsclasses/okuverb.sty +1 -13
  267. data/vendor/jsclasses/tests/relfont.tex +10 -0
  268. data/vendor/jsclasses/winjis.sty +23 -19
  269. metadata +136 -23
  270. data/.rubocop_todo.yml +0 -7
  271. data/lib/epubmaker.rb +0 -23
  272. data/lib/epubmaker/content.rb +0 -110
  273. data/lib/epubmaker/epubcommon.rb +0 -441
  274. data/lib/epubmaker/epubv2.rb +0 -143
  275. data/lib/epubmaker/epubv3.rb +0 -233
  276. data/lib/epubmaker/producer.rb +0 -375
  277. data/lib/epubmaker/zip_exporter.rb +0 -81
  278. data/lib/lineinput.rb +0 -155
  279. data/lib/review/book/compilable.rb +0 -173
  280. data/lib/review/tocparser.rb +0 -271
  281. data/samples/syntax-book/review-ext.rb +0 -14
  282. data/test/test_tocparser.rb +0 -25
data/NEWS.md CHANGED
@@ -1,6 +1,433 @@
1
- # Version 3.2.0
1
+ # Version 5.1.0
2
+ ## New Features
3
+ * added Rake rule to call [Vivliostyle-CLI](https://github.com/vivliostyle/vivliostyle-cli), CSS typesetting formatter. Create a PDF with `rake vivliostyle:build` or `rake vivliostyle`, and open a preview with `rake vivliostyle:preview` ([#1663])
4
+ * PDFMaker: introduced `boxsetting` parameter to choose and customize the decorations for column, note, memo, tip, info, warning, important, caution and notice ([#1637])
5
+ * added inline op, `@<ins>` (indicates an insertion) and `@<del>` (indicates a deletion) ([#1630])
6
+ * EPUBMaker, WebMaker: MathJax is now supported. Added `math_format` parameter to choose the mathematical expression method ([#1587], [#1614])
7
+
8
+ ## Breaking Changes
9
+ * EPUBMaker: changed the default value of the `urnid` parameter from `urn:uid` to `urn:uuid` ([#1658])
10
+ * PDFMaker: footnotes are no longer broken up by a page ([#1607])
11
+
12
+ ## Bug Fixes
13
+ * fixed WebMaker, review-vol and review-index errors when `contentdir` is defined ([#1633])
14
+ * WebMaker: fixed `images/html` foder not being found ([#1623])
15
+ * PDFMaker: fixed chapterlink in term list ([#1619])
16
+ * PDFMaker: fixed errors when index contains `{`, `}`, or `|` ([#1611])
17
+ * review-vol: valid error messages will be displayed when invalid headings are found ([#1604])
18
+ * PDFMaker: `after_makeindex` hook to be executed after `mendex` execution, not after LaTeX compilation ([#1605])
19
+ * PDFMaker: if the caption of `//image` is empty, the figure number will be printed instead of an internal error ([#1666])
20
+ * fixed review-vol and review-index errors when a file is invalid ([#1671])
21
+ * EPUBMaker: fixed an error when static file is missing ([#1670])
22
+
23
+ ## Enhancements
24
+ * Maker commands now display with nice colors and icons for their progress status when tty-logger gem is installed ([#1660])
25
+ * PDFMaker: added `\RequirePackage{plautopatch}` definition to class files ([#1644])
26
+ * MARKDOWNBuilder: supported `@<hd>` ([#1629])
27
+ * Re:VIEW now reports an error when a document file contains invalid escape sequence characters ([#1596], [#1602])
28
+ * an error is raised when there are more than 6 `=` in a heading ([#1591])
29
+
30
+ ## Docs
31
+ * documented the name of the image folder referenced by Makers ([#1626])
32
+
33
+ ## Others
34
+ * EPUBMaker: moved EPUB library from `lib/epubmaker` to `lib/review/epubmaker` and refactored it ([#1575], [#1617], [#1635], [#1640], [#1641], [#1650], [#1653], [#1655])
35
+ * EPUBMaker: added tests ([#1656])
36
+ * PDFMaker: refactored some ([#1664])
37
+ * introduced `ReVIEW::ImgMath` class to handle mathematic images ([#1642], [#1649], [#1659], [#1662])
38
+ * IDGXMLMaker: refactored some ([#1654])
39
+ * MakerHelper: refactored some ([#1652])
40
+ * introduced `ReVIEW::Template.generate` class to handle the templates ([#1648])
41
+ * added a test of TeX compilation to GitHub Actions ([#1643])
42
+ * refactored codes according to Rubocop 1.10 ([#1593], [#1598], [#1613], [#1636], [#1647], [#1669])
43
+ * fixed duplicate IDs of syntax-book sample ([#1646])
44
+ * refactored the way to reference relative pathes ([#1639])
45
+ * refactored `ReVIEW::LineInput` class ([#1638])
46
+ * update Copyright to 2021 ([#1632])
47
+ * added Ruby 3.0 to the test platform ([#1622])
48
+ * suppressed tests for Pygments ([#1610], [#1618])
49
+ * WebTocPrinter: fixed an error of test ([#1606])
50
+ * improved to make it easier to specify the target of the test ([#1594])
51
+
52
+ [#1671]: https://github.com/kmuto/review/issues/1671
53
+ [#1670]: https://github.com/kmuto/review/pull/1670
54
+ [#1669]: https://github.com/kmuto/review/pull/1669
55
+ [#1666]: https://github.com/kmuto/review/issues/1666
56
+ [#1664]: https://github.com/kmuto/review/pull/1664
57
+ [#1663]: https://github.com/kmuto/review/pull/1663
58
+ [#1662]: https://github.com/kmuto/review/issues/1662
59
+ [#1660]: https://github.com/kmuto/review/issues/1660
60
+ [#1659]: https://github.com/kmuto/review/pull/1659
61
+ [#1658]: https://github.com/kmuto/review/pull/1658
62
+ [#1656]: https://github.com/kmuto/review/pull/1656
63
+ [#1655]: https://github.com/kmuto/review/pull/1655
64
+ [#1654]: https://github.com/kmuto/review/pull/1654
65
+ [#1653]: https://github.com/kmuto/review/pull/1653
66
+ [#1652]: https://github.com/kmuto/review/pull/1652
67
+ [#1650]: https://github.com/kmuto/review/pull/1650
68
+ [#1649]: https://github.com/kmuto/review/pull/1649
69
+ [#1648]: https://github.com/kmuto/review/pull/1648
70
+ [#1647]: https://github.com/kmuto/review/pull/1647
71
+ [#1646]: https://github.com/kmuto/review/pull/1646
72
+ [#1644]: https://github.com/kmuto/review/issues/1644
73
+ [#1643]: https://github.com/kmuto/review/pull/1643
74
+ [#1642]: https://github.com/kmuto/review/pull/1642
75
+ [#1641]: https://github.com/kmuto/review/pull/1641
76
+ [#1640]: https://github.com/kmuto/review/pull/1640
77
+ [#1639]: https://github.com/kmuto/review/pull/1639
78
+ [#1638]: https://github.com/kmuto/review/pull/1638
79
+ [#1637]: https://github.com/kmuto/review/pull/1637
80
+ [#1636]: https://github.com/kmuto/review/pull/1636
81
+ [#1635]: https://github.com/kmuto/review/pull/1635
82
+ [#1633]: https://github.com/kmuto/review/issues/1633
83
+ [#1632]: https://github.com/kmuto/review/issues/1632
84
+ [#1630]: https://github.com/kmuto/review/issues/1630
85
+ [#1629]: https://github.com/kmuto/review/pull/1629
86
+ [#1626]: https://github.com/kmuto/review/pull/1626
87
+ [#1623]: https://github.com/kmuto/review/issues/1623
88
+ [#1622]: https://github.com/kmuto/review/pull/1622
89
+ [#1619]: https://github.com/kmuto/review/issues/1619
90
+ [#1618]: https://github.com/kmuto/review/pull/1618
91
+ [#1617]: https://github.com/kmuto/review/pull/1617
92
+ [#1614]: https://github.com/kmuto/review/pull/1614
93
+ [#1613]: https://github.com/kmuto/review/pull/1613
94
+ [#1611]: https://github.com/kmuto/review/issues/1611
95
+ [#1610]: https://github.com/kmuto/review/pull/1610
96
+ [#1607]: https://github.com/kmuto/review/issues/1607
97
+ [#1606]: https://github.com/kmuto/review/issues/1606
98
+ [#1605]: https://github.com/kmuto/review/issues/1605
99
+ [#1604]: https://github.com/kmuto/review/issues/1604
100
+ [#1602]: https://github.com/kmuto/review/pull/1602
101
+ [#1598]: https://github.com/kmuto/review/pull/1598
102
+ [#1596]: https://github.com/kmuto/review/issues/1596
103
+ [#1594]: https://github.com/kmuto/review/pull/1594
104
+ [#1593]: https://github.com/kmuto/review/pull/1593
105
+ [#1591]: https://github.com/kmuto/review/issues/1591
106
+ [#1587]: https://github.com/kmuto/review/issues/1587
107
+ [#1575]: https://github.com/kmuto/review/issues/1575
108
+
109
+ # Version 5.0.0
110
+ ## New Features
111
+ * 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])
112
+ * 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])
113
+ * added single commands `//beginchild` and `//endchild` for nesting itemized/enumerate/description list. **EXPERIMENTAL FEATURE** ([#1497])
114
+
115
+ ## Breaking Changes
116
+ * In review-jlreq.cls, hiddenfolio is now implemented by jlreqtrimmarkssetup. It is slightly different from the previous version in position and display ([#1397])
117
+ * 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])
118
+
119
+ ## Bug Fixes
120
+ * PDFMaker: fixed a problem with multiple same-named image files with different extensions that would cause them to be misaligned ([#1483])
121
+ * PDFMaker: fixed a problem that cuased an error when the author name (`aut`) was empty ([#1517])
122
+ * 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])
123
+ * PDFMaker: fixed a problem with characters to be TeX-escaped in the `bookttilename` and `aut` parameters causing incorrect PDF metainformation ([#1533])
124
+ * WebMaker: fixed to avoid nil in HTML template ([#1545])
125
+ * PDFMaker: fixed a problem when hiding chapter numbers ([#1559])
126
+ * MarkdownBuilder: paragraphs in minicolumn should be separated with a blank line instead of a newline ([#1572])
127
+
128
+ ## Enhancements
129
+ * fix warning message to output more detailed information of item ([#1523])
130
+ * PDFMaker: make `@<hd>` op a hyperlink (when `media=ebook`) ([#1530])
131
+ * use `cgi/escape` first and `cgi/util` as fallback. remove orignal implementation in `ReVIEW::HTMLUtils.escape()` ([#1536])
132
+ * suppress warning with same `@<icon>` ([#1541])
133
+ * fix an error handling when a badly encoded file is received ([#1544])
134
+ * introduce IndexBuilder. IndexBuilder first scans the entire project files and provides indexes for each builder ([#1384], [#1552])
135
+ * IDs and labels containing below characters or space characters are now warned ([#1393], [#1574])
136
+ ```
137
+ #%\{}[]~/$'"|*?&<>`
138
+ ```
139
+
140
+ ## Docs
141
+ * fix a typo in format.ja.md and format.md ([#1528])
142
+ * fix incorrect example in makeindex.ja.md ([#1584])
143
+
144
+ ## Others
145
+ * refactor code with Rubocop 0.92.0 ([#1511], [#1569], [#1573])
146
+ * rename `@strategy` to `@builder` in `Re:VIEW::Compiler` ([#1520])
147
+ * refactor code with Rubocop-performance 1.7.1 ([#1521])
148
+ * update Gemfile in syntax-book ([#1522])
149
+ * calling GhostScript in ImageMagick has been deprecated, so the test has been removed ([#1526])
150
+ * unnecessary stderr output on some test units has been suppressed ([#1538])
151
+ * add `BookUnit` class instead of `Compilable` module, the super class of `Chapter` and `Part` ([#1543])
152
+ * `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])
153
+ * added `ReVIEW::Configure.create` ([#1549])
154
+ * WebMaker: removed unused `clean_mathdir` ([#1550])
155
+ * add `Base#parse_catalog_file()` and use it in `ReVIEW::Book::Base.new()`. `Base#catalog` is just getter now ([#1551])
156
+ * use `File.write` when it can be used ([#1560])
157
+ * remove `Builder#builder_init()` ([#1564])
158
+
159
+ ## Contributors
160
+ * [@snoozer05](https://github.com/snoozer05)
161
+
162
+ [#1384]: https://github.com/kmuto/review/pull/1384
163
+ [#1393]: https://github.com/kmuto/review/issues/1393
164
+ [#1397]: https://github.com/kmuto/review/issues/1397
165
+ [#1483]: https://github.com/kmuto/review/issues/1483
166
+ [#1497]: https://github.com/kmuto/review/pull/1497
167
+ [#1511]: https://github.com/kmuto/review/pull/1511
168
+ [#1517]: https://github.com/kmuto/review/issues/1517
169
+ [#1520]: https://github.com/kmuto/review/pull/1520
170
+ [#1521]: https://github.com/kmuto/review/pull/1521
171
+ [#1522]: https://github.com/kmuto/review/pull/1522
172
+ [#1523]: https://github.com/kmuto/review/pull/1523
173
+ [#1526]: https://github.com/kmuto/review/pull/1526
174
+ [#1527]: https://github.com/kmuto/review/pull/1527
175
+ [#1528]: https://github.com/kmuto/review/pull/1528
176
+ [#1529]: https://github.com/kmuto/review/issues/1529
177
+ [#1530]: https://github.com/kmuto/review/issues/1530
178
+ [#1533]: https://github.com/kmuto/review/issues/1533
179
+ [#1534]: https://github.com/kmuto/review/issues/1534
180
+ [#1536]: https://github.com/kmuto/review/pull/1536
181
+ [#1538]: https://github.com/kmuto/review/pull/1538
182
+ [#1541]: https://github.com/kmuto/review/pull/1541
183
+ [#1543]: https://github.com/kmuto/review/pull/1543
184
+ [#1544]: https://github.com/kmuto/review/issues/1544
185
+ [#1545]: https://github.com/kmuto/review/issues/1545
186
+ [#1548]: https://github.com/kmuto/review/pull/1548
187
+ [#1549]: https://github.com/kmuto/review/pull/1549
188
+ [#1550]: https://github.com/kmuto/review/pull/1550
189
+ [#1551]: https://github.com/kmuto/review/pull/1551
190
+ [#1552]: https://github.com/kmuto/review/pull/1552
191
+ [#1558]: https://github.com/kmuto/review/pull/1558
192
+ [#1559]: https://github.com/kmuto/review/issues/1559
193
+ [#1560]: https://github.com/kmuto/review/pull/1560
194
+ [#1562]: https://github.com/kmuto/review/pull/1562
195
+ [#1563]: https://github.com/kmuto/review/pull/1563
196
+ [#1564]: https://github.com/kmuto/review/pull/1564
197
+ [#1569]: https://github.com/kmuto/review/pull/1569
198
+ [#1572]: https://github.com/kmuto/review/pull/1572
199
+ [#1573]: https://github.com/kmuto/review/pull/1573
200
+ [#1574]: https://github.com/kmuto/review/issues/1574
201
+ [#1584]: https://github.com/kmuto/review/pull/1584
202
+
203
+ # Version 4.2.0
204
+ ## New Features
205
+ * 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])
206
+
207
+ ## Breaking Changes
208
+ * 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])
209
+ * 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])
210
+
211
+ ## Bug Fixes
212
+ * remove duplicated `@non_parsed_commands` declaration ([#1499])
213
+ * mathematical images not being created in WebMaker and TextMaker has been fixed ([#1501])
214
+
215
+ ## Enhancements
216
+ * improve a performance of building math figures on imgmath ([#1488])
217
+ * 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])
2
218
 
219
+ ## Others
220
+ * GitHub Actions: use `ruby/setup-ruby` instead of `eregon/use-ruby-action` ([#1490])
221
+ * skip artifacts in the sample folder during testing ([#1504])
222
+
223
+ [#1320]: https://github.com/kmuto/review/issues/1320
224
+ [#1485]: https://github.com/kmuto/review/issues/1485
225
+ [#1488]: https://github.com/kmuto/review/issues/1488
226
+ [#1490]: https://github.com/kmuto/review/pull/1490
227
+ [#1499]: https://github.com/kmuto/review/issues/1499
228
+ [#1501]: https://github.com/kmuto/review/pull/1501
229
+ [#1504]: https://github.com/kmuto/review/pull/1504
230
+ [#1505]: https://github.com/kmuto/review/issues/1505
231
+
232
+ # Version 4.1.0
3
233
  ## New Features
234
+ * 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])
235
+ * PDFMaker, EPUBMaker, WEBMaker, TEXTMaker, IDGXMLMaker: add `-y` (`--only`) option to specify the files to convert instead of all files ([#1428])
236
+ * add `--without-config-comment` option to review-init command to exclude comments from config.yml ([#1453])
237
+ * 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])
238
+
239
+ ## Breaking Changes
240
+ * PDFMaker: `image_scale2width` parameter has been moved under `pdfmaker` section ([#1462])
241
+
242
+ ## Bug Fixes
243
+ * PDFMaker: fix backward compatibility error with Re:VIEW 3 ([#1414])
244
+ * PDFMaker: fix an error when compiling review-jlreq with LuaLaTeX ([#1416])
245
+ * PDFMaker: fix index not being included in the table of contents ([#1418])
246
+ * RSTBuilder: fix conversion failure due to incorrect method argument handling ([#1426])
247
+ * IDGXMLBuilder: there was an error in the warning handling for the table ([#1427])
248
+ * IDGXMLMaker: there was an error in the processing when an error occurred in the filter program ([#1429])
249
+ * PDFMaker: fix a build failure when using inline operators such as `@<code>` or `@<tt>` for heading with `media=ebook` mode ([#1432], [#1465])
250
+ * PDFMaker: raise just warning instead of error, when MeCab isn't installed ([#1445])
251
+ * IDGXMLBuilder: fix `//imgtable` to work correctly ([#1448])
252
+ * PDFMaker: fix an error when makeindex is true but no index is registered ([#1467])
253
+ * PDFMaker: fix missing footnotes in a description list ([#1476])
254
+ * review-index: fix an error when `@<w>` exists in headlines ([#1484])
255
+
256
+ ## Enhancements
257
+ * PDFMaker: add version to .cls/.sty files ([#1163])
258
+ * update Dockerfile ([#1412])
259
+ * IDGXMLMaker: show the contents of stderr from the filter program ([#1443])
260
+ * add *-idgxml folder entry to .gitignore ([#1448])
261
+ * `//source` can now omit options in all builders ([#1447])
262
+ * add Ruby 2.7 to the test targets ([#1468])
263
+ * allow a setting of multiple word\_file ([#1469])
264
+ * EPUBMaker: warn when there is no heading in .re file ([#1474])
265
+
266
+ ## Docs
267
+ * add the description about `contact` and `colophon_order` to `config.yml.sample` ([#1425])
268
+ * update quickstart.ja.md and quickstart.md to Re:VIEW 4 ([#1442])
269
+ * update syntax-book sample document ([#1448], [#1449])
270
+ * update README.md ([#1455], [#1458])
271
+ * update format.ja.md and format.md. add the description about `::` notation which sets builder-specific options to images ([#1421])
272
+
273
+ ## Others
274
+ * refactor codes with Rubocop 0.78.0 ([#1424], [#1430])
275
+ * run PDF build test more strictly when there is LaTeX runtime environment ([#1433])
276
+ * switch the build test suite from Travis CI to GitHub Actions ([#1431], [#1436], [#1437])
277
+ * IDGXMLBuilder: refactor code list methods ([#1438], [#1439])
278
+ * remove unnecessary review-ext.rb from syntax-book ([#1446])
279
+ * add tests for IDGXMLMaker and TextMaker ([#1448])
280
+ * refactor around Index ([#1456], [#1457], [#1459])
281
+ * update jsclasses to version 2020/02/02 ([#1478])
282
+
283
+ ## Contributors
284
+ * [@turky](https://github.com/turky)
285
+
286
+ [#1163]: https://github.com/kmuto/review/issues/1163
287
+ [#1412]: https://github.com/kmuto/review/pull/1412
288
+ [#1414]: https://github.com/kmuto/review/issues/1414
289
+ [#1416]: https://github.com/kmuto/review/issues/1416
290
+ [#1418]: https://github.com/kmuto/review/issues/1418
291
+ [#1420]: https://github.com/kmuto/review/issues/1420
292
+ [#1421]: https://github.com/kmuto/review/issues/1421
293
+ [#1424]: https://github.com/kmuto/review/pull/1424
294
+ [#1425]: https://github.com/kmuto/review/pull/1425
295
+ [#1426]: https://github.com/kmuto/review/pull/1426
296
+ [#1427]: https://github.com/kmuto/review/pull/1427
297
+ [#1428]: https://github.com/kmuto/review/pull/1428
298
+ [#1429]: https://github.com/kmuto/review/pull/1429
299
+ [#1430]: https://github.com/kmuto/review/pull/1430
300
+ [#1431]: https://github.com/kmuto/review/pull/1431
301
+ [#1432]: https://github.com/kmuto/review/issues/1432
302
+ [#1433]: https://github.com/kmuto/review/pull/1433
303
+ [#1436]: https://github.com/kmuto/review/pull/1436
304
+ [#1437]: https://github.com/kmuto/review/issues/1437
305
+ [#1438]: https://github.com/kmuto/review/pull/1438
306
+ [#1439]: https://github.com/kmuto/review/pull/1439
307
+ [#1442]: https://github.com/kmuto/review/issues/1442
308
+ [#1443]: https://github.com/kmuto/review/pull/1443
309
+ [#1445]: https://github.com/kmuto/review/pull/1445
310
+ [#1446]: https://github.com/kmuto/review/pull/1446
311
+ [#1447]: https://github.com/kmuto/review/issues/1447
312
+ [#1448]: https://github.com/kmuto/review/pull/1448
313
+ [#1449]: https://github.com/kmuto/review/pull/1449
314
+ [#1453]: https://github.com/kmuto/review/pull/1453
315
+ [#1455]: https://github.com/kmuto/review/pull/1455
316
+ [#1456]: https://github.com/kmuto/review/pull/1456
317
+ [#1457]: https://github.com/kmuto/review/pull/1457
318
+ [#1458]: https://github.com/kmuto/review/pull/1458
319
+ [#1459]: https://github.com/kmuto/review/pull/1459
320
+ [#1461]: https://github.com/kmuto/review/issues/1461
321
+ [#1462]: https://github.com/kmuto/review/issues/1462
322
+ [#1465]: https://github.com/kmuto/review/pull/1465
323
+ [#1466]: https://github.com/kmuto/review/pull/1466
324
+ [#1467]: https://github.com/kmuto/review/pull/1467
325
+ [#1468]: https://github.com/kmuto/review/pull/1468
326
+ [#1469]: https://github.com/kmuto/review/issues/1469
327
+ [#1474]: https://github.com/kmuto/review/issues/1474
328
+ [#1476]: https://github.com/kmuto/review/issues/1476
329
+ [#1478]: https://github.com/kmuto/review/issues/1478
330
+ [#1484]: https://github.com/kmuto/review/pull/1484
331
+
332
+ # Version 4.0.0
333
+ ## New Features
334
+ * introduce review-idgxmlmaker which generates IDGXML files at once ([#1337])
335
+ * review-textmaker converts the math in the document to image files when `imgmath` parameter has `true` ([#1338])
336
+ * 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])
337
+ * 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]
338
+
339
+ ## Breaking Changes
340
+ * review-init no longer creates empty `layouts` folder ([#1340])
341
+ * PDFMaker: fix a problem that white space characters disappeared in `@<code>`, `@<tt>`, `@<tti>`, and `@<ttb>`. Also the string is automatically wrapped ([#1348])
342
+ * `//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])
343
+ * PDFMaker: change the default table placement from `htp` to `H` for use in columns (`\floatplacement{table}` value in review-style.sty) [#1385]
344
+ * PDFMaker: the space between Japanese/Western characters in the code lists is changed to 0 from 1/4 character ([#1401])
345
+ * 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])
346
+
347
+ ## Bug Fixes
348
+ * fix a typo in review-jlreq ([#1350])
349
+ * fix incorrect result when `re` file uses CR for line-feed code ([#1341])
350
+ * PDFMaker: fix foreground color of `//cmd` with review-jlreq after page breaking ([#1363])
351
+ * PDFMaker: fix duplicate 'column' label for `@<column>` ([#1367])
352
+ * PDFMaker: copy gentombow.sty and jsbook.cls only for review-jsbook ([#1381])
353
+ * PDFMaker: fix invalid PDFDocumentInformation on review-jlreq with LuaLaTeX ([#1392])
354
+ * PDFMaker: fix missing hiddenfolio information at even pages on review-jlreq ([#1395])
355
+
356
+ ## Enhancements
357
+ * support `@<em>` and `@<strong>` in IDGXMLBuilder ([#1353])
358
+ * PDFMaker: extract `code_line` and `code_line_num` from code blocks for ease handling each line ([#1368])
359
+ * PDFMaker: add new compile option `-halt-on-error` to make it easier to find the problem when an error occurs ([#1378])
360
+ * 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])
361
+ * Logger: progname should be add in logger, not in message arguments ([#1388])
362
+ * improve error checking for yaml files ([#1386])
363
+ * PDFMaker: the cover page becomes even number (p.0) and is named "cover" ([#1402])
364
+ * PDFMaker: refactor `generate_pdf` method ([#1404])
365
+ * create `.gitignore` for new project ([#1407])
366
+
367
+ ## Docs
368
+ * update sample-book/README.md ([#1354])
369
+ * add descriptions about options of jsbook.cls to review-jsbook/README.md ([#1365])
370
+
371
+ ## Others
372
+ * unify styles of a method with arguments ([#1360])
373
+ * `Catalog#{chaps,parts,predef,postdef,appendix}` should return Array, not String ([#1372])
374
+ * use `safe_load` for loading YAML ([#1375])
375
+ * refactor `table` method to simplify each builder ([#1356])
376
+ * refactor `XXX_header` and `XXX_body` ([#1359])
377
+ * enable `Builder#highlight?` method on each builder ([#1373])
378
+ * refactor mkdchap* and mkpart* ([#1383])
379
+ * don't update rubygems in Travis CI ([#1389])
380
+ * refactor around Index ([#1390])
381
+ * add configration for review-jlreq to sample documents ([#1391])
382
+ * definition list should start with spaces ([#1398])
383
+
384
+ ## Contributors
385
+ * [@m-shibata](https://github.com/m-shibata)
386
+ * [@masarakki](https://github.com/masarakki)
387
+
388
+ [#1337]: https://github.com/kmuto/review/issues/1337
389
+ [#1338]: https://github.com/kmuto/review/issues/1338
390
+ [#1340]: https://github.com/kmuto/review/issues/1340
391
+ [#1341]: https://github.com/kmuto/review/issues/1341
392
+ [#1348]: https://github.com/kmuto/review/issues/1348
393
+ [#1350]: https://github.com/kmuto/review/issues/1350
394
+ [#1353]: https://github.com/kmuto/review/pull/1353
395
+ [#1354]: https://github.com/kmuto/review/pull/1354
396
+ [#1356]: https://github.com/kmuto/review/pull/1356
397
+ [#1359]: https://github.com/kmuto/review/pull/1359
398
+ [#1360]: https://github.com/kmuto/review/pull/1360
399
+ [#1362]: https://github.com/kmuto/review/pull/1362
400
+ [#1363]: https://github.com/kmuto/review/issues/1363
401
+ [#1365]: https://github.com/kmuto/review/pull/1365
402
+ [#1367]: https://github.com/kmuto/review/issues/1367
403
+ [#1368]: https://github.com/kmuto/review/issues/1368
404
+ [#1371]: https://github.com/kmuto/review/pull/1371
405
+ [#1372]: https://github.com/kmuto/review/pull/1372
406
+ [#1373]: https://github.com/kmuto/review/pull/1373
407
+ [#1374]: https://github.com/kmuto/review/pull/1374
408
+ [#1375]: https://github.com/kmuto/review/pull/1375
409
+ [#1378]: https://github.com/kmuto/review/pull/1378
410
+ [#1379]: https://github.com/kmuto/review/issues/1379
411
+ [#1381]: https://github.com/kmuto/review/issues/1381
412
+ [#1383]: https://github.com/kmuto/review/issues/1383
413
+ [#1385]: https://github.com/kmuto/review/issues/1385
414
+ [#1386]: https://github.com/kmuto/review/pull/1386
415
+ [#1388]: https://github.com/kmuto/review/pull/1388
416
+ [#1389]: https://github.com/kmuto/review/pull/1389
417
+ [#1390]: https://github.com/kmuto/review/pull/1390
418
+ [#1391]: https://github.com/kmuto/review/pull/1391
419
+ [#1392]: https://github.com/kmuto/review/issues/1392
420
+ [#1395]: https://github.com/kmuto/review/issues/1395
421
+ [#1398]: https://github.com/kmuto/review/issues/1398
422
+ [#1401]: https://github.com/kmuto/review/pull/1401
423
+ [#1402]: https://github.com/kmuto/review/pull/1402
424
+ [#1403]: https://github.com/kmuto/review/pull/1403
425
+ [#1404]: https://github.com/kmuto/review/pull/1404
426
+ [#1405]: https://github.com/kmuto/review/pull/1405
427
+ [#1407]: https://github.com/kmuto/review/pull/1407
428
+
429
+ # Version 3.2.0
430
+
4
431
  ## Breaking Changes
5
432
  * PDFMaker: changed to use the abstract name `\reviewincludegraphics` instead of `\includegraphics` for image placements (such as `//image`) ([#1318])
6
433
 
@@ -526,7 +953,7 @@
526
953
 
527
954
  ## Enhancements
528
955
 
529
- * allow block `{ //}` in `//indepimage`. ([#802])
956
+ * allow block `{ ... //}` in `//indepimage`. ([#802])
530
957
  * warn when images are not found in `//indepimage`([#803])
531
958
  * LATEXBuilder: allow caption in `//source` ([#834])
532
959
 
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Re:VIEW
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/review.svg)](http://badge.fury.io/rb/review)
4
- [![Build Status](https://secure.travis-ci.org/kmuto/review.svg)](http://travis-ci.org/kmuto/review)
4
+ [![Build Status](https://github.com/kmuto/review/workflows/Test/badge.svg)](https://github.com/kmuto/review/actions)
5
5
  [![Build status](https://ci.appveyor.com/api/projects/status/github/kmuto/review?svg=true)](https://ci.appveyor.com/project/kmuto/review)
6
6
 
7
7
  Re:VIEW is an easy-to-use digital publishing system for paper books and ebooks.
@@ -22,15 +22,17 @@ Re:VIEW uses its original format('Re:VIEW format') as source files. See doc/for
22
22
 
23
23
  ## Commands
24
24
 
25
- There are two commands generate files directly.
25
+ There are commands generate files directly.
26
26
 
27
27
  * review-epubmaker: generate EPUB file.
28
28
  * review-pdfmaker: generate PDF file using LaTeX (TeXLive).
29
29
  * review-textmaker: generate text files.
30
30
  * review-webmaker: generate Web pages.
31
+ * review-idgxmlmaker: generate InDesign XML files.
31
32
 
32
33
  And some useful commands.
33
34
 
35
+ * review-init: create a project.
34
36
  * review-compile: compile Re:VIEW format files.
35
37
  * review-vol: figure out size of Re:VIEW files.
36
38
  * review-index: generate index with various format.
@@ -60,10 +62,12 @@ $ echo "export PATH=PATH_OF_REVIEW/bin:$PATH" >> ~/.profile
60
62
  $ review-init hello
61
63
  $ cd hello
62
64
  $ (... add and edit *.re file, config.yml and catalog.yml ...)
63
- $ rake epub ## generating EPUB
64
- $ rake pdf ## generating PDF (Requirement TeXLive)
65
- $ rake text ## generating texts
66
- $ rake web ## generating Web pages
65
+ $ rake epub ## generating EPUB
66
+ $ rake pdf ## generating PDF (Requirement TeXLive)
67
+ $ rake text ## generating texts
68
+ $ rake web ## generating Web pages
69
+ $ rake idgxml ## generating InDesign XML files
70
+ $ rake vivliostyle ## generating PDF using Vivliostyle-CLI (Requirement Vivliostyle-CLI)
67
71
  ```
68
72
 
69
73
  For further information, see [doc/quickstart.md](https://github.com/kmuto/review/blob/master/doc/quickstart.md)
@@ -112,4 +116,4 @@ Exception:
112
116
 
113
117
  ## Copyright
114
118
 
115
- Copyright (c) 2006-2019 Minero Aoki, Kenshi Muto, Masayoshi Takahashi, Masanori Kado.
119
+ Copyright (c) 2006-2021 Minero Aoki, Kenshi Muto, Masayoshi Takahashi, Masanori Kado.