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 received my latex document, the time taken to collect the document increases with time. Are there any tips or tricks to help speed up this process?
latex paper.tex; dvipdf paper.dvi
How big are eps files? Latex should know only the size of the bounding box that is at the beginning of the file.
dvips (not dvipdf) should not take too much time, since it just needs to embed eps in the postscript file.
dvipdf, on the other hand, needs to convert eps to pdf, which is expensive.
:
(pdflatex).
,
pdflatex paper.tex
.
EPS PDF pdflatex. :
pdflatex
epstopdf Figuer.eps
Figuer.pdf, pdflatex. dvipdf .
Figuer.pdf
dvipdf
\usepackage[pdftex]{graphicx} % not [dvips]
, :
\includegraphics[width=2in] {Figuer} % but {Figuer.pdf} works too
Figuer.pdf pdflatex Figuer.eps latex. , latex ( , chage \usepackage{graphics}).
Figuer.eps
latex
\usepackage{graphics}
, EPS. , .
JPEG, PNG, TIFF, GIF ( ), , EPS sam2p. sam2p EPS, , .
EPS - , PDF ps2pdf14 ( Ghostscript), EPS pdftops -eps ( xpdf). EPS.
pdftops -eps
[draft] graphix.
Do you use a DVI preview or go directly to pdf? If you go all the way to pdf, you will pay the cost of unencoding and reencoding (I had this problem with visio diagrams). However, if you can generate the PS most of the time or work directly with DVI, the experience will be manageable.
In addition, some packages will create .pdf files for you from numbers that you can then embed (I do this on my mac)