MiKTeX and proTeXtError pdf +jpg graphicx

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
User avatar
meujovem
Posts: 8
Joined: Fri May 27, 2011 4:39 pm

Error pdf +jpg graphicx

Post by meujovem »

Já não aguento mais estou aprendendo latex

Utilizo o MikTex 2.9 e eu TexcNicCenter mas não consigo gerar um arquivo .pdf com inserção de imagens nos formatos jpg, png,
Alguem poderia me dar uma dica?
Veja os comandos básicos, em que estou errando?

Code: Select all

\documentclass{article}
\usepackage{graphicx} 
\begin{document}

\includegraphics{logo.jpg}

\end{document}
Grato
Wilson
Brasil
Last edited by Stefan Kottwitz on Fri May 27, 2011 4:48 pm, edited 1 time in total.
Translated with google translate
.................................
Thank You
meujovem
Brasil

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

Error pdf +jpg graphicx

Post by Stefan Kottwitz »

Hi,

welcome to the board!

Most people here speak English, so it would be better if you write in Englisch as well if you would like to get answers.

Take care that you are using pdfLaTeX, i.e. the output profile LaTeX => PDF, not LaTeX => DVI or LaTeX => PS => PDF.

Stefan
LaTeX.org admin
User avatar
meujovem
Posts: 8
Joined: Fri May 27, 2011 4:39 pm

Re: Error pdf +jpg graphicx

Post by meujovem »

Ok Stefan,
See a configuratin in anexo

Thank You
Wilson
Brasil
Attachments
0 page.jpg
0 page.jpg (17.83 KiB) Viewed 6686 times
TexcNicCenter .jpg
TexcNicCenter .jpg (97.75 KiB) Viewed 6686 times
Translated with google translate
.................................
Thank You
meujovem
Brasil
User avatar
Stefan Kottwitz
Site Admin
Posts: 10322
Joined: Mon Mar 10, 2008 9:44 pm

Re: Error pdf +jpg graphicx

Post by Stefan Kottwitz »

Perhaps post your .log file here, as attachment to a post.

Stefan
LaTeX.org admin
User avatar
meujovem
Posts: 8
Joined: Fri May 27, 2011 4:39 pm

Re: Error pdf +jpg graphicx

Post by meujovem »

Hi Stefan

See the .log em anexo.

Thank you

Wilson
Brazil
Attachments
erro.zip
(1.42 KiB) Downloaded 280 times
Translated with google translate
.................................
Thank You
meujovem
Brasil
User avatar
Stefan Kottwitz
Site Admin
Posts: 10322
Joined: Mon Mar 10, 2008 9:44 pm

Re: Error pdf +jpg graphicx

Post by Stefan Kottwitz »

Hi Wilson,

I cannot see the cause in the .log file - that file just ends unexpectedly. Perhaps post the original .tex document?

Stefan
LaTeX.org admin
User avatar
meujovem
Posts: 8
Joined: Fri May 27, 2011 4:39 pm

Re: Error pdf +jpg graphicx

Post by meujovem »

Hi Stefan

This is the font
anexo

Thank you

Wilson
Brazil
Attachments
tex.zip
(20.91 KiB) Downloaded 266 times
Translated with google translate
.................................
Thank You
meujovem
Brasil
User avatar
Stefan Kottwitz
Site Admin
Posts: 10322
Joined: Mon Mar 10, 2008 9:44 pm

Error pdf +jpg graphicx

Post by Stefan Kottwitz »

That's strange - for me the document works without errors and I get a PDF output. I suggest try removing the .aux file and compile again. Besides that, I just can say the document is ok.

Stefan
LaTeX.org admin
User avatar
meujovem
Posts: 8
Joined: Fri May 27, 2011 4:39 pm

Re: Error pdf +jpg graphicx

Post by meujovem »

Hi Stefan
Does not the installation and configuration of graphics package?

Thanks You

Wilson
Brazil
Translated with google translate
.................................
Thank You
meujovem
Brasil
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Error pdf +jpg graphicx

Post by localghost »

Incomplete log files after compilation with TeXnicCenter (TXC) are one of the symptoms for a well known issues with MiKTeX [1]. Open a command line and try compiling your document from there.

And by the way, it would be very nice if you edit your initial post and rephrase your question in English (the official board language). So others who don't understand Portuguese are able to participate in finding a solution. I only guessed the problem from the course of the discussion.

[1] MiKTeX 2.9 Issues


Best regards and welcome to the board
Thorsten
Post Reply