I am able to display a image from a .eps file correctly using the below code.
\begin{figure}[t!]
\centering
\includegraphics[keepaspectratio, width=.6\textwidth, trim={0 7cm 0 6cm},clip]{ware.eps}
\caption{Ware}\label{figures:ware}
\end{figure}
Now I trying to include the pdf_tex file which I exported from Inkscape but the image is not being displayed. Both the pdf and pdf_tex files are in the same directory. I am using the below code for this. I get the error "Error: File `ware.pdf_tex' not found. [\input{ware.pdf_tex}]"
\begin{figure}[t!]
\centering
\input{ware.pdf_tex}
\caption{Ware}\label{figures:ware}
\end{figure}
Could someone please help me with this issue. I am new to latex.
importpackage and\import{foo.pdf_tex}rather than\input{foo.pdf_tex}– Dai Bowen Oct 16 '16 at 22:14pdf_texis unknown (at least to me). – Zarko Oct 16 '16 at 22:20\importyou're adding\usepackage{import}? I'm afraid I'm just repeating what is given as the fix in a very similar looking question rather than having personal expertise to offer here. – Dai Bowen Oct 16 '16 at 22:32.pdf_texfile is in the same directory as the.pdf. Is it in the same directory as your main.texfile? What is in the.pdf_texfile exactly? I'm not familiar with the process. – cfr Oct 16 '16 at 22:48\inputis fine, I do this all the time for.pdf_texfiles. – samcarter_is_at_topanswers.xyz Oct 17 '16 at 08:30\inputis the syntax you get in the instructions, when you create the file in inkscape. In the simple case that all files are in the same directory, this should definitely work. – samcarter_is_at_topanswers.xyz Oct 17 '16 at 08:34.pdf_texis used by inkscape for exporting the text layer of an image as tex code. – samcarter_is_at_topanswers.xyz Oct 17 '16 at 08:36ware.texfiles and insert "hello world". Can you input this file instead of\input{ware.pdf_tex}? 2) In case this works, can you renameware.pdf_textoware.tex? – samcarter_is_at_topanswers.xyz Oct 17 '16 at 08:39