Graphics, Figures & TablesJPEG or EPS figures in a Latex document?

Information and discussion about graphics, figures & tables in LaTeX documents.
Sam
Posts: 62
Joined: Fri Nov 30, 2007 1:43 pm

Re: JPEG or EPS figures in a Latex document?

Post by Sam »

Thansk Stef,

I am really struggling to get this document working

Could u please send me a template of a ltex document (where I could have PDF figures) please...

I have a deadline to meet tonight and I am struggling with this latex...

Thanks a lot!

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

JPEG or EPS figures in a Latex document?

Post by Stefan Kottwitz »

Well, here's a small template working with pdf graphics.

Code: Select all

\documentclass{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage{graphicx}
\begin{document}
\includegraphics{filename}
\end{document}
Stefan
LaTeX.org admin
Sam
Posts: 62
Joined: Fri Nov 30, 2007 1:43 pm

Re: JPEG or EPS figures in a Latex document?

Post by Sam »

Thansk Stefane

But I still get the same error message!

PDF file included in the output docuemnt but no figure really just the frame and the title

please see attached...
Attachments
log1.JPG
log1.JPG (10.26 KiB) Viewed 5056 times
josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: JPEG or EPS figures in a Latex document?

Post by josephwright »

That's definitely the draft option to graphicx. Please post you TeX file, complete log and your real graphic file so we can test and compare.
Joseph Wright
Sam
Posts: 62
Joined: Fri Nov 30, 2007 1:43 pm

Re: JPEG or EPS figures in a Latex document?

Post by Sam »

Thansk Stef,

please find attached the fikles u asked for...

am not sure about the log file...how could i get it please?

Thansk Stef,
Attachments
pdf figure
pdf figure
11.JPG (62.91 KiB) Viewed 5052 times
Modeling_Report_Final.log
tex file
(14.96 KiB) Downloaded 284 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

JPEG or EPS figures in a Latex document?

Post by Stefan Kottwitz »

Hi Sam,

Joseph is right, it's the draft Option. Here you can read it in the log file:

Code: Select all

l.119 ...udegraphics[height=5in,width=5in]{11.pdf}
                                                  
Using draft setting for this image.
Try typing  <return>  to proceed.
Like I said before:
Stefan_K wrote:That may be caused by a draft Option to \documentclass or the graphicx package. Check those two lines.
Or post the first line or your document here, that one with the \documentclass command, and the line where you load graphicx. I guess it's the first line, like

Code: Select all

\documentclass[10pt,a4paper,draft,...]{report}
Stefan
LaTeX.org admin
Sam
Posts: 62
Joined: Fri Nov 30, 2007 1:43 pm

Re: JPEG or EPS figures in a Latex document?

Post by Sam »

Thans Guys but would you be able to send me a latex template for a report...

I am constrained with time to sort out the error

A template report would make things easier....

Thans Guys
User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

JPEG or EPS figures in a Latex document?

Post by Stefan Kottwitz »

That means you don't have time to check the first line of your document?
There's a draft option, right?

Stefan
LaTeX.org admin
josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: JPEG or EPS figures in a Latex document?

Post by josephwright »

There is no such thing as a template that will sort out this issue. There are simply too many different things that might be going on. You will have to post something about your source if you want some help.
Joseph Wright
User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

JPEG or EPS figures in a Latex document?

Post by Stefan Kottwitz »

Btw. generally a template requires a substantial amount of manual configuration regarding class, options, package options, various behavior.

A very good template is that of Matthias Pospiech. But it's written in German.
You could just use a search engine (key words latex template) but there are many old templates on the internet.

Stefan
LaTeX.org admin
Post Reply