[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Marcus Casey <mcasey@duke.edu> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Stata graphs in LaTeX |

Date |
Tue, 5 May 2009 09:27:51 -0400 |

Another possibility is exporting your graph as a .png file. I use pdfLatex with stata graphs as .png files and have no problem including them in my documents. Marcus Marcus Casey Research Associate, Duke University On May 5, 2009, at 8:31 AM, Neil Shephard wrote: > On Tue, May 5, 2009 at 6:45 AM, Patrick J. Flaherty > <repho@pipeline.com> wrote: >> I am using Stata 10.1 fully updated in a Windows environment (Vista). >> >> I do not believe my LaTeX software (or is it my computer) is .eps >> compatible. While Michael Mitchell's graph2tex runs great in >> Stata it >> produces .eps files which my LaTeX can't read. > > Thats strange, since EPS support has been available for a very long > time. > >> I try running Martin Weiss' epspdf program but I get an error from >> GhostScript that filesize must be less than 2Gb. >> >> Why doesn't Stata export .jpg files? Or why can't LaTeX (I know >> this isn't >> a LaTeX listserve, I apologize) read .wmf files? > > Well the algorithm used in the compression of JPG is (purportedly) > proprietary and including support would mean an increase in the > license fee you pay (see > http://en.wikipedia.org/wiki/Jpg#Patent_issues although the US patent > may have expired now). > > Stata supports several different formats depending on your platform > (see -man graph export-). > > Probably the most amenable if you can't get .eps files to work is > Portable Network Graphics (.png). > > I've had no problems inserting PNG files into my LaTeX documents > (using both TeXk v 3.141592 that ships with Cygwin or TexLive 2008 ( > Tex v3.1415926) on my GNU/Linux distribution). > > LaTeX version and examples of your code may illicit more specific > advice. > > Neil > -- > "The combination of some data and an aching desire for an answer does > not ensure that a reasonable answer can be extracted from a given body > of data." ~ John Tukey (1986), "Sunset salvo". The American > Statistician 40(1). > > Email - nshephard@gmail.com > Website - http://slack.ser.man.ac.uk/ > Photos - http://www.flickr.com/photos/slackline/ > > * > * For searches and help try: > * http://www.stata.com/help.cgi?search > * http://www.stata.com/support/statalist/faq > * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

- Prev by Date:
**AW: st: AW: Qestion about Heckman Test** - Next by Date:
**st: Tracing in Stata** - Previous by thread:
**st: Re: RE: Stata graphs in LaTeX** - Next by thread:
**st: Qestion about Heckman Test** - Index(es):

© Copyright 1996–2017 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |