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

From |
Charles Koss <hqtiger@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: AW: Log in PDF format |

Date |
Sun, 20 Dec 2009 16:13:18 -0600 |

Thank you Martin, you are right. I will setup stata and miktek on my computer. Let you know. I appreciate your advice. Merry Christmas and successful 2010! Charles On Sun, Dec 20, 2009 at 3:52 AM, Martin Weiss <martin.weiss1@gmx.de> wrote: > > <> > > Whenever an OS supports pdf natively, Stata does take advantage of this > feature. So the lack of pdf support on Windows machines has more to do with > the OS itself than with Stata. Stata does have a feature in its -translate- > command to transfer its own "words", i.e. smcl-output, to postscript, and > from there it is only a small step to pdf. There are probably other > utilities that can transfer ps to pdf, but as I am a miktex user anyway, I > tend to use the ones I already have. > > Note that most of the commands in the template I posted are commented out > via "//", so you can safely erase the lines thus marked and put your own > commands there. "Strange commands" should not be a worry for you, as Stata, > not you, has to execute them :-) > > > HTH > Martin > > -----Original Message----- > From: owner-statalist@hsphsun2.harvard.edu > [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Charles Koss > Sent: Sonntag, 20. Dezember 2009 02:20 > To: statalist@hsphsun2.harvard.edu > Subject: Re: st: AW: Log in PDF format > > Thanks Martin!!! I was realizing today that GRETL can produce the > output in PDF without miktek and all those strange commands; right > from the menu! I wonder why stata does not implement that feature? > > Regards, > > Charles > > On Fri, Dec 18, 2009 at 10:42 AM, Martin Weiss <martin.weiss1@gmx.de> wrote: >> >> <> >> >> >> >> BTW, the utilities can be installed from the Miktex page at >> http://miktex.org/. >> >> >> >> HTH >> Martin >> >> >> -----Ursprüngliche Nachricht----- >> Von: owner-statalist@hsphsun2.harvard.edu >> [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Charles Koss >> Gesendet: Freitag, 18. Dezember 2009 17:43 >> An: statalist@hsphsun2.harvard.edu >> Betreff: Re: st: AW: Log in PDF format >> >> Martin, thanks for sharing your experience on doing a pdf from the log > file. >> >> Regards, >> >> Charles >> >> -- >> Charles >> >> >> On Fri, Dec 18, 2009 at 9:11 AM, Martin Weiss <martin.weiss1@gmx.de> > wrote: >>> >>> <> >>> >>> Depending on your platform, pdf can be a natural format - as for Macs- or >>> must be "imposed" on the OS. I have consistently used Windows, so I have > a >>> template for pdflogs in my text editor that relies on Miktex utility >>> "ps2pdf" to transfer the smcl file: >>> >>> >>> ************* >>> //to log in an additional log and have it transferred to pdf >>> >>> //can set -linesize- >>> set linesize 120 >>> >>> //close if open >>> capt log close newlog >>> di in red _rc >>> >>> log using mylog.smcl, name(newlog) replace >>> //do whatever you want in the log >>> >>> //trace the thing with Ben Jann`s tool >>> //tr: >>> >>> //or use conventional set trace on/off >>> //set trace on >>> >>> //set trace off >>> >>> log close newlog >>> >>> //translate >>> translate mylog.smcl mylog.ps, replace >>> //need Miktex utilities running on computer for this step >>> !ps2pdf mylog.ps >>> capt erase mylog.ps >>> !start mylog.pdf >>> ************* >>> >>> >>> >>> HTH >>> Martin >>> >>> >>> -----Ursprüngliche Nachricht----- >>> Von: owner-statalist@hsphsun2.harvard.edu >>> [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Charles Koss >>> Gesendet: Freitag, 18. Dezember 2009 16:12 >>> An: statalist@hsphsun2.harvard.edu >>> Betreff: st: Log in PDF format >>> >>> Hello Stata list members; >>> >>> I am running an ado file which outputs the log. Before closing or >>> right after closing it, I want to print the log in PDF. How can i do >>> that automatically? >>> >>> Cheers! >>> >>> -- >>> Charles >>> * >>> * 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/ >>> >> >> * >> * 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/ >> > > > > -- > Charles > > * > * 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/ > -- Charles * * 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: Log in PDF format***From:*Charles Koss <hqtiger@gmail.com>

**Re: st: AW: Log in PDF format***From:*Charles Koss <hqtiger@gmail.com>

**Re: st: AW: Log in PDF format***From:*Charles Koss <hqtiger@gmail.com>

- Prev by Date:
**Subject st: RE: RE: gllamm: unable to restore data due to insufficient memory; try discard first** - Next by Date:
**st: Histogram by var total option: Display only total histogram?** - Previous by thread:
**RE: st: AW: Log in PDF format** - Next by thread:
**st: Taking mata views of ereturn stats?** - Index(es):

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