bin/review-compile in review-2.1.0 vs bin/review-compile in review-2.2.0
- old
+ new
@@ -51,11 +51,10 @@
opts.banner = "Usage: #{File.basename($0)} [--target=FMT]"
opts.on('--yaml=YAML', 'Read configurations from YAML file.') {|yaml| config["yaml"] = yaml}
opts.on('-c', '--check', 'Check manuscript') { check_only = true }
opts.on('--level=LVL', 'Section level to append number.') {|lvl| config["secnolevel"] = lvl.to_i }
opts.on('--toclevel=LVL', 'Section level to append number.') {|lvl| config["toclevel"] = lvl.to_i }
- opts.on('--nolfinxml', 'Do not insert LF in XML. (idgxml)') { config["nolf"] = true }
opts.on('--structuredxml', 'Produce XML with structured sections. (idgxml)') { config["structuredxml"] = true }
opts.on('--table=WIDTH', 'Default table width. (idgxml)') {|tbl| config["tableopt"] = tbl }
opts.on('--listinfo', 'Append listinfo tag to lists to indicate begin/end. (idgxml)') { config["listinfo"] = true }
opts.on('--chapref="before,middle,after"', 'Chapref decoration. (idgxml)') {|cdec| config["chapref"] = cdec }
opts.on('--chapterlink', 'make chapref hyperlink') { config["chapterlink"] = true }
@@ -71,10 +70,10 @@
v = v.to_i
config["epubversion"] = v if v == 2 || v == 3
end
opts.on('--target=FMT', 'Target format.') {|fmt| target = fmt } unless target
opts.on('--footnotetext',
- 'Use footnotetext and footnotemark instead of footnote (latex)') {
+ 'Use footnotetext and footnotemark instead of footnote (latex)') {
config["footnotetext"] = true
}
opts.on('--draft', 'use draft mode(inline comment)') { config["draft"] = true }
opts.on('--directory=DIR', 'Compile all chapters in DIR.') do |path|
mode = :dir