Inline a compiled bibliography (.bbl) in place of a bibliography
        environment. The document is modified in place.

def inline_bbl(self):
        """Inline a compiled bibliography (.bbl) in place of a bibliography
        environment. The document is modified in place.
        """
        bbl_path = os.path.splitext(self._filepath)[0] + ".bbl"
        try:
            with codecs.open(bbl_path, 'r', encoding='utf-8') as f:
                bbl_text = f.read()
        except IOError:
            print("Cannot open bibliography {0}".format(bbl_path))
        self.text = texutils.inline_bbl(self.text, bbl_text)