review 2.0.0.beta1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +66 -1
- data/.rubocop_todo.yml +617 -0
- data/.travis.yml +16 -1
- data/ChangeLog +48 -0
- data/Dockerfile +22 -0
- data/Gemfile +0 -1
- data/README.md +97 -0
- data/Rakefile +10 -11
- data/appveyor.yml +9 -0
- data/bin/review +46 -0
- data/bin/review-check +8 -21
- data/bin/review-compile +26 -43
- data/bin/review-index +9 -22
- data/bin/review-init +21 -25
- data/bin/review-preproc +9 -13
- data/bin/review-validate +1 -1
- data/bin/review-vol +3 -17
- data/bin/review-webmaker +15 -0
- data/doc/NEWS.ja.md +534 -0
- data/doc/NEWS.md +538 -0
- data/doc/catalog.ja.md +10 -18
- data/doc/catalog.md +5 -9
- data/doc/config.yml.sample +319 -0
- data/doc/customize_epub.ja.md +42 -0
- data/doc/format.ja.md +320 -288
- data/doc/format.md +277 -170
- data/doc/format_idg.ja.md +82 -175
- data/doc/pdfmaker.ja.md +61 -0
- data/doc/pdfmaker.md +65 -0
- data/doc/quickstart.ja.md +88 -98
- data/doc/quickstart.md +72 -110
- data/doc/sample.css +41 -0
- data/doc/writing_vertical.ja.md +55 -0
- data/doc/writing_vertical.md +5 -0
- data/lib/epubmaker/content.rb +3 -3
- data/lib/epubmaker/epubcommon.rb +173 -145
- data/lib/epubmaker/epubv2.rb +24 -77
- data/lib/epubmaker/epubv3.rb +72 -73
- data/lib/epubmaker/producer.rb +54 -30
- data/lib/lineinput.rb +48 -0
- data/lib/review/book.rb +0 -1
- data/lib/review/book/base.rb +47 -27
- data/lib/review/book/chapter.rb +48 -19
- data/lib/review/book/compilable.rb +10 -14
- data/lib/review/book/index.rb +10 -19
- data/lib/review/book/page_metric.rb +0 -10
- data/lib/review/book/part.rb +17 -3
- data/lib/review/builder.rb +84 -68
- data/lib/review/catalog.rb +5 -1
- data/lib/review/compiler.rb +327 -4657
- data/lib/review/configure.rb +84 -10
- data/lib/review/converter.rb +28 -0
- data/lib/review/epubbuilder.rb +1 -1
- data/lib/review/epubmaker.rb +142 -158
- data/lib/review/ewbbuilder.rb +5 -5
- data/lib/review/exception.rb +1 -1
- data/lib/review/extentions.rb +1 -1
- data/lib/review/extentions/hash.rb +15 -0
- data/lib/review/extentions/string.rb +2 -1
- data/lib/review/htmlbuilder.rb +364 -348
- data/lib/review/htmltoc.rb +44 -0
- data/lib/review/htmlutils.rb +12 -6
- data/lib/review/i18n.rb +78 -6
- data/lib/review/i18n.yml +7 -4
- data/lib/review/idgxmlbuilder.rb +226 -267
- data/lib/review/latexbuilder.rb +281 -274
- data/lib/review/latexutils.rb +56 -49
- data/lib/review/makerhelper.rb +8 -4
- data/lib/review/markdownbuilder.rb +80 -124
- data/lib/review/pdfmaker.rb +197 -138
- data/lib/review/preprocessor.rb +16 -67
- data/lib/review/template.rb +24 -0
- data/lib/review/textbuilder.rb +1 -1
- data/lib/review/textutils.rb +18 -24
- data/lib/review/tocparser.rb +51 -106
- data/lib/review/tocprinter.rb +61 -117
- data/lib/review/topbuilder.rb +119 -126
- data/lib/review/unfold.rb +2 -2
- data/lib/review/version.rb +1 -1
- data/lib/review/webmaker.rb +302 -0
- data/lib/review/webtocprinter.rb +48 -0
- data/lib/review/yamlloader.rb +47 -0
- data/review.gemspec +3 -3
- data/templates/html/layout-html5.html.erb +17 -0
- data/templates/html/layout-xhtml1.html.erb +20 -0
- data/{lib/review → templates/latex}/layout.tex.erb +107 -115
- data/templates/ncx/epubv2.ncx.erb +11 -0
- data/templates/opf/epubv2.opf.erb +21 -0
- data/templates/opf/epubv3.opf.erb +18 -0
- data/templates/web/html/layout-html5.html.erb +56 -0
- data/templates/web/html/layout-xhtml1.html.erb +20 -0
- data/templates/xml/container.xml.erb +6 -0
- data/test/assets/test.xml.erb +3 -0
- data/test/assets/test_template.tex +28 -71
- data/test/assets/test_template_backmatter.tex +1 -9
- data/test/sample-book/src/Rakefile +12 -3
- data/{doc/sample.yml → test/sample-book/src/config-epub2.yml} +92 -147
- data/test/sample-book/src/config.yml +40 -154
- data/test/sample-book/src/style-web.css +45 -0
- data/test/sample-book/src/style.css +23 -1
- data/test/test.re +1 -1
- data/test/test_book.rb +15 -17
- data/test/test_book_chapter.rb +2 -80
- data/test/test_book_part.rb +1 -1
- data/test/test_builder.rb +28 -6
- data/test/test_catalog.rb +17 -0
- data/test/test_compiler.rb +14 -59
- data/test/test_configure.rb +94 -0
- data/test/test_converter.rb +21 -0
- data/test/test_epub3maker.rb +155 -3
- data/test/test_epubmaker.rb +245 -30
- data/test/test_epubmaker_cmd.rb +2 -2
- data/test/test_extentions_hash.rb +60 -0
- data/test/test_helper.rb +4 -47
- data/test/test_htmlbuilder.rb +282 -175
- data/test/test_htmltoc.rb +33 -0
- data/test/test_i18n.rb +134 -70
- data/test/test_idgxmlbuilder.rb +58 -39
- data/test/test_latexbuilder.rb +132 -14
- data/test/test_lineinput.rb +5 -26
- data/test/test_makerhelper.rb +6 -4
- data/test/test_markdownbuilder.rb +23 -5
- data/test/test_pdfmaker.rb +86 -20
- data/test/test_pdfmaker_cmd.rb +1 -3
- data/test/test_review_ext.rb +1 -1
- data/test/test_template.rb +27 -0
- data/test/test_textutils.rb +36 -0
- data/test/test_tocparser.rb +25 -0
- data/test/test_topbuilder.rb +34 -2
- data/test/test_yamlloader.rb +188 -0
- metadata +71 -29
- data/README.rdoc +0 -81
- data/bin/review-epubmaker-legacy +0 -1024
- data/doc/ruby-uuid/README +0 -11
- data/doc/ruby-uuid/README.ja +0 -34
- data/lib/review/compiler/literals_1_8.kpeg +0 -19
- data/lib/review/compiler/literals_1_8.rb +0 -432
- data/lib/review/compiler/literals_1_9.kpeg +0 -22
- data/lib/review/compiler/literals_1_9.rb +0 -435
- data/lib/review/extentions/array.rb +0 -25
- data/lib/review/htmllayout.rb +0 -41
- data/lib/review/inaobuilder.rb +0 -357
- data/lib/review/location.rb +0 -24
- data/lib/review/node.rb +0 -267
- data/lib/review/review.kpeg +0 -724
- data/lib/uuid.rb +0 -312
- data/rubocop-todo.yml +0 -456
- data/test/test_inaobuilder.rb +0 -247
- data/test/test_uuid.rb +0 -157
data/doc/NEWS.md
ADDED
@@ -0,0 +1,538 @@
|
|
1
|
+
# Version 2.0.0
|
2
|
+
|
3
|
+
## New Features
|
4
|
+
* Load `./config.yml` if exists ([#477], [#479])
|
5
|
+
* config.yml: Add `review_version` ([#276], [#539], [#545])
|
6
|
+
* Allow review_version to be nil, which means that I don't care about the version ([#592])
|
7
|
+
* Add experimental vertical orientation writing support ([#563])
|
8
|
+
* Support `[notoc]` and `[nodisp]` in header ([#506], [#555])
|
9
|
+
* Enable `@<column>` and `@<hd>` to refer other's column. ([#333], [#476])
|
10
|
+
* Add command `//imgtable` ([#499])
|
11
|
+
* Allow to use shortcut key of config ([#540])
|
12
|
+
* enable to use `@config["foo"]` instead of `@config["epubmaker"]["foo"]` when using epubmaker
|
13
|
+
* Accept multiple YAML configurations using inherit parameter. ([#511], [#528])
|
14
|
+
* Add formats to i18n ([#520])
|
15
|
+
* Make `rake` run test and rubocop. ([#587])
|
16
|
+
* Add webmaker ([#498])
|
17
|
+
* LATEXBuilder: add option `image_scale2width` ([#543])
|
18
|
+
* PDFMaker: Migrate platex to uplatex ([#541])
|
19
|
+
* EPUBMaker: Support ebpaj format. ([#251], [#429])
|
20
|
+
* EPUBMaker: Add `direction` in default setting ([#508])
|
21
|
+
* EPUBMaker: Allow `pronounciation` of booktitle and author ([#507])
|
22
|
+
* review-preproc: allow monkeypatch in review-preproc ([#494])
|
23
|
+
* HTMLBuilder: Disable hyperlink with `@<href>` with epubmaker/externallink: false in config.yml ([#509], [#544])
|
24
|
+
* EPUBMaker: Add custom prefix and `<meta>` element in OPF ([#513])
|
25
|
+
* PDFMaker: support `history` in config ([#566])
|
26
|
+
|
27
|
+
## Breaking Changes
|
28
|
+
* Update `epubversion` and `htmlversion` ([#542])
|
29
|
+
* Delete backward compatibility of 'param'. ([#594])
|
30
|
+
* config.yml: 'pygments:' is obsoleted. ([#604])
|
31
|
+
* Remove backward compatibility ([#560])
|
32
|
+
* layout.erb -> layout.html.erb
|
33
|
+
* locale.yaml -> locale.yml
|
34
|
+
* PageMetric.a5 -> PageMetric::A5
|
35
|
+
* raise error when using locale.yaml and layout.erb
|
36
|
+
* `prt` is printer(`印刷所`), not publisher(`発行所`). `発行所` is `pbl`. ([#562, #593])
|
37
|
+
* Obsolete `appendix_format` ([#609])
|
38
|
+
* Remove obsolete inaobuilder. (upstream changed their mind to use modified Markdown) ([#573])
|
39
|
+
* Remove obsolete legacy epubmaker
|
40
|
+
* review-compile: Remove `-a/--all` option ([#481])
|
41
|
+
|
42
|
+
## Bug Fixes
|
43
|
+
* Escape html correctly. ([#589], [#591])
|
44
|
+
* review-epubmaker: fix error of not copying all images. ([#224])
|
45
|
+
* Fix several bugs around `[nonum]`. ([#301], [#436], [#506], [#550], [#554], [#555])
|
46
|
+
* IDGXMLBuilder: fix wrong calcuration between pt and mm for table cell width on IDGXML. ([#558])
|
47
|
+
* HTMLBuilder: use `class` instead of `width` for `//image[scale=XXX]` ([#482], [#372]). It fixes on epubcheck test.
|
48
|
+
|
49
|
+
## Refactorings
|
50
|
+
* Support named parameters in EPUBmaker/PDFmaker ([#534])
|
51
|
+
* Add `ReVIEW::YAMLLoader` ([#518])
|
52
|
+
* Remove global variables. ([#240])
|
53
|
+
* Set warning to false in test. ([#597])
|
54
|
+
* Avoid warnings (avoid circular require, unused variable, redefining methods, too many args) ([#599], [#601])
|
55
|
+
* MakerHelper: class -> module ([#582])
|
56
|
+
* review-init: generate config.yml from doc/config.yml.sample. ([#580])
|
57
|
+
* Unify template engine ReVIEW::Template ([#576])
|
58
|
+
* HTMLBuilder: remove HTMLLayout
|
59
|
+
* LATEXBuilder: use instance variable in templates ([#598])
|
60
|
+
* LATEXBuilder: move lib/review/layout.tex.erb to templates/latex/ ([#572])
|
61
|
+
* Update config.yml.sample ([#579])
|
62
|
+
* Remove code for 1.8 and 1.9.3 in test (for Travis) ([#577])
|
63
|
+
* Fix LaTeX templates ([#575])
|
64
|
+
* Use read BOM|utf-8 flag for opening files, instead of string replacing ([#574])
|
65
|
+
* review-preproc: set default_external encoding UTF-8. ([#486])
|
66
|
+
* Fix pdf and epub build_path on debug ([#564], [#556])
|
67
|
+
* Refactor EPUBMaker. ([#533])
|
68
|
+
* Use SecureRandom.uuid instead of ruby-uuid ([#497])
|
69
|
+
* epubmaker, pdfmaker: Use ReVIEW::Converter instead of system() ([#493])
|
70
|
+
* Remove zip command and use PureRuby Zip library ([#487])
|
71
|
+
* review-index: refine TOCParser and TOCPrinter ([#486])
|
72
|
+
* Remove deprecated parameters, change default value of some parameters. ([#547])
|
73
|
+
* sample config.yml should be config.yml.* ([#538])
|
74
|
+
* Add `Hash#deep_merge` ([#523])
|
75
|
+
* LATEXBuilder: use `\reviewunderline` instead of `\Underline` ([#408])
|
76
|
+
* Add `name_of` and `names_of` method into Configure class to take 'name' attribute value. ([#534])
|
77
|
+
* EPUBMaker: reflected colophon_order. ([#460])
|
78
|
+
* TOCPrinter: remove IDGTOCPrinter. ([#486])
|
79
|
+
* Add new methods: Book#catalog=(catalog) and Catalog.new(obj) ([93691d0e2601eeb5715714b4fb92840bb3b3ff8b])
|
80
|
+
* Chapter and Part: do not use lazy loading. ([#491])
|
81
|
+
|
82
|
+
## Docs
|
83
|
+
* README: rdoc -> md ([#610])
|
84
|
+
* Update format.md, quickstart.md
|
85
|
+
* Add note about writing vertical document and PDFMaker
|
86
|
+
* Fix document in EN ([#588])
|
87
|
+
|
88
|
+
## Code contributors
|
89
|
+
* [@arikui1911](https://github.com/arikui1911)
|
90
|
+
|
91
|
+
[#224]: https://github.com/kmuto/review/issues/224
|
92
|
+
[#240]: https://github.com/kmuto/review/issues/240
|
93
|
+
[#251]: https://github.com/kmuto/review/issues/251
|
94
|
+
[#276]: https://github.com/kmuto/review/issues/276
|
95
|
+
[#301]: https://github.com/kmuto/review/issues/301
|
96
|
+
[#333]: https://github.com/kmuto/review/issues/333
|
97
|
+
[#372]: https://github.com/kmuto/review/issues/372
|
98
|
+
[#408]: https://github.com/kmuto/review/issues/408
|
99
|
+
[#429]: https://github.com/kmuto/review/issues/429
|
100
|
+
[#436]: https://github.com/kmuto/review/issues/436
|
101
|
+
[#460]: https://github.com/kmuto/review/issues/460
|
102
|
+
[#476]: https://github.com/kmuto/review/issues/476
|
103
|
+
[#477]: https://github.com/kmuto/review/issues/477
|
104
|
+
[#479]: https://github.com/kmuto/review/issues/479
|
105
|
+
[#481]: https://github.com/kmuto/review/issues/481
|
106
|
+
[#482]: https://github.com/kmuto/review/issues/482
|
107
|
+
[#486]: https://github.com/kmuto/review/issues/486
|
108
|
+
[#487]: https://github.com/kmuto/review/issues/487
|
109
|
+
[#491]: https://github.com/kmuto/review/issues/491
|
110
|
+
[#493]: https://github.com/kmuto/review/issues/493
|
111
|
+
[#494]: https://github.com/kmuto/review/issues/494
|
112
|
+
[#497]: https://github.com/kmuto/review/issues/497
|
113
|
+
[#498]: https://github.com/kmuto/review/issues/498
|
114
|
+
[#499]: https://github.com/kmuto/review/issues/499
|
115
|
+
[#506]: https://github.com/kmuto/review/issues/506
|
116
|
+
[#507]: https://github.com/kmuto/review/issues/507
|
117
|
+
[#508]: https://github.com/kmuto/review/issues/508
|
118
|
+
[#509]: https://github.com/kmuto/review/issues/509
|
119
|
+
[#511]: https://github.com/kmuto/review/issues/511
|
120
|
+
[#513]: https://github.com/kmuto/review/issues/513
|
121
|
+
[#518]: https://github.com/kmuto/review/issues/518
|
122
|
+
[#520]: https://github.com/kmuto/review/issues/520
|
123
|
+
[#523]: https://github.com/kmuto/review/issues/523
|
124
|
+
[#528]: https://github.com/kmuto/review/issues/528
|
125
|
+
[#533]: https://github.com/kmuto/review/issues/533
|
126
|
+
[#534]: https://github.com/kmuto/review/issues/534
|
127
|
+
[#538]: https://github.com/kmuto/review/issues/538
|
128
|
+
[#539]: https://github.com/kmuto/review/issues/539
|
129
|
+
[#540]: https://github.com/kmuto/review/issues/540
|
130
|
+
[#541]: https://github.com/kmuto/review/issues/541
|
131
|
+
[#542]: https://github.com/kmuto/review/issues/542
|
132
|
+
[#543]: https://github.com/kmuto/review/issues/543
|
133
|
+
[#544]: https://github.com/kmuto/review/issues/544
|
134
|
+
[#545]: https://github.com/kmuto/review/issues/545
|
135
|
+
[#547]: https://github.com/kmuto/review/issues/547
|
136
|
+
[#550]: https://github.com/kmuto/review/issues/550
|
137
|
+
[#554]: https://github.com/kmuto/review/issues/554
|
138
|
+
[#555]: https://github.com/kmuto/review/issues/555
|
139
|
+
[#556]: https://github.com/kmuto/review/issues/556
|
140
|
+
[#557]: https://github.com/kmuto/review/issues/557
|
141
|
+
[#558]: https://github.com/kmuto/review/issues/558
|
142
|
+
[#560]: https://github.com/kmuto/review/issues/560
|
143
|
+
[#562]: https://github.com/kmuto/review/issues/562
|
144
|
+
[#563]: https://github.com/kmuto/review/issues/563
|
145
|
+
[#564]: https://github.com/kmuto/review/issues/564
|
146
|
+
[#566]: https://github.com/kmuto/review/issues/566
|
147
|
+
[#572]: https://github.com/kmuto/review/issues/572
|
148
|
+
[#573]: https://github.com/kmuto/review/issues/573
|
149
|
+
[#574]: https://github.com/kmuto/review/issues/574
|
150
|
+
[#575]: https://github.com/kmuto/review/issues/575
|
151
|
+
[#576]: https://github.com/kmuto/review/issues/576
|
152
|
+
[#577]: https://github.com/kmuto/review/issues/577
|
153
|
+
[#579]: https://github.com/kmuto/review/issues/579
|
154
|
+
[#580]: https://github.com/kmuto/review/issues/580
|
155
|
+
[#582]: https://github.com/kmuto/review/issues/582
|
156
|
+
[#587]: https://github.com/kmuto/review/issues/587
|
157
|
+
[#588]: https://github.com/kmuto/review/issues/588
|
158
|
+
[#589]: https://github.com/kmuto/review/issues/589
|
159
|
+
[#591]: https://github.com/kmuto/review/issues/591
|
160
|
+
[#592]: https://github.com/kmuto/review/issues/592
|
161
|
+
[#593]: https://github.com/kmuto/review/issues/593
|
162
|
+
[#594]: https://github.com/kmuto/review/issues/594
|
163
|
+
[#597]: https://github.com/kmuto/review/issues/597
|
164
|
+
[#598]: https://github.com/kmuto/review/issues/598
|
165
|
+
[#599]: https://github.com/kmuto/review/issues/599
|
166
|
+
[#601]: https://github.com/kmuto/review/issues/601
|
167
|
+
[#604]: https://github.com/kmuto/review/issues/604
|
168
|
+
[#609]: https://github.com/kmuto/review/issues/609
|
169
|
+
[#610]: https://github.com/kmuto/review/issues/610
|
170
|
+
[93691d0e2601eeb5715714b4fb92840bb3b3ff8b]: https://github.com/kmuto/review/commit/93691d0e2601eeb5715714b4fb92840bb3b3ff8b
|
171
|
+
[67014a65411e3a3e5e2c57c57e01bee1ad18efc6]: https://github.com/kmuto/review/commit/67014a65411e3a3e5e2c57c57e01bee1ad18efc6
|
172
|
+
|
173
|
+
# Version 1.7.2
|
174
|
+
|
175
|
+
## Bug Fix
|
176
|
+
* Fix latexbuilder to show caption in `//list` without highliting ([#465])
|
177
|
+
* Fix markdownbuilder to use definition list ([#473])
|
178
|
+
|
179
|
+
# Version 1.7.1
|
180
|
+
|
181
|
+
## Bug Fix
|
182
|
+
* Fix latexbuilder to display caption twice in `//listnum` ([#465])
|
183
|
+
* Fix review-init to generate non-valid EPUB3 file with epubcheck 4.0.1 ([#456])
|
184
|
+
|
185
|
+
# Version 1.7.0
|
186
|
+
|
187
|
+
## In general
|
188
|
+
* Set up Rubocop settings and refactor code with the settings
|
189
|
+
* Change the internal encoding to UTF-8 altogether ([#399])
|
190
|
+
* Add a Dockerfile
|
191
|
+
|
192
|
+
## Bug Fix
|
193
|
+
* Fix htmlbuilder to display line numbers with listnum/emlistnum under a syntax highlighting environment ([#449])
|
194
|
+
|
195
|
+
## Builders and Makers
|
196
|
+
|
197
|
+
### epubmaker
|
198
|
+
* Support ``direction`` parameter to set binding direction ([#435])
|
199
|
+
|
200
|
+
## Code contributors
|
201
|
+
* [@snoozer05](https://github.com/snoozer05)
|
202
|
+
|
203
|
+
[#399]: https://github.com/kmuto/review/pull/399
|
204
|
+
[#435]: https://github.com/kmuto/review/pull/435
|
205
|
+
[#449]: https://github.com/kmuto/review/issues/449
|
206
|
+
|
207
|
+
# Version 1.6.0
|
208
|
+
|
209
|
+
## In general
|
210
|
+
* Stop supporting Ruby 1.8.7
|
211
|
+
* Enable to set default language for code highlighting ([#403])
|
212
|
+
* Use I18n in inline ``@<hd>`` chap ([#420])
|
213
|
+
* Support highlighting and lang option in ``//source``
|
214
|
+
|
215
|
+
## Bug Fix
|
216
|
+
* Fix ``@<hd>`` to detect the target header-index in the middle of indexes ([#400])
|
217
|
+
* Fix epubmaker to escape pathname includes whitespace ([#398])
|
218
|
+
* Fix ``Builder#get_chap`` to return formatted appendix name correctly ([#405])
|
219
|
+
* Fix missing listing name when using syntax highlighting ([#418])
|
220
|
+
* Fix i18n to merge settings correctly ([#423])
|
221
|
+
* Fix epubmaker to match coverimage strictly ([#417])
|
222
|
+
* Fix htmlversion when epubversion == 3 ([#433])
|
223
|
+
|
224
|
+
## Commands
|
225
|
+
|
226
|
+
### review-init
|
227
|
+
* Add option to create locale.yml ([#425])
|
228
|
+
|
229
|
+
## Builders and Makers
|
230
|
+
|
231
|
+
### htmlbuilder
|
232
|
+
* Markup section number by span ([#415])
|
233
|
+
|
234
|
+
### latexbuilder
|
235
|
+
* Support ``config["conver"]``
|
236
|
+
|
237
|
+
### pdfmaker
|
238
|
+
* Support file insertion (same as EPUBMaker)
|
239
|
+
|
240
|
+
### epubmaker
|
241
|
+
* Add ``toc`` property to config.yml ([#413])
|
242
|
+
|
243
|
+
## Code contributors
|
244
|
+
* [@keiji](https://github.com/keiji)
|
245
|
+
* [@orangain](https://github.com/orangain)
|
246
|
+
* [@akinomurasame](https://github.com/akinomurasame)
|
247
|
+
* [@krororo](https://github.com/krororo)
|
248
|
+
* [@masarakki](https://github.com/masarakki)
|
249
|
+
|
250
|
+
[#398]: https://github.com/kmuto/review/issues/398
|
251
|
+
[#400]: https://github.com/kmuto/review/issues/400
|
252
|
+
[#405]: https://github.com/kmuto/review/issues/405
|
253
|
+
[#403]: https://github.com/kmuto/review/issues/403
|
254
|
+
[#413]: https://github.com/kmuto/review/issues/413
|
255
|
+
[#415]: https://github.com/kmuto/review/issues/415
|
256
|
+
[#417]: https://github.com/kmuto/review/issues/417
|
257
|
+
[#418]: https://github.com/kmuto/review/issues/418
|
258
|
+
[#420]: https://github.com/kmuto/review/issues/420
|
259
|
+
[#423]: https://github.com/kmuto/review/issues/423
|
260
|
+
[#425]: https://github.com/kmuto/review/issues/425
|
261
|
+
[#433]: https://github.com/kmuto/review/issues/433
|
262
|
+
|
263
|
+
|
264
|
+
# version 1.5.0
|
265
|
+
## Notice
|
266
|
+
To support language parameter for syntax highlighting, if you use review-ext.rb to extend code block markup such as ``//list`` and ``//emlist``, you should fix it (if you don't use review-ext.rb, you don't have to do anything).
|
267
|
+
|
268
|
+
## In general
|
269
|
+
* Add default properties in config.yml
|
270
|
+
* Fix appendix format with ``@<hd>``.
|
271
|
+
* Fix index error in shallow column.
|
272
|
+
* Add more items in i18n.yml.
|
273
|
+
* Obsolete ``ReVIEW::Book::Base.load_default``.
|
274
|
+
* Add ``@<imgref>`` notation.
|
275
|
+
* Add pdf, epub and cleanup tasks to sample Rakefile.
|
276
|
+
* Change all formats of documents from RDoc to Markdown.
|
277
|
+
* Add "Re:VIEW Quick Start Guide (EN)".
|
278
|
+
* Enable ``@<hd>`` to identify the target, has unique id, without ``|``.
|
279
|
+
* Add an argument lang to list related notations when highlighting.
|
280
|
+
* Add "Re:VIEW Format Guide (EN)".
|
281
|
+
* Add ``highlight`` property in config.yml as setting of highlight.
|
282
|
+
|
283
|
+
## Commands
|
284
|
+
### review-epubmaker
|
285
|
+
* Support ``toc`` in config.yml
|
286
|
+
|
287
|
+
### review-init
|
288
|
+
* Add ``--force`` option to generate files even if directory is existed.
|
289
|
+
|
290
|
+
### review-vol
|
291
|
+
* Add ``--yaml`` option.
|
292
|
+
|
293
|
+
## Builders and Makers
|
294
|
+
### markdownbuilder
|
295
|
+
* Implement ``list_header()`` and ``list_body()``.
|
296
|
+
|
297
|
+
### htmlbuilder
|
298
|
+
* Fix MathML error in ``HTMLBuilder#texequation``.
|
299
|
+
|
300
|
+
### idgxmlbuilder
|
301
|
+
* Stop providing a index for ``@<ttb>``.
|
302
|
+
|
303
|
+
### latexbuilder
|
304
|
+
* Fix ``@<table>`` to refer the table on another chapter.
|
305
|
+
* Support syntax highlighting with listings.
|
306
|
+
|
307
|
+
### pdfmaker
|
308
|
+
* Raise errors if no LaTeX tools are installed.
|
309
|
+
* Support ``toctitle`` in config.yml.
|
310
|
+
* Remove a PDF file if already exists.
|
311
|
+
* Add parameters ``dvicommand`` and ``dvioptions`` in config.yml.
|
312
|
+
* Add parameters ``texoptions`` in config.yml.
|
313
|
+
* Load ``sty/*.fd`` and ``sty/*.cls``
|
314
|
+
* Provide hooks before/after TeX compiling.
|
315
|
+
* remove dependency on sed command
|
316
|
+
* raise errors and stop building when LaTeX command failed
|
317
|
+
|
318
|
+
### epubmaker
|
319
|
+
* Improve to support of MathML.
|
320
|
+
* Make dummy ``<li>`` item hidden in nav file.
|
321
|
+
* Introduce structured YAML tree for config.yml.
|
322
|
+
* Use ``ReVIEW::I18n`` instead of ``EPUBMaker::Resource``
|
323
|
+
|
324
|
+
## Code contributors
|
325
|
+
* akinomurasame
|
326
|
+
* gfx
|
327
|
+
* krororo
|
328
|
+
* orangain
|
329
|
+
|
330
|
+
# version 1.4.0
|
331
|
+
|
332
|
+
## In general
|
333
|
+
* Normalize ID in bib notation.
|
334
|
+
* Fix compatibility between POSTDEF file and POSTDEF section in catalog.yml.
|
335
|
+
* Add APPENDIX section into catalog.yml.
|
336
|
+
* Remove implicit settings of prefaces, appendix and postscripts.
|
337
|
+
* Refactor code and test cases.
|
338
|
+
* Add Installation, Resources and Links on README.rdoc
|
339
|
+
|
340
|
+
## Commands
|
341
|
+
|
342
|
+
### review-epubmaker
|
343
|
+
* Keep 1st stage temporary directory when debug is true.
|
344
|
+
* Support cover_linear option.
|
345
|
+
|
346
|
+
### review-catalog-converter
|
347
|
+
* Add new command which converts traditional catalog files into catalog.yml.
|
348
|
+
|
349
|
+
## Builders and Makers
|
350
|
+
|
351
|
+
### markdownbuilder
|
352
|
+
* Improve compatibility with GitHub Flavored Markdown.
|
353
|
+
* Add blank line before/after headline.
|
354
|
+
* Support tt notation.
|
355
|
+
* Support footnote notation.
|
356
|
+
* Add indepimate notation.
|
357
|
+
* Display nondisplayed image caption.
|
358
|
+
|
359
|
+
### htmlbuilder
|
360
|
+
* Provide warning message if image couldn't be found.
|
361
|
+
* Change layout file name from 'layout.erb' to 'layout.html.erb'.
|
362
|
+
* Compile caption of emlist/emlistnum/cmd notation.
|
363
|
+
* Compile title notation.
|
364
|
+
|
365
|
+
### idgxmlbuilder
|
366
|
+
* Provide warning message if image couldn't be found.
|
367
|
+
|
368
|
+
### latexbuilder
|
369
|
+
* Change layout file name from 'review.tex.erb' to 'layout.tex.erb'.
|
370
|
+
* add 'contact' for colophon in config.yml.
|
371
|
+
* add 'pbl'(publisher) for colohpon in config.yml. You can use both 'prt' and 'pbl'.
|
372
|
+
|
373
|
+
### pdfmaker
|
374
|
+
* Support locale file.
|
375
|
+
* Add colophon_order option.
|
376
|
+
|
377
|
+
### epubmaker
|
378
|
+
* Add epub:type='cover' attribute in cover file when it is EPUB3.
|
379
|
+
* Escape special HTML characters to entities in toc view.
|
380
|
+
|
381
|
+
## Code contributors
|
382
|
+
* suzuki
|
383
|
+
* vvakame
|
384
|
+
* eiel
|
385
|
+
|
386
|
+
|
387
|
+
|
388
|
+
# version 1.3.0
|
389
|
+
|
390
|
+
## In general
|
391
|
+
* Introduce a new catalog file `catalog.yml`.
|
392
|
+
* Support `@<column>{}` to refer to the column.
|
393
|
+
* Enable `@<chapref>{}` to refert to the part.
|
394
|
+
* Add safe mode as an environment variable 'REVIEW_SAFE_MODE'.
|
395
|
+
* Force *.re files to put on the same directory of the catalog files.
|
396
|
+
* Discontinue feature of setting with config.rb.
|
397
|
+
* Discontinue feature of loading lib/review/* files in the document directory.
|
398
|
+
* Introduce config `appendix_format` (arabic, roman, or alpha) to set an appendix heading style.
|
399
|
+
|
400
|
+
## Commands
|
401
|
+
* Force to use review-compile with the same version.
|
402
|
+
* Add `--version` to display the version.
|
403
|
+
|
404
|
+
### review-compile
|
405
|
+
* Add `--catalogfile` to set a catalog file.
|
406
|
+
|
407
|
+
### review-pdfmaker
|
408
|
+
* Remove tmpdir for build.
|
409
|
+
* Exit when any errors occur.
|
410
|
+
* Add `--ignore-errors` to proceed even when any errors occur.
|
411
|
+
* Generate ebb/bb files of image files in the image directory.
|
412
|
+
* Add `--[no-]debug` to override `debug` in the config.yml.
|
413
|
+
|
414
|
+
### review-init
|
415
|
+
* Generate consistent CSS filenames.
|
416
|
+
|
417
|
+
### review-epubmaker
|
418
|
+
* Rename review-empumaker to review-empumaker-legacy, then rename review-empumaker-ng to review-empumaker.
|
419
|
+
* Add `verify_target_images` and `force_include_images` configs which are related to including images in the EPUB file.
|
420
|
+
|
421
|
+
## Builders
|
422
|
+
### htmlbuilder
|
423
|
+
* Add a reverse link from the footnote to the body.
|
424
|
+
* Escape hyphens in the HTML comment tags.
|
425
|
+
* Normalize 'id' attributes.
|
426
|
+
* Enable to refer to the section titles from a layout file (`toc`).
|
427
|
+
* Enable to refer to the prev/next section from a layout file (`prev_chapter`, `next_chapter`).
|
428
|
+
|
429
|
+
### latexbuilder
|
430
|
+
* Add columns in the TOC.
|
431
|
+
* Change a image file extension as PDF in the graph notation.
|
432
|
+
|
433
|
+
## Code contributors
|
434
|
+
* kazutomi
|
435
|
+
* dmiyakawa
|
436
|
+
* zunda
|
437
|
+
|
438
|
+
|
439
|
+
|
440
|
+
# version 1.2.0
|
441
|
+
|
442
|
+
## In general
|
443
|
+
|
444
|
+
* 'ReVIEW' has been renamed to 'Re:VIEW'
|
445
|
+
* Improve the image file finder.
|
446
|
+
|
447
|
+
## Commands
|
448
|
+
|
449
|
+
### review-epubmaker-ng / review-epubmaker
|
450
|
+
|
451
|
+
* Support font embedding
|
452
|
+
* Support MathML in EPUB3
|
453
|
+
* Add prefix 'rv-' to ID
|
454
|
+
* Add pht(Photographer / 撮影者) and csl(Consultant / 監修者)
|
455
|
+
* Strip HTML element in chapter items of TOC (review-epubmaker)
|
456
|
+
|
457
|
+
### review-pdfmaker
|
458
|
+
|
459
|
+
* Add "texcommand" in config.yml to support LuaLaTeX or other latex command
|
460
|
+
|
461
|
+
### review-init
|
462
|
+
|
463
|
+
* Fix error installed by gem
|
464
|
+
|
465
|
+
## Builders
|
466
|
+
|
467
|
+
### HTMLBuilder
|
468
|
+
|
469
|
+
* Use pygments higlighting only if "pygments: true" is defined.
|
470
|
+
* Support epub:type="noteref" and epub:type="footnote" in EPUB3
|
471
|
+
|
472
|
+
### LATEXBuilder
|
473
|
+
|
474
|
+
* Add newline after //bibpaper
|
475
|
+
|
476
|
+
### MARKDOWNBuilder
|
477
|
+
|
478
|
+
* Support ``@<em>{}`` (same as ``@<i>``) and ``@<strong>{}`` (same as ``@<b>``)
|
479
|
+
|
480
|
+
|
481
|
+
|
482
|
+
# version 1.1
|
483
|
+
|
484
|
+
## in general
|
485
|
+
|
486
|
+
* add markdownbuilder
|
487
|
+
* add inaobuilder
|
488
|
+
* use bundler instead of jeweler
|
489
|
+
* add review-init command
|
490
|
+
* preserve MIME and JIS X 0201 kana during a preprocess
|
491
|
+
* fix many escape bugs (enable escape ``\[`` in ``[...]``, etc.)
|
492
|
+
* many other bugfixs
|
493
|
+
|
494
|
+
## review-compile
|
495
|
+
|
496
|
+
* add --structuredxml option(idgxml)
|
497
|
+
* add --toclevel option
|
498
|
+
* add --tabwidth option
|
499
|
+
* add --output-file option
|
500
|
+
|
501
|
+
## review-epubmaker and review-pdfmaker
|
502
|
+
|
503
|
+
* support ``foo.re`` filename in PART file
|
504
|
+
* rename tempolary dir name (bookname + "-pdf" and bookname + "-epub")
|
505
|
+
|
506
|
+
## review-epubmaker
|
507
|
+
|
508
|
+
* support epubversion and htmlversion option in YAML configuration file (EPUB3 support is experimental)
|
509
|
+
* support cover_linear option in YAML file
|
510
|
+
|
511
|
+
## review-pdfmaker
|
512
|
+
|
513
|
+
* separate tex template file from source code (see review.tex.erb)
|
514
|
+
* support layouts like HTMLbuilder
|
515
|
+
|
516
|
+
## review-compile
|
517
|
+
|
518
|
+
* add command ``//centering``
|
519
|
+
* add command ``//olnum``
|
520
|
+
* change # of arguments of ``//comment`` (1 -> 0..1)
|
521
|
+
* change # of arguments of ``//source`` (1 -> 0..1)
|
522
|
+
|
523
|
+
## htmlbuilder
|
524
|
+
* use ``<code>`` instead of ``<tt>`` in HTML5
|
525
|
+
* support ``@<bou>`` (you should use CSS3)
|
526
|
+
* support highlight with pygments
|
527
|
+
* strip ReVIEW tag in ``<title>``
|
528
|
+
|
529
|
+
## latexbuilder
|
530
|
+
* add some macro for ReVIEW(``\reviewindepimagecaption``, ``\reviewth``, ``\reviewem`` and ``\reviewstrong``).
|
531
|
+
* add argument of macro ``\reviewbibref``, ``\\reviewtableref`` and ``\reviewimageref`` to make link
|
532
|
+
* add ``\usepackage{amsmath}`` in default template.
|
533
|
+
* support ``//box``
|
534
|
+
* support ``@<ami>``
|
535
|
+
* add headline level 5 and 6 (paragraph, subparagraph)
|
536
|
+
* escape all dash
|
537
|
+
* add ``begin{alltt}..\end{alltt}`` into ``\reviewemlist``, ``\reviewlist`` and ``\reviewcmd``
|
538
|
+
|