GeneralProblems with EPS figures

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
jb373
Posts: 1
Joined: Fri Apr 30, 2010 5:18 am

Problems with EPS figures

Post by jb373 »

I am trying to use an eps file I created from a jpeg file via Inkspace. I am getting this error when I run "latex":
(./db.eps
! Missing $ inserted.
<inserted text>
$
l.10 /cairo_
eps_state save def
The area of my tex file this references is below:

Code: Select all

\begin{figure}[htp]
%\includegraphics[scale=0.8]{Diagram1}
\input{db.eps}
\caption{Scheme of the database}
\label{fig:db}
\end{figure}
I have attached the eps file with a txt extension (Had to do that to get it to upload). Does anyone have any suggestions?


Edit by localghost: EPS file zipped and uploaded again.
Attachments
db.eps.zip
(97.55 KiB) Downloaded 106 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Problems with EPS figures

Post by josephwright »

Don't \input graphics. That uses the eps files as TeX input. Instead, use \includegraphics

Code: Select all

\documentclass{article}
\usepackage{graphicx}
\begin{document}
\begin{figure}[htp]
  \includegraphics{db}
  \caption{Scheme of the database}
  \label{fig:db}
\end{figure}
\end{document}
Joseph Wright
Post Reply