Super Nerdy Cool

My (technical) adventures through the professional world…
May 14, 2009

rubber – latex’ing multiple times to get the final product

Rubber is a Python script that assists with the compilation of LaTeX documents. It is useful when you use bibtex for bibliographies because multiple latex and bibtex commands are needed to be executed for the document to be generated. With rubber, I can issue a single command and the necessary commands will be executed automatically:

<pre class="src src-sh">rubber -d myfile.tex <span style="color: #ff4500;">## </span><span style="color: #ff4500;">-d or --pdf for pdflatex</span>

If you are making a pdf file, it will convert all eps files into pdf.

The next thing to do is to get rubber working with AucTeX and ESS/Sweave. Check out the later posts on this thread.

Leave a Comment