GeneralTrouble with graphicx package

General information and discussion about TeXnicCenter
Post Reply
geezer
Posts: 2
Joined: Tue Mar 15, 2011 11:39 am

Trouble with graphicx package

Post by geezer »

Hello,
I started working with LaTeX and I've encountered no major problems until I tried to use the package graphicx. Here is a short example to show you what I mean:

Code: Select all

\documentclass{article}
\usepackage[ngerman]{babel}
\usepackage[latin1]{inputenc}
\usepackage{graphicx}
\begin{document}
hurra
\end{document}
When I compile it, there is no error message, but it doesn't create a pdf File either (same happens when I write \usepackage[pdftex]{graphicx}). So when I try to view it with my Acrobat Reader, there always is an error message. The odd thing is that if I slightly change my previous code (e.g. remove the line with graphicx)

Code: Select all

\documentclass{article}
\usepackage[ngerman]{babel}
\usepackage[latin1]{inputenc}
%\usepackage{graphicx}
\begin{document}
hurra

\end{document}
the whole thing suddenly works. Does anyone know what's going on here and how I can solve this problem?
Thanks in advance :D
Last edited by geezer on Tue Mar 15, 2011 3:17 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.

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Re: Trouble with graphicx package

Post by meho_r »

I cannot reproduce the problem. Please, run latex on your document with graphicx enabled and post here the content of the .log file.
geezer
Posts: 2
Joined: Tue Mar 15, 2011 11:39 am

Re: Trouble with graphicx package

Post by geezer »

Hi meho_r
thanks a lot for your time, I tried to run the file with TexWorks instead of Texnic Center and the programm told me the package was missing and automatically installed it. Since Texnic Center never told me that, I didn't know which packages were missing (I only installed the Basic Version, so I guess graphicx was not included). So my problem is solved now :)
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Trouble with graphicx package

Post by localghost »

This is a well known problem with TXC1 RC1 and MiKTeX [1]. Another solution could be to try TXC2 alpha 3 if you want to stay with TeXnicCenter.

[1] MiKTeX 2.9 Issues


Thorsten
Post Reply