On Fri, Dec 11, 2009 at 12:21 PM, Jonathan Brandmeyer <[email protected]> wrote: > I am having difficulty using Gnuplot's epslatex output in conjunction > with Lyx. Gnuplot itself is capable of separately providing EPS graphics > as well as text and labels as Tex code. Strictly speaking, I'm using > Octave as a front-end to Gnuplot, but that shouldn't matter. > > So, I have the .tex and the .eps files produced by gnuplot, and a .lyx > file that attempts to use the file as input. >
I'm testing this in Ubuntu. I am NOT "testme" it with LyX, since give
us a LaTeX file "testme.tex". Using your example code, I do get 2
graphs, one complete, one a skeleton. The second inclusion in your
file is a mistake. With the attached "testme.tex", I get good dvi
output with "latex testme.tex" and if I create a pdf version of your
eps file and run pdf latex thus:
$ epstopdf tangent_impulse.eps
$ pdflatex testme.tex
Then I get good output as well. This makes me believe the problems
you are having trace back to the availability of fonts to your LaTeX
processing system or your pdf viewer.
I also attach a LyX file "pjtest.lyx" I created that DOES work to
include the tangent_impulse graphics and LaTeX markup. For me, the
only required change from a basic lyx doc was to put
\usepackage{graphicx} in the preamble. I get both dvi and pdf output
that are fine.
HTH
pj
--
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas
testme.tex
Description: TeX document
testme.dvi
Description: TeX dvi file
testme.pdf
Description: Adobe PDF document
pjtest.lyx
Description: application/lyx
