Ruby LaTeX to PDF preprocessor (and Rails plugin)