Graphics, Figures & Tablesgraphicx | PDF Output not updated

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Goeroen
Posts: 3
Joined: Sat Nov 19, 2011 5:30 pm

graphicx | PDF Output not updated

Post by Goeroen »

Hi everyone, I looked on the forums but I didn't see anyone with a similar problem..

I want to use a couple of .png pictures in a LaTeX file, but whenever I try to use the graphicx package, LaTeX simply won't update my pdf file.

Simple example:
If I create the following simple code:

Code: Select all

\documentclass{article}
\begin{document}
Hello there!
\end{document}
I would get a pdf file you would expect. If I now take the document I already have, and use the graphicx package and wish to further update my document, doesn't even have to be with a picture, I would get:

Code: Select all

\documentclass{article}
\usepackage[pdftex]{graphicx}
\begin{document}
Hello there!\\
How are you?
\end{document}
I would still get the pdf only showing "Hello there!", it simply doesn't get updated anymore. If I remove the command \usepackage[pdftex]{graphicx} or any command that uses \usepackage{graphicx} for that matter, doesn't even have to be [pdftex] it will continue to run as it should and it's nice a tidy, but this problem has been keeping me annoyed for quite a while now, because I simply can't use any pictures in any of my LaTeX documents...

Hope I was clear enough, if I haven't provided enough info, feel free to ask whatever you need to know.

I hope you guys can help me out, because I really like LaTeX and I like using it, this particular thing just pisses me off..
Last edited by Goeroen on Tue Nov 22, 2011 11:02 pm, 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

graphicx | PDF Output not updated

Post by localghost »

Let me guess. You are using MiKTeX in the basic version with TeXnicCenter 1 RC1. Then you probably face a well known issue [1]. Try the given remedy or another editor like TeXworks which is shipped with MiKTeX.

[1] MiKTeX 2.9 Issues


Best regards and welcome to the board
Thorsten
Goeroen
Posts: 3
Joined: Sat Nov 19, 2011 5:30 pm

Re: graphicx | PDF Output not updated

Post by Goeroen »

Ok, well, they tell me to install both a Ruby and a Perl language interpreter... I'm quite bad when it comes to computers and understanding their inner workings, so tbh I have no idea how I should do that.. Like which program to look for/install/where to install/how... Could you try to explain how/what I should do?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

graphicx | PDF Output not updated

Post by localghost »

The relevant information for you is in the section "TeXnicCenter Compatibility". Or do you use ConTeXt? I don't think so. But it cant' do any harm to have Perl installed [1]. The Ruby script language can be useful, too [2]. But for you I think this concerns only rare cases.
[…] I'm quite bad when it comes to computers and understanding their inner workings, so tbh I have no idea how I should do that.. Like which program to look for/install/where to install/how. […]
Actually we are not here to teach you how to handle your operating system. Refer to a knowledgeable friend. I think managing software is one of the basics when working with a computer.

[1] Strawberry Perl for Windows
[2] Ruby – A Programmer's best Friend
Goeroen
Posts: 3
Joined: Sat Nov 19, 2011 5:30 pm

Re: graphicx | PDF Output not updated

Post by Goeroen »

Thanks, your tips helped me finally solve the problem. I can finally include pictures in my LaTeX files. Thank you very much.

Goeroen
Post Reply