|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: question about SMCL
Well, I did not know that the command was Mac OS X-specific, but it
sort of makes sense that it would be. Mac OS X is the only OS Stata
supports for which PDF is a native format (so that any application
that can print can "print to pdf" ). That's why you can create PDFs
directly with -graph export foo.pdf- only on Mac OS X.
I have updated -hlp2pdf- to allow for the existence of other OS. I
have no way of testing the routine on Windows or *nix Stata (I'm not
running any GUI versions of Linux or other flavors of *nix at
present) but it should work, creating a .ps file on those systems. As
Sergiy mentions, there are plenty of free PS->PDF translators that
would do the last step. For Linux, you should be able to use
"ps2pdf", which I believe is standard issue in any LaTeX
distribution. For convenience, the updated -hlp2pdf- returns r
(printfile), a local macro containing the fully qualified filename,
e.g.,
r(printfile) : "/Users/baum/doc/hlp2pdf.pdf"
I also added a -replace- option.
The updated version of -hlp2pdf- is available from SSC via -ssc
install hlp2pdf- or, if you have it installed, via -adoupdate-.
Kit
Kit Baum, Boston College Economics and DIW Berlin
http://ideas.repec.org/e/pba1.html
An Introduction to Modern Econometrics Using Stata:
http://www.stata-press.com/books/imeus.html
On Apr 12, 2008, at 02:33 , David wrote:
Shameful! Kit has neglected to say his command is Mac specific.
*
* 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/