Graphics, Figures & Tables\includegraphics not working - just blank space

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
hanfmeier
Posts: 2
Joined: Thu Nov 19, 2015 1:32 pm

\includegraphics not working - just blank space

Post by hanfmeier »

Hello.
While trying to load images via \includegraphics, I noticed that none of the images will load, not even those in the template I am required to use.
Image
On the left is what it should look like, on the right is what I get when I typeset the template (pdfLaTeX+MakeIndex+BibTeX).

Why are all of the images just blank? Thanks in advance.

Code: Select all

Code, edit and compile here:
%
% List of packages, ...
%
\usepackage{latexsym}
\usepackage{fullpage}
\usepackage[dvips]{graphicx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{a4}
\usepackage{amsfonts}
\usepackage{eucal}
\usepackage{fancyhdr}
\usepackage[T1]{url}
\usepackage{listings}
\usepackage[printonlyused]{acronym}
\usepackage{algorithmic}
\usepackage{algorithm}
\usepackage{multicol}
\usepackage{hyphenat}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Titlepage:

Code: Select all

Code, edit and compile here:
\begin{titlepage}
\enlargethispage{3cm}
\vspace*{-32mm}\hspace*{120mm}
\includegraphics[scale=1.0]{rub_logo.eps}
\vspace*{12cm}\hspace*{0mm}
\begin{minipage}[b]{1\linewidth}
\sffamily
\hspace{-17.2mm}\includegraphics[scale=1.0]{rub_slogan.eps}\\
\nohyphens{
{\bf \LARGE \sffamily {\thtitle}}
}\\
\large{
\thauthor
}\\
\vspace*{35mm}
\normalsize{
Seminarausarbeitung\\
\today\\
Embedded Security Group - Prof. Dr.-Ing. Christof Paar\\
}
\end{minipage}
\end{titlepage}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Main file:

Code: Select all

Code, edit and compile here:
%
% EMSEC seminar template, 24.09.2010
% david.oswald@rub.de
%
% based on
% EMSEC thesis template, 13.09.2010
%
% Calls all chapters
% Each chapter is contained in a seperate "\input" file
% Style: doublesided, scrreport, dina4
%
% Benedikt Driessen, 2010
% benedikt.driessen@rub.de
%
% *************************************************************
% ENTER INFORMATION ABOUT AUTHOR, TITLE and TYPE HERE
\newcommand{\thauthor}{Forname Surname}
\newcommand{\thtitle}{Title}
% *************************************************************
\documentclass[a4paper,12pt,twoside,openany,headsepline,bibliography=totocnumbered]{scrbook}
% Import settings, packages, etc.
\input{settings}
\begin{document}
% Import frontpage
\input{frontpage}
% Abstract
\section*{Abstract}
The following text\footnote{Shamelessly ripped from \url{http://www.leeds.ac.uk/educol/abstract.htm}} describes what your abstract should be about.
The abstract should convey to the reader concisely and accurately within the space of a few sentences, the claim to knowledge that the authors are making. It should indicate the boundaries of space and time within which the enquiry has occurred. If there is a claim to generality beyond the boundaries of the enquiry the basis of that claim should be given, for example that a random sample is thought to be representative of a larger population. There should also be a hint of the method of enquiry.
The boundaries of an enquiry are important - and are unfortunately too often omitted from abstracts. This is due to the regrettable tendency for researchers to generalise their results from, for example, a few schools to all schools, and to imply that what was true at a particular time, is true for all time. Some reference to the geographical location of the children, or teachers, or schools on whom the claim to knowledge rests should be made. Because of the international nature of the research community it is worth making clear in what country the research took place. Also the period in which the data was collected should be stated.
The abstract should be a condensation of the substance of the paper, not a trailer, nor an introduction. Journals and thesis regulations usually put a limit of around 200 to 300 words to the length of an abstract. “Trailer” is a term borrowed from the cinema industry to describe a showing of a few highlights in order to win an audience. An “Introduction” tells that something is coming, but doesn’t reveal its substance. These are not what is needed.
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Log:

Code: Select all

This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9) (preloaded format=pdflatex 2015.10.27) 19 NOV 2015
12:46
entering extended mode
**C:/EMSEC/template-latex/main.tex
(C:/EMSEC/template-latex/main.tex
LaTeX2e <2015/01/01> patch level 2
Babel <3.9m> and hyphenation patterns for 69 languages loaded.
("C:\Users\Xxx\AppData\Roaming\MiKTeX\2.9\tex\latex\koma-script\scrbo
ok.cls"
Document Class: scrbook 2015/10/03 v3.19a KOMA-Script document class (book)
("C:\Users\Xxx\AppData\Roaming\MiKTeX\2.9\tex\latex\koma-script\scrkb
ase.sty"
Package: scrkbase 2015/10/03 v3.19a KOMA-Script package (KOMA-Script-dependent
basics and keyval usage)
("C:\Users\Xxx\AppData\Roaming\MiKTeX\2.9\tex\latex\koma-script\scrba
se.sty"
Package: scrbase 2015/10/03 v3.19a KOMA-Script package (KOMA-Script-independent
basics and keyval usage)
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\keyval.sty"
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks14
)
("C:\Users\Xxx\AppData\Roaming\MiKTeX\2.9\tex\latex\koma-script\scrlf
ile.sty"
Package: scrlfile 2015/10/03 v3.19a KOMA-Script package (loading files)
Package scrlfile, 2015/10/03 v3.19a KOMA-Script package (loading files)
Copyright (C) Markus Kohm
)))
("C:\Users\Xxx\AppData\Roaming\MiKTeX\2.9\tex\latex\koma-script\tocba
sic.sty"
Package: tocbasic 2015/10/03 v3.19a KOMA-Script package (handling toc-files)
)
Package tocbasic Info: omitting babel extension for `toc'
(tocbasic) because of feature `nobabel' available
(tocbasic) for `toc' on input line 125.
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Recommended reading 2024:

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

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

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: \includegraphics not working - just blank space

Post by Johannes_B »

Welcome,

personally, i wouldn't recommend this template to anybody. Look at all the warnings in the log file. The template is set up for use with latex in dvi mode, you are running pdflatex, which generates a pdf and leads to strange results. I don't have the images, maybe they are just pushed off the page? You got several overfull boxes.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
hanfmeier
Posts: 2
Joined: Thu Nov 19, 2015 1:32 pm

\includegraphics not working - just blank space

Post by hanfmeier »

personally, i wouldn't recommend this template to anybody
Sadly, I have no choice in that matter. But I got it to work by using xelatex instead of pdflatex.
Thanks for the help. :)
Post Reply