Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: Re: st: RE: converting graph to pdf


From   Clive Nicholas <[email protected]>
To   [email protected]
Subject   Re: Re: st: RE: converting graph to pdf
Date   Tue, 5 Jun 2012 00:58:07 +0100

Ulrich Kohler replied:

> It is thus still somewhat annoying if some Windows/Mac user sents me a
> Do-File which does not run on my Linux computer because he/she has been
> using
>
> . graph export foo.pdf, replace
>
> at some point.

I'll confess that I've never run -graph export- in a .do file. (I
currently don't have Stata running on my machine - I can't get it
started in Linux, but have not yet attempted a re-installation of 9
under Kubuntu 12.04 - and haven't used it for a good year and a half.
I find I'm using R more and more, and installing that on my Linux
machine was like taking candy from a baby.)

However, I would simply say to anybody that they -graph export- their
foo.eps file as normal, include -epsfig- and
-graphicx- under the call to \usepackage{} in their LaTeX preamble
code, and then run something like

\begin{center}
\begin{figure}[t]
  \begin{minipage}{\textwidth}
  \includegraphics{foo}
  \caption{This is a graph.}%
    {\footnote{This is a footnote.}}
  \end{minipage}
\end{figure}
\end{center}

in the body of the LaTeX file. There are variations on this theme (I
don't always need the {minipage} call, for instance), but it works for
me.

-- 
Clive Nicholas

[Please DO NOT mail me personally here, but at
<[email protected]>. Please respond to contributions I make in
a list thread here. Thanks!]

"My colleagues in the social sciences talk a great deal about
methodology. I prefer to call it style." -- Freeman J. Dyson
*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index