Graphics, Figures & TablesImage Inclusion with PDFLaTeX fails after Update

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
berrin
Posts: 1
Joined: Mon Oct 31, 2011 10:59 am

Image Inclusion with PDFLaTeX fails after Update

Post by berrin »

Hi,

I have searched for the answer but did not find it anywhere and I don't know that much about Latex (besides liking it and using it without mastering it).
I hope this is the right place and format.

I have some lecture notes that I could generate PDF from successfully before, but they started to not work after software updates related to MiKTeX and TeXnicCenter. Now I get figure inclusion problems. For instance when I use PDFLaTeX to build the PDF file, for the below latex code, I get the attached log.

Thanks very much in advance.

Code: Select all

\documentclass[landscape]{article}
\usepackage{epsf}
\usepackage{graphicx}
\usepackage[dvips]{color}
\usepackage{./aima2e-slides}
\begin{document}

\begin{huge}
\titleslide{Beyond Classical Search}{AIMA V3 Chapter 4}

%%%%%%%%%%%% Slide %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\heading{Problem types}

Deterministic, accessible/fully observable

%%%%%%%%%%%% PROBLEM HERE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\heading{Example: vacuum world}

\epsfxsize=0.4\textwidth
\epsffile{\file{figures}{vacuum2-space.ps}}

\end{huge}
\end{document}
Attachments
test.log
The corresponding log file.
(6.11 KiB) Downloaded 229 times
Last edited by localghost on Mon Oct 31, 2011 11:43 am, edited 1 time in total.

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Image Inclusion with PDFLaTeX fails after Update

Post by localghost »

Drop the »dvips« option for the color package. Those driver options aren't needed anymore thus can be deleted without substitution. Furthermore PDFLaTeX doesn't accept PS graphics files. Convert them to PDF or compile via »LaTeX → DVI → PS → PDF«.

And by the way, the epsf package is obsolete and replaced by the graphicx package.

And next time please prepare a proper minimal example. No person other than yourself has this »aima2e-slides« package present. Hence your example is not compilable.


Best regards and welcome to the board
Thorsten
Post Reply