Hi guys,
The packages I am using are as followed:
\usepackage{epsfig}
\usepackage{epstopdf}
\usepackage{graphicx}
\usepackage[dvips]{color}
the line that I have having problem with is:
\begin{center}
\psfig{file=alee_effect.ode.ps ,angle=270,width=8cm}
\end{center}
I have the file alee_effect.ode.ps in the same folder as the tex file. When I run (outputting it in pdf), the area where the graph should be is blank (big gap). It displays no error other than badboxes. But when I run the output in DVI instead of PDF, the graphs shows up in DVI. Can anyone help me please? Thank you!
Much appreciated,
Leon
Graphics, Figures & Tables ⇒ psfig problem
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
psfig problem
The combination of compiler engine and accepted graphics format has been discussed very often on this board. The same applies to conversion tools like epstopdf. So I suggest to search the forum first.
Since you now try to compile with PDFLaTeX, the dvips option for the color package has nothing to do in the code. Delete it without substitution. Note the special hints about shell escape in the epstopdf manual and how to activate it. If necessary, refer to the manual of your LaTeX distribution.
Just a hint beside. The epsfig package is obsolete [1]. Use only graphicx and it's command for graphics inclusion.
[1] View topic: Obsolete packages and document classes — Avoid usage!
Thorsten
Since you now try to compile with PDFLaTeX, the dvips option for the color package has nothing to do in the code. Delete it without substitution. Note the special hints about shell escape in the epstopdf manual and how to activate it. If necessary, refer to the manual of your LaTeX distribution.
Just a hint beside. The epsfig package is obsolete [1]. Use only graphicx and it's command for graphics inclusion.
[1] View topic: Obsolete packages and document classes — Avoid usage!
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1