Use rubber
to convert a source document into a PDF
document:
$ rubber --pdf report
Rubber has a problem with warnings produced by PDFLaTeX, interpreting
them as errors, and thus failing. A simple fix is to edit the file
__init__.py in /usr/share/rubber/rubber/, in the
definition of the errors function, insert the following:
...
for line in self.lines:
if line[0:23] == "! pdfTeX warning (dest)":
print "PDF WARN: " + line[25:],
return 0
if line[0] == "!":
...