dvips -f -Ppdf file.dvi | ps2pdf - file.pdfYou can also use this conversion if you have the pictures in PS or EPS format, or if your DVI file already includes Postscript pictures incorporated from TeX files. For example, the latter is the case if you had the GNUPLOT-generated files that start with the line
% GNUPLOT: plain TeX with Postscript
zgrep BoundingBox: spectr.eps.gz > spectr.eps.bband make the following latex file:
\documentclass[10pt]{article}
\usepackage{graphicx}
\begin{document}
\begin{figure}
\begin{center}
\includegraphics[height=6cm]{spectr.eps.gz}
\end{center}
\caption{Spectrum.}
\end{figure}
\end{document}
%% This is a file asdf.ini
\documentclass[10pt]{article}
%% We will need to disregard the \documentclass command that will be in your file:
\renewcommand{\documentclass}[2][anything]{}
%% Add all packages you use and all .fd files that latex reads:
\usepackage{latexsym,bm}
\input ulasy.fd
\dump
Create the format file asdf.fmt by running the following:
tex -ini \&latex asdf.ini
<script>document.write('≤')</script><noscript><=</noscript>
Here is an example.
Written by Andrew Comech
The latest version lives at http://www.math.tamu.edu/~comech/tools/hints/