Graphics, Figures & TablesEPS Images do not appear

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
wombat33
Posts: 7
Joined: Tue Oct 29, 2013 9:51 am

EPS Images do not appear

Post by wombat33 »

Hi,

I've been working in a simple sandbox up until now to get the images working. They include EPS files. In the log i see this.

Code: Select all

(/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/ifpdf.sty
Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in PDF mode is detected.
))
...
(/usr/local/texlive/2013/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
Package: epstopdf-base 2010/02/09 v2.5 Base part for package epstopdf

Now i'm pulling the images into the main memoir document and the eps files aren't getting converted to pdf. Both builds use xelatex and the memoir class. In the main log:

(/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty
...
Package hobsub Info: Skipping package `ifpdf' (already loaded).
...
(/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/ifpdf.sty
Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in PDF mode is not detected.
)
And there are no calls to epstopdf.

Looking at some of the other posts it seems that this might be caused by a package conflict, or maybe I'm not using them correctly. The preamble for the main document is:

Code: Select all

\documentclass[
  11pt, a4paper,        % font and paper size
  fleqn,                % align equations to the left
  twoside, openright,   % two sided option with new chapters on the right page
  \status               % the status (defined in main document)
]{memoir}

% general stuff
%\usepackage[utf8]{inputenc}   % Input-Encoding
                              % (encoding which is used for saving)
\usepackage[TS1,T1]{fontenc}  % Output-Encoding
                              % (Latin1 [T1] with additional sepecial characters [TS1])

% \usepackage[ngerman]{babel}   % German language package
\usepackage[english]{babel}   % English language package

% font and symbols
\usepackage{microtype}        % better type setting
\usepackage{amssymb,amsmath}  % more math symbols and environments

\usepackage{lmodern}
\usepackage{textcomp}         % even more special characters, including _

\usepackage{tikz}             % used to make circled numbers
\usepackage{color}            % define your own colors
%\usepackage{scrhack}          % fixes an error caused by listings package
\usepackage{listings}         % enables syntax highlighting for your code
% \usepackage{helvet}           % change the font for titles
\usepackage{fontspec}         % customized fonts, access to system fonts
% \usepackage{xltxtra}			% XeLaTeX extras package, provides some useful extras, in particular the fontspec package

% configuration
\usepackage{hyperref}         % hyperlinks in PDF
% The two following packages don't work with the memoir style
% \usepackage{fancyhdr}         % configure your page header
% \usepackage[noindentafter]{titlesec}  % configure titles

% image stuff
\usepackage{graphicx}         % include graphics
\usepackage{rotating}         % rotate images
% \usepackage{caption}          % customize your captions (memoir incompatible)
% \usepackage{subfig}           % sub-captions (memoir incompatible)
\usepackage{wrapfig}          % wrap text around images and tables
\usetikzlibrary{calc}
\usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
    decorations.pathreplacing,decorations.pathmorphing,shapes,%
    matrix,shapes.symbols}

% table stuff
\usepackage{booktabs}         % professional tables
\usepackage{multirow}         % combine table rows
% \usepackage{arydshln}         % dashed lines in tables

% additional packages (mixed)
% \usepackage{keystroke}        % display keystrokes
\usepackage{xspace}           % adds spaces to the end of commands if needed


% packages that help during draft versions
% (change document option from draft to final to disable)
\usepackage[obeyDraft,textsize=scriptsize]
  {todonotes}                 % notes and missing images
%\usepackage{showlabels}       % show label names next to numbering

\usepackage{vhistory}       % version history

%\usepackage[colorlinks]{hyperref}
%\usepackage[acronym]{glossaries}

\usepackage[xindy, toc, nonumberlist, acronym, section, numberedsection=autolabel]{glossaries} % added http://en.wikibooks.org/wiki/LaTeX/Glossary

\usepackage{appendix}

% Declare layers
\pgfdeclarelayer{background}
\pgfsetlayers{background,main}
It seems possible that ifpdf is different in both cases, but I'm not sure whether it could be the cause.. I'm just getting into LaTeX.

thanks for any help!
Attachments
main.log
this did not work
(76.04 KiB) Downloaded 157 times
sandbox.log
this worked
(65.94 KiB) Downloaded 142 times
Last edited by localghost on Sun Nov 03, 2013 9:43 pm, edited 1 time 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.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

wombat33
Posts: 7
Joined: Tue Oct 29, 2013 9:51 am

Re: EPS Images do not appear

Post by wombat33 »

It's the Memoir class draft (eps files represented as text) vs final mode setting.
Attachments
requirements.zip
(9.96 KiB) Downloaded 140 times
Post Reply