review 3.0.0.preview3 → 3.0.0.preview4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/NEWS.ja.md +26 -0
  3. data/NEWS.md +26 -0
  4. data/bin/review +2 -0
  5. data/bin/review-update +19 -0
  6. data/doc/format.ja.md +11 -0
  7. data/doc/format.md +11 -1
  8. data/doc/format_idg.ja.md +2 -4
  9. data/lib/review/book/chapter.rb +1 -0
  10. data/lib/review/book/compilable.rb +9 -0
  11. data/lib/review/book/index.rb +7 -1
  12. data/lib/review/builder.rb +29 -3
  13. data/lib/review/compiler.rb +2 -1
  14. data/lib/review/htmlbuilder.rb +40 -28
  15. data/lib/review/i18n.rb +8 -0
  16. data/lib/review/i18n.yml +22 -1
  17. data/lib/review/idgxmlbuilder.rb +42 -36
  18. data/lib/review/init.rb +2 -2
  19. data/lib/review/latexbuilder.rb +27 -1
  20. data/lib/review/makerhelper.rb +2 -1
  21. data/lib/review/plaintextbuilder.rb +27 -41
  22. data/lib/review/rstbuilder.rb +9 -1
  23. data/lib/review/topbuilder.rb +9 -1
  24. data/lib/review/update.rb +527 -0
  25. data/lib/review/version.rb +1 -1
  26. data/review.gemspec +1 -1
  27. data/samples/sample-book/README.md +1 -1
  28. data/samples/sample-book/src/Rakefile +2 -112
  29. data/samples/sample-book/src/config.yml +3 -1
  30. data/samples/sample-book/src/lib/tasks/review.rake +113 -0
  31. data/samples/sample-book/src/lib/tasks/z01_copy_sty.rake +17 -0
  32. data/samples/sample-book/src/sty/reviewmacro.sty +15 -1
  33. data/samples/syntax-book/Rakefile +2 -87
  34. data/samples/syntax-book/ch02.re +6 -1
  35. data/samples/syntax-book/config.yml +7 -4
  36. data/samples/syntax-book/images/cover-b5.ai +5735 -15
  37. data/samples/syntax-book/lib/tasks/review.rake +113 -0
  38. data/samples/syntax-book/lib/tasks/z01_copy_sty.rake +17 -0
  39. data/samples/syntax-book/sty/reviewmacro.sty +11 -35
  40. data/templates/latex/config.erb +1 -0
  41. data/templates/latex/review-jlreq/review-base.sty +4 -0
  42. data/templates/latex/review-jlreq/review-jlreq.cls +56 -2
  43. data/templates/latex/review-jlreq/review-style.sty +0 -6
  44. data/templates/latex/review-jsbook/review-base.sty +5 -0
  45. data/test/assets/test_template.tex +2 -1
  46. data/test/assets/test_template_backmatter.tex +2 -1
  47. data/test/test_htmlbuilder.rb +39 -1
  48. data/test/test_idgxmlbuilder.rb +24 -0
  49. data/test/test_latexbuilder.rb +39 -0
  50. data/test/test_pdfmaker_cmd.rb +1 -1
  51. data/test/test_plaintextbuilder.rb +19 -0
  52. data/test/test_topbuilder.rb +21 -0
  53. data/test/test_update.rb +450 -0
  54. metadata +12 -2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: review
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.preview3
4
+ version: 3.0.0.preview4
5
5
  platform: ruby
6
6
  authors:
7
7
  - kmuto
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-10-16 00:00:00.000000000 Z
12
+ date: 2018-10-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: image_size
@@ -139,6 +139,7 @@ executables:
139
139
  - review-pdfmaker
140
140
  - review-preproc
141
141
  - review-textmaker
142
+ - review-update
142
143
  - review-validate
143
144
  - review-vol
144
145
  - review-webmaker
@@ -169,6 +170,7 @@ files:
169
170
  - bin/review-pdfmaker
170
171
  - bin/review-preproc
171
172
  - bin/review-textmaker
173
+ - bin/review-update
172
174
  - bin/review-validate
173
175
  - bin/review-vol
174
176
  - bin/review-webmaker
@@ -268,6 +270,7 @@ files:
268
270
  - lib/review/tocparser.rb
269
271
  - lib/review/tocprinter.rb
270
272
  - lib/review/topbuilder.rb
273
+ - lib/review/update.rb
271
274
  - lib/review/version.rb
272
275
  - lib/review/webmaker.rb
273
276
  - lib/review/webtocprinter.rb
@@ -286,6 +289,8 @@ files:
286
289
  - samples/sample-book/src/images/cover-a5.ai
287
290
  - samples/sample-book/src/images/cover-b5.ai
288
291
  - samples/sample-book/src/images/cover.jpg
292
+ - samples/sample-book/src/lib/tasks/review.rake
293
+ - samples/sample-book/src/lib/tasks/z01_copy_sty.rake
289
294
  - samples/sample-book/src/preface.re
290
295
  - samples/sample-book/src/sty/jumoline.sty
291
296
  - samples/sample-book/src/sty/reviewmacro.sty
@@ -301,6 +306,7 @@ files:
301
306
  - samples/syntax-book/ch03.re
302
307
  - samples/syntax-book/config.yml
303
308
  - samples/syntax-book/images/ball.png
309
+ - samples/syntax-book/images/cover-b5.ai
304
310
  - samples/syntax-book/images/cover.jpg
305
311
  - samples/syntax-book/images/fractal.png
306
312
  - samples/syntax-book/images/img3-1.png
@@ -309,6 +315,8 @@ files:
309
315
  - samples/syntax-book/images/logic2.png
310
316
  - samples/syntax-book/images/puzzle.jpg
311
317
  - samples/syntax-book/images/table.jpg
318
+ - samples/syntax-book/lib/tasks/review.rake
319
+ - samples/syntax-book/lib/tasks/z01_copy_sty.rake
312
320
  - samples/syntax-book/part2.re
313
321
  - samples/syntax-book/pre01.re
314
322
  - samples/syntax-book/review-ext.rb
@@ -393,6 +401,7 @@ files:
393
401
  - test/test_textutils.rb
394
402
  - test/test_tocparser.rb
395
403
  - test/test_topbuilder.rb
404
+ - test/test_update.rb
396
405
  - test/test_webtocprinter.rb
397
406
  - test/test_yamlloader.rb
398
407
  - test/test_zip_exporter.rb
@@ -513,6 +522,7 @@ test_files:
513
522
  - test/test_textutils.rb
514
523
  - test/test_tocparser.rb
515
524
  - test/test_topbuilder.rb
525
+ - test/test_update.rb
516
526
  - test/test_webtocprinter.rb
517
527
  - test/test_yamlloader.rb
518
528
  - test/test_zip_exporter.rb