Class: ReVIEW::Configure

Inherits:
Object show all
Defined in:
lib/review/configure.rb

Class Method Summary collapse

Class Method Details

.valuesObject



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# File 'lib/review/configure.rb', line 4

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