code: def inline_inputs(self):
          
          self.text = texutils.inline(self.text,
                                      os.path.dirname(self._filepath))
          # Remove children
          self._children = {}
docs: Inline all input latex files references by this document. The
          inlining is accomplished recursively. The document is modified
          in place.