Generaloutput .pdf/.dvi problem

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
fenimor_cooper
Posts: 4
Joined: Sat Jan 05, 2008 12:55 pm

output .pdf/.dvi problem

Post by fenimor_cooper »

Hello,
i've got the following issue: the inserted .eps figure is seen only in .ps output file. It is not seen in .pdf neither in .dvi. In these two formats I see only the caption and the blank space reserved for the figure. Any suggestions? I need to see it .pdf :cry: Thanks for your help! Below is what exactly I typed in the .tex file.
------------------------------
\documentclass{kapmono}
\usepackage{m-times}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage[dvips]{graphicx}
...
\begin{document}
...
\begin{figure}[!h]
%[htbp]
\centering
\includegraphics[width=15cm, height=10cm]{Figure1.eps}
\caption{On this figure: ... channel 5.}
\end{figure}
...
\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
balfonsi
Posts: 93
Joined: Wed Mar 14, 2007 12:05 am

Re: output .pdf/.dvi problem

Post by balfonsi »

Convert your eps to pdf with eps2pdf... Btw, you don't have to specify the extension: with pdfoutput=1, the compiler will choose figure1.pdf, and with pdfoutput=0, it will choose figure1.eps. Also, you don't have to give the width or height of your figure, if the bounding box is correct, unless you want to do some special trick.

B.A.
Post Reply