Ejemplo n.º 1
0
 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)
Ejemplo n.º 2
0
 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)
Ejemplo n.º 3
0
 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)
Ejemplo n.º 4
0
 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)
Ejemplo n.º 5
0
 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)
Ejemplo n.º 6
0
 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)