Graphics, Figures & Tablesgraphicx | Package doesn't work

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
ChrisQ
Posts: 5
Joined: Sun Oct 23, 2011 4:18 pm

graphicx | Package doesn't work

Post by ChrisQ »

Hi there,

I must be having the simplest problem, and feel rather silly, but I can't fine a solution, so here it is:

How do I get graphics in my pdf? I've tried the following code:

Code: Select all

\documentclass[a4paper,12pt]{article}
\usepackage{graphicx}

\begin{document}
Hello world
\end{document}
but come up with an error: 'There was an error opening this document. This file cannot be found' followed by another, about not executing the docopen commands.

Thanks very much! Chris.

PS First time post, and I'm new to latex - let me know if I should ask my question a little differently, or if there's an easy place to find the solution that I've missed (though I may just not be understanding what I read when I've searched on the internet for why this is happening). Thank you!
Last edited by ChrisQ on Sun Oct 23, 2011 9:20 pm, edited 2 times 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.

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

graphicx | Package doesn't work

Post by localghost »

If you are using TeXnicCenter (TXC) 1 RC1, you may face a well known issue with MiKTeX. Open a command line and try to compile there. Otherwise try another editor like TeXworks which is shipped with MiKTeX. If you want to stay with TXC, try TXC2alpha3 (Build 1118).

[1] MiKTeX 2.9 Issues


Best regards and welcome to the board
Thorsten
ChrisQ
Posts: 5
Joined: Sun Oct 23, 2011 4:18 pm

Re: graphicx | Package doesn't work

Post by ChrisQ »

Thanks very much, really appreciate it! I've tried Texworks, which seems to let me put images in.

Thanks for the welcome, Chris.
Post Reply