def _bibtex(self): """Compile bibtex.""" with cd(self.build.path): if subprocess.call([self.BIBTEX, self.build.bib], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) != 0: logging.warning("%s Bibtex failed for %s", self.identifier, self.build.bib)
def _makeindex(self): """Make index.""" with cd(self.build.path): if subprocess.call([self.MAKEINDEX, self.build.idx], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) != 0: logging.warning("%s Makeindex failed for %s", self.identifier, self.build.idx)
def _compile(self): """Compile with pdflatex.""" with cd(self.build.path): if subprocess.call([self.PDFLATEX, '-interaction=nonstopmode', self.build.tex], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) != 0: logging.warning("%s Compilation finished with errors for %s", self.identifier, self.build.tex)
def _compile(self): """Compile with pdflatex.""" with cd(self.build.path): if subprocess.call( [self.PDFLATEX, '-interaction=nonstopmode', self.build.tex], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) != 0: logging.warning("%s Compilation finished with errors for %s", self.identifier, self.build.tex)