code: def inline_bbl(self):
          
          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)
docs: Inline a compiled bibliography (.bbl) in place of a bibliography
          environment. The document is modified in place.