[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: stata graphs in beamer
being a Stata/MiKTeX/Beamer user myself, here is what works for me:
In do-files, I have
graph export mygraph.eps, as(eps) preview(off) replace
** epstopdf.exe comes with MiKTeX.
** Stata for Windows cannot produce pdf.
! epstopdf mygraph.eps
In the beamer presentation, I have
inside a frame.
Note that the \includegraphics statement does not have a file extension; pdflatex will automatically pick the pdf graph, and latex will pick the eps graph. For this to work, both graphs need to sit in a folder where latex/pdflatex finds them.