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 ·

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.


JavaScript Books

Secrets of the JavaScript Ninja

JavaScript Secrets

Secret techniques of top JavaScript programmers.

Pro JavaScript Techniques

Pro JavaScript

The best techniques for professional JavaScript. Published by Apress.

Micro Updates

John Resig Twitter Updates

@jeresig

Infrequent, short, updates and links.

JavaScript Jobs



via Ad Packs

Ukiyo-e: Japanese Woodblock Prints