MiKTeX and proTeXtimage problems with beamer

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
User avatar
mappo
Posts: 25
Joined: Thu Nov 29, 2007 11:19 am

image problems with beamer

Post by mappo »

I recently added Beamer to my MikTeX setup and there are some issues:

1.
Everytime I compile there's this warning:

Code: Select all

Package pgf Warning: This package is obsolete and no longer needed on input line 13.
Of course I tried updating my packages, but according to the
package updater, none are available.

2.
Secondly I can't include graphics in any other format other than
.pdf. I understand if pgf only accepts .pdf for \pgfdeclareimage{},
but I was surprised that \includegraphics with an .eps file produced

Code: Select all

! LaTeX Error: Unknown graphics extension: .eps.
Perhaps problem 2 follows from 1 (?)...
Oh, and btw: Line 13 in the pgf warning does not refer to the .tex source, because 13 is blank there.
If you don't recycle, you're throwing it all away.

Recommended reading 2024:

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10322
Joined: Mon Mar 10, 2008 9:44 pm

image problems with beamer

Post by Stefan Kottwitz »

Hi Mappo,
  1. you can ignore this warning. beamer is just using an obsolete package that produces this warning without any problems. You could suppress this warning if you want, by creating a file with the name pgfbaseimage.sty that just contains one line:

    Code: Select all

    \RequirePackage{pgfcore}
    and put it into your texmf home directory or just into the directory of your document.
  2. if you want to use eps graphicx, use latex instead of pdflatex, pdflatex cannot embed eps but pdf, jpg and png files. Or convert from eps to pdf using epstopdf and use it with pdflatex afterwards.
Stefan
LaTeX.org admin
Muble
Posts: 12
Joined: Wed Sep 24, 2008 7:18 pm

Re: image problems with beamer

Post by Muble »

Hi all
I have some problems with Miktex and beamer too. When i latex=>dvi Yap opens and gives me an error message
"page can not be rendered" .

The i tried to latex=>ps. This works but what i get as a result is a file where the slide appears on every page at the
bottom left corner rather than occupying the whole in proper landscape mode.
Does this make any sense to anyone ? Thanks in advance for any help
User avatar
Stefan Kottwitz
Site Admin
Posts: 10322
Joined: Mon Mar 10, 2008 9:44 pm

Re: image problems with beamer

Post by Stefan Kottwitz »

Hi Muble,

welcome to the board!
Do you include eps files in your presentation, or do you use PSTricks? If not, you could use pdflatex instead.

Stefan
LaTeX.org admin
Muble
Posts: 12
Joined: Wed Sep 24, 2008 7:18 pm

Re: image problems with beamer

Post by Muble »

Hi Stefan!
Thanks for the welcoming. I do have eps' s but then I took them out just to see. Still the same result.
latex=> pdf has similar behaviour with DVI " The file can not be found " as an error message
User avatar
Stefan Kottwitz
Site Admin
Posts: 10322
Joined: Mon Mar 10, 2008 9:44 pm

image problems with beamer

Post by Stefan Kottwitz »

Hi Muble,

perhaps post a minimal working example showing the problem, I would test it on my system.

Stefan
LaTeX.org admin
Muble
Posts: 12
Joined: Wed Sep 24, 2008 7:18 pm

Re: image problems with beamer

Post by Muble »

\documentclass[10pt]{beamer}
% Customize slide appearance
\mode<presentation>
{
\usetheme{Warsaw}
\setbeamercovered{transparent}
}
\usepackage{color}
\usepackage{epsfig}
\usepackage[english]{babel}
\usepackage{times}

\title{ Some Slides}
\begin{document}

\begin{frame}
\titlepage
\end{frame}

\begin{frame}
bla bla bla
\end{frame}
\end{document}

This is the most simple i guess... and it doesnt work. Same problem as the one described above
Thanks a lot!
Muble
Posts: 12
Joined: Wed Sep 24, 2008 7:18 pm

Re: image problems with beamer

Post by Muble »

So here is sth that works : I tried from comand prompt to pdflatex the file and it works !!
Same file from Texniccenter gives the me the behaviour above .
Does this make any sense?????????
User avatar
Stefan Kottwitz
Site Admin
Posts: 10322
Joined: Mon Mar 10, 2008 9:44 pm

Re: image problems with beamer

Post by Stefan Kottwitz »

Check the corresponding output profile of TeXnicCenter if pdflatex is used, directly to pdf, not tex->dvi->ps->pdf.

Stefan
LaTeX.org admin
Muble
Posts: 12
Joined: Wed Sep 24, 2008 7:18 pm

Re: image problems with beamer

Post by Muble »

ok now this will probably sound a bit amateur.. Alt+F7 takes me to the output profiles.
For latex=> pdf the default is pdflatex.exe . Is that what you meant ? At the Viewer tab Adope is selected.
In any case, thanks for spending your time with this
Post Reply