Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Mac-specific: translator(smcl2pdf)


From   Daniel Becker <daniel.becker@uni-rostock.de>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Mac-specific: translator(smcl2pdf)
Date   Mon, 12 Mar 2007 18:02:42 +0100

I am using quite often the translator(smcl2pdf). What is annoying is that you have "output settings" box popping up that asks you for confirmation that you really want a conversion of you log to pdf. Also you can tell stata what the header, name and project entry should be.
On a Mac there is no real need to translate logs, since Macs have pdf technology built in. Just issue a 'print' command and then use the 'pdf' button to save the file as a pdf.
yes, i know. The need to use the translator that I need to avoid as much interaction as possible as my project takes quite a while when I run the do file. It would be handy if the translation to pdf would be as automatic as possible. Maybe I can write an applescript that prints from stata to pdf.

I believe this is because the smcl2pdf translator essentially uses OS X's print-to-pdf functionality (which is why it is only available for the OS X GUI version of Stata). If you want to run the translation unattended, then just use smcl2ps to translate the file to Postscript. You can then open the file in Preview (which will convert it to PDF on the fly) or install Ghostscript and use the ps2pdf command.
yes, this is a way to go, thanks. Is it possible to teach stata to include a header with date, time, pagenumber in the .ps-file?

daniel
*
* 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/




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