latex2pdf


This is a short little shell script which executes the right commands to generate and display a PDF from a latex file. I, personally, named it 'pdf' and just placed it in my ~/bin/ directory. The code for this can be found below:

#!/bin/sh pdflatex $1 bibtex $1 pdflatex $1 pdflatex $1 rm \"$1.aux\" rm \"$1.bbl\" rm \"$1.blg\" rm \"$1.log\" rm \"$1.toc\" xpdf \"$1.pdf\" &

Posted: February 22nd, 2004 · Tags: cli, shell, latex

1 Comment (Show Comments)



Comments are closed.
Comments are automatically turned off two weeks after the original post. If you have a question concerning the content of this post, please feel free to contact me.


Current Projects

jQuery JavaScript Library

jQuery

Comprehensive DOM, Event, Animation, and Ajax JavaScript Library.

Recent Projects

Pro JavaScript Techniques

JavaScript Book

The best techniques for professional JavaScript. Published by Apress.


Hosting provided by the cool dudes at Engine Yard.