'Create empty book.  Arguments:
:param:`encoding`: Default encoding for textual content read
from an external container.
:param:`pretty_print`: Whether or not the canonical string form
of XML markup is pretty-printed.
:param html_preprocessor: A callable that takes a unicode object
and returns a unicode object. Will be called on all html files
before they are parsed.
:param css_preprocessor: A callable that takes a unicode object
and returns a unicode object. Will be called on all CSS files
before they are parsed.
:param:`logger`: A Log object to use for logging all messages
related to the processing of this book.  It is accessible
via the instance data members :attr:`logger,log`.
It provides the following public instance data members for
accessing various parts of the OEB data model:
:attr:`metadata`: Metadata such as title, author name(s), etc.
:attr:`manifest`: Manifest of all files included in the book,
including MIME types and fallback information.
:attr:`spine`: In-order list of manifest items which compose
the textual content of the book.
:attr:`guide`: Collection of references to standard positions
within the text, such as the cover, preface, etc.
:attr:`toc`: Hierarchical table of contents.
:attr:`pages`: List of "pages," such as indexed to a print edition of
the same text.'

def __init__(self, logger, html_preprocessor, css_preprocessor=CSSPreProcessor(), encoding='utf-8', pretty_print=False, input_encoding='utf-8'):

    _css_log_handler.log = logger
    self.encoding = encoding
    self.input_encoding = input_encoding
    self.html_preprocessor = html_preprocessor
    self.css_preprocessor = css_preprocessor
    self.pretty_print = pretty_print
    self.logger = self.log = logger
    self.version = '2.0'
    self.container = NullContainer(self.log)
    self.metadata = Metadata(self)
    self.uid = None
    self.manifest = Manifest(self)
    self.spine = Spine(self)
    self.guide = Guide(self)
    self.toc = TOC()
    self.pages = PageList()
    self.auto_generated_toc = True
    self._temp_files = []
