A toolbox for writing Sweave or other LaTeX-based papers and