Go to TogaWare.com Home Page.
GNU/Linux Desktop Survival Guide
by Graham Williams

Processing a LaTeX Document

Use rubber to convert a source LATEX document into a pdf document:

  $ rubber --pdf report

Rubber has, in the past, had problems 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] == "!":

Copyright © 1995-2014 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware.