Sha256: 5edbedc10caca94cbe902b9db49d100a5e17ba506cf068df4d12532a26efb7e0

Contents?: true

Size: 1.43 KB

Versions: 2

Compression:

Stored size: 1.43 KB

Contents

# -*- coding: utf-8 -*-
module ReVIEW
  class Configure
    def self.values
      { # These parameters can be overridden by YAML file.
        "bookname"=> "example", # it defines epub file name also
        "booktitle" => "ReVIEW EPUBサンプル",
        "title" => "example",
        "aut" => nil, # author
        "prt" => nil, # printer(publisher)
        "asn" => nil, # associated name
        "ant" => nil, # bibliographic antecedent
        "clb" => nil, # Collaborator
        "edt" => nil, # Editor
        "dsr" => nil, # Designer
        "ill" => nil, # Illustrator
        "pht" => nil, # Photographer
        "trl" => nil, # Translator
        "date" => nil, # publishing date
        "rights" => nil, # Copyright messages
        "description" => nil, # Description
        "urnid" => nil, # Identifier (nil makes random uuid)
        "stylesheet" => "stylesheet.css", # stylesheet file
        "coverfile" => nil, # content file of body of cover page
        "mytoc" => nil, # whether make own table of contents or not
        "params" => "", # specify review2html parameters
        "toclevel" => 3, # level of toc
        "secnolevel" => 2, # level of section #
        "posthook" => nil, # command path of post hook
        "epubversion" => 2,
        "titlepage" => true, # Use title page
        "toc" => true, # Use table of contents
        "colophon" => false, # Use colophon
        "debug" => nil, # debug flag
      }
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
review-1.1.0 lib/review/configure.rb
tmtms-review-1.0.0 lib/review/configure.rb