LaTeXMuLTiMaKe -------------- LaTeXMuLTiMaKe allows you to automatically create PDF & PS output from the same LaTeX input file. Images are converted from EPS automatically. This may be handy for you if you just want to write documents and include images. The only garuntee is that it works for what I need it to do. Usage ----- Write your latex source file. DON'T \usepackage{graphicx} at all -- this file does it for you. You are, however, free to use any other packages as long as pdflatex and latex can handle them both. To insert an image, just use something like this \begin{figure} \begin{center} \includegraphics{figure} \end{center} \caption{this is a figure} \end{figure} Where "figure" is an EPS file (created with Xfig or similar). This only supports EPS file insertions. Then edit the Makefile as per the comment instructions There are a few targets : all -- make both pdf & ps pdf -- make pdf only ps -- make ps only clean -- get rid of surplus files eg. run "make all" to get your files Images ------ Images is the killer when trying to convert between PS and PDF from the same file. To insert an image using pdflatex we need to make it a pdf file, using plain latex we need an eps file. Converting using ps2pdf gives us really bad bitmapped output, so we really want to use pdflatex. This makefile will automatically convert all EPS files in the directory (and child directories) to PDF for inclusion in your pdf file. It then edits the packages used to reflect whether we are using pdf or ps, and then makes the files. BiBTeX ------ This Makefile peeks into the logs and notices if there are undefined references; it then runs bibtex and re-runs [pdf]latex to make the file properly. Caveats ------- * Without the graphicx includes your file is not independently valid. * PDF files are made from EPS files every time you make a PDF file, even if not required. This may be a bit slow on a slow machine (my poor old 133mhz indy), but there is no way to get make to generate dependencies dynamically. Author ------ Ian Wienand ianw@ieee.org You may do with this what you will