MiKTeX and proTeXtMiktex 2.9 Update, graphicx

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
remusmp
Posts: 25
Joined: Sat Oct 17, 2009 8:37 pm

Miktex 2.9 Update, graphicx

Post by remusmp »

Hi,

I have just updated Miktex 2.9 (I installed version 2.9 and then I updated all packages using the Update tool) and I have problems with \includegraphics (might be a graphicx issue). Before the update, this basic code worked perfectly (both with latex and pdflatex):

Code: Select all

\documentclass{article}
\usepackage{graphicx}

\begin{document}
	\includegraphics[width=1cm]{logo}
\end{document}
Notice that I did not specify the extension of the graphic file. After the update, the code is not running anymore due to the fact that it cannot find the file. If I add its extension it will find the file but it is not convenient for me:

Code: Select all

\documentclass{article}
\usepackage{graphicx}

\begin{document}
	\includegraphics[width=1cm]{logo.pdf}
\end{document}
With the above code I get another error which was not there before the update:
Cannot determine size of graphics in logo.pdf (no BoundingBox)...

I find this even more strange when calling pdflatex:
Package graphics Info: Driver file: dvips.def on input line 91.
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\dvips.def"
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
)


Has any of you had these issues? It worked perfectly before and now I get these errors because I updated the packages. Apparently it cannot figure out by its own anymore that I am using pdf and also the sizes of the graphic file.

Thanks.
Remus.
Last edited by remusmp on Fri Nov 26, 2010 12:44 pm, edited 1 time in total.

Recommended reading 2024:

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

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

remusmp
Posts: 25
Joined: Sat Oct 17, 2009 8:37 pm

Miktex 2.9 Update, graphicx

Post by remusmp »

Here is the log file when typesetting with pdflatex and the extension of the graphic file is not specified (the first code block from the previous post):

Code: Select all

This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9) (preloaded format=pdflatex 2010.11.24) 24 NOV 2010 15:12
entering extended mode
**tmp.tex
("D:\Master\LaTeX\Problem13\tmp.tex"
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese,
romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
senglishmax, welsh, loaded.
("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo"
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\graphicx.sty"
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\keyval.sty"
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\graphics.sty"
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\trig.sty"
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
("C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\graphics.cfg"
File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
)
Package graphics Info: Driver file: dvips.def on input line 91.
("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\dvips.def"
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
))
\Gin@req@height=\dimen103
\Gin@req@width=\dimen104
)
("D:\Master\LaTeX\Problem13\tmp.aux")
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
! LaTeX Error: File `logo' not found.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.5 \includegraphics[width=\textwidth]{logo}
I could not locate the file with any of these extensions:
.eps,.ps,.eps.gz,.ps.gz,.eps.Z
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
("D:\Master\LaTeX\Problem13\tmp.aux") )
Here is how much of TeX's memory you used:
516 strings out of 494019
6192 string characters out of 3146443
53162 words of memory out of 3000000
3866 multiletter control sequences out of 15000+200000
3640 words of font info for 14 fonts, out of 3000000 for 9000
714 hyphenation exceptions out of 8191
25i,1n,19p,180b,44s stack positions out of 5000i,500n,10000p,200000b,50000s
No pages of output.
remusmp
Posts: 25
Joined: Sat Oct 17, 2009 8:37 pm

Re: Miktex 2.9 Update, graphicx

Post by remusmp »

FIXED!

I reinstalled Miktex 2.9 and it worked. Something wrong happens when updating stuff.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Miktex 2.9 Update, graphicx

Post by localghost »

Then please mark the topic as solved and not the last post (see Board Rules).


Best regards and welcome to the board
Thorsten
Post Reply