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 <[email protected]> wrote:
>
> <>
>
>
>
> BTW, the utilities can be installed from the Miktex page at
> http://miktex.org/.
>
>
>
> HTH
> Martin
>
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected]
> [mailto:[email protected]] Im Auftrag von Charles Koss
> Gesendet: Freitag, 18. Dezember 2009 17:43
> An: [email protected]
> 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 <[email protected]> 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: [email protected]
>> [mailto:[email protected]] Im Auftrag von Charles Koss
>> Gesendet: Freitag, 18. Dezember 2009 16:12
>> An: [email protected]
>> 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/