This question has been asked a lot, but for reason I cannot get it to work. I'd like to include a .eps
image in my document – I am using pdflatex
in TeXMaker
. Below is the input (I am providing the whole preamble incase there is some interference.
\documentclass[11pt]{article}
\usepackage{times}
\usepackage{graphicx}
\usepackage{epstopdf} %converting to PDF
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{mathtools}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\usepackage[parfill]{parskip}
\setcounter{secnumdepth}{5} %how deep sections are numbers
\usepackage{float}
\usepackage[font={sf,footnotesize},labelfont=bf, justification=justified, singlelinecheck=off]{caption}
\usepackage[font=footnotesize]{subcaption}
\usepackage[scaled]{helvet}
\usepackage{titlesec}
\usepackage[T1]{fontenc}
\usepackage[export]{adjustbox} %for large figures
\usepackage{upgreek}
\usepackage{microtype}
\usepackage{setspace}
\singlespacing
\usepackage[defaultlines=4,all]{nowidow}
\includegraphics[scale=1]{/../model_1_2.eps}
The error I get is:
! Package pdftex.def Error: File `/model_1_2-eps-converted-to.pdf' not
found.See the pdftex.def package documentation for explanation.Type H
for immediate help…. …/../model_1_2.eps}
I hope someone can help.
Best Answer
You shouldn't add the extension
The
/
at the beginning of the path looks wrong.You have a better chance with
However:
You might not be allowed to work with a file that is one folder up, due to (reasonable) security restrictions disallowing this.