parameters: (self)
docstring: Parse the *.aux* files to find bibfiles to process.
  		If yes, execute :py:meth:`waflib.Tools.tex.tex.bibtex_fun`
docstring_summary: Parse the *.aux* files to find bibfiles to process.
  		If yes, execute :py:meth:`waflib.Tools.tex.tex.bibtex_fun`
docstring_tokens: Parse the * . aux * files to find bibfiles to process . If yes execute : py : meth : waflib . Tools . tex . tex . bibtex_fun
function: def bibfile(self):
  		"""
  		Parse the *.aux* files to find bibfiles to process.
  		If yes, execute :py:meth:`waflib.Tools.tex.tex.bibtex_fun`
  		"""
  		for aux_node in self.aux_nodes:
  			try:
  				ct = aux_node.read()
  			except (OSError, IOError):
  				Logs.error('Error reading %s: %r' % aux_node.abspath())
  				continue
  
  			if g_bibtex_re.findall(ct):
  				Logs.warn('calling bibtex')
  
  				self.env.env = {}
  				self.env.env.update(os.environ)
  				self.env.env.update({'BIBINPUTS': self.TEXINPUTS, 'BSTINPUTS': self.TEXINPUTS})
  				self.env.SRCFILE = aux_node.name[:-4]
  				self.check_status('error when calling bibtex', self.bibtex_fun())
function_tokens: def bibfile ( self ) : for aux_node in self . aux_nodes : try : ct = aux_node . read ( ) except ( OSError , IOError ) : Logs . error ( 'Error reading %s: %r' % aux_node . abspath ( ) ) continue if g_bibtex_re . findall ( ct ) : Logs . warn ( 'calling bibtex' ) self . env . env = { } self . env . env . update ( os . environ ) self . env . env . update ( { 'BIBINPUTS' : self . TEXINPUTS , 'BSTINPUTS' : self . TEXINPUTS } ) self . env . SRCFILE = aux_node . name [ : - 4 ] self . check_status ( 'error when calling bibtex' , self . bibtex_fun ( ) )