Indeed, it would be great if Stata could export graphs to PDF under non-MAC
systems too.
However, under Windows, I've used the command-line converter -epstopdf-
(available in most LaTeX distributions I believe) without any problem. That
is: I export my Stata graph to EPS, call the external command -epstopdf- to
convert it to PDF, and the PDF file can be imported and PDFLaTeX-ed without
a glitch.
This can be done a one-step procedure with the following programme. Use
-grexportpdf using ... - instead of the official -graph export ...-
Best wishes
Philippe
*! grexportpdf 1.0, Ph.Van Kerm, Aug-2003
* this command exports current graph to PDF (requires epstopdf installed!!)
* grexportpdf using path/filename
cap pr drop grexportpdf
pr def grexportpdf
version 8
syntax using/
loc using = subinstr("`using'",".pdf","",.)
gr export "`using'.eps" , replace
!epstopdf "`using'.eps"
erase "`using'.eps"
end
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept for the presence of computer viruses.
**********************************************************************
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/