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

From |
Neil Shephard <nshephard@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Stata graphs in LaTeX |

Date |
Tue, 5 May 2009 13:31:16 +0100 |

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/

**References**:**st: Stata graphs in LaTeX***From:*"Patrick J. Flaherty" <repho@pipeline.com>

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

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