I'm following this link word by word, using the epslatex terminal way:
How can add some latex eq or symbol in gnuplot?
When I open up texworks, and run
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\input{plot.tex}
\end{document}
I'm presented with
"! LaTeX Error: File `plot' not found.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.96 \put(0,0){\includegraphics{plot}}
%
? H
I could not locate the file with any of these extensions:
.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPEG,.JBIG2,.JB2
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit."
So basically it doesn't actually look for file extensions .tex? What am I missing? I have saved the .tex file in the same place as plot.tex and plot.eps. I'm fairly new to LaTex and even newer to gnuplot, so apologies if this is obvious.
pdflatexand notlatex.pdflatexcan handle lots of image formats buteps.latexcan handleepsbut not the common ones (jpg,png, etc.). I don't know how it works, but when I compile withpdflatexin ubuntu with TeXlive 2013, it runs something that converts theepsinto apdfand then uses thepdf. – Nico Feb 19 '14 at 22:02LaTeXsymbols in anepsfile as well, however that file has to be converted topdfformat and then included withpdflatex. Doing this way, the includedfigureproblably has to be rotated by 90 degrees. Note that, this is not an option, if the symbols are too complex. – Feb 20 '14 at 05:53