Search code examples
pdflatexdvi-tex

Latex using eps images builds slowly


Working with a latex document with eps images as in the example below...

\documentclass[11pt]{paper}
\usepackage[dvips]{graphicx}
\usepackage{fullpage}
\usepackage{hyperref} 
\usepackage{amsmath} 
\DeclareMathSizes{8}{8}{8}{8}

\author{Matt Miller}
\title{my paper}
\begin{document}

\begin{figure}[!ht]
    \begin{center}
    \includegraphics[width=2in] {Figuer.eps}
    \end{center}
    \caption{Figure\label{fig:myFig}}
\end{figure}
\end{document}

When I got to build my latex document the time it takes to build the document increases with time. Are there any tips or tricks to help speed up this process?

latex paper.tex; dvipdf paper.dvi

Solution

  • How big are the eps files? Latex only needs to know the size of the bounding box, which is at the beginning of the file.

    dvips (not dvipdf) shouldn't take too much time since it just needs to embed the eps into the postscript file.

    dvipdf, on the other hand has to convert the eps into pdf, which is expensive.