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: st: Setting log type with -project-


From   Roberto Ferrer <[email protected]>
To   Stata Help <[email protected]>
Subject   Re: st: Setting log type with -project-
Date   Sun, 18 Aug 2013 01:35:30 +0100

Thanks for your feedback on this.

Bests,
Roberto

On Wed, Aug 14, 2013 at 1:05 AM, Robert Picard <[email protected]> wrote:
> Or use -print- if you can get it to work.
>
> On Tue, Aug 13, 2013 at 8:02 PM, Nick Cox <[email protected]> wrote:
>> You can also translate SMCL to HTML. Of course, there are many ways to do that.
>>
>> -log2html- (SSC) offers one on the back of an undocumented feature.
>> Nick
>> [email protected]
>>
>>
>> On 14 August 2013 00:58, Robert Picard <[email protected]> wrote:
>>> I see. Obviously only Stata can make sense of an SMCL formatted file.
>>> But there is no need to skip the extra formatting just in case you
>>> need to share or print with others who do not have Stata. Using
>>> -translate-, you can even produce pdf documents directly. You can also
>>> include a -translate- after a nested do-file to create a
>>> ready-to-share pdf document:
>>>
>>> project, do("dofile1.do")
>>> translate "dofile1.smcl" "dofile1.pdf", replace
>>>
>>>
>>>
>>> On Tue, Aug 13, 2013 at 7:13 PM, Roberto Ferrer <[email protected]> wrote:
>>>> I use a2ps (linux) in order to print all log files (and a table of
>>>> contents) in my -project- using only a couple of lines in a bash file
>>>> (Linux). The smcl tags are printed and shift everything to the right,
>>>> creating line breaks in the whole file. Also, unnecessary clutter in
>>>> the pdf.
>>>>
>>>> I don't know if printing to pdf using Stata commands has this problem.
>>>> It probably prints to pdf in "pretty format", not the source, which is
>>>> why you see no problem.
>>>>
>>>>
>>>> On Tue, Aug 13, 2013 at 11:52 PM, Robert Picard <[email protected]> wrote:
>>>>> Maybe I'm missing something but what's the problem with printing a
>>>>> SMCL log file to pdf?
>>>>>
>>>>> On Tue, Aug 13, 2013 at 6:44 PM, Roberto Ferrer <[email protected]> wrote:
>>>>>> I too prefer smcl for visualizing log files while I work on the
>>>>>> computer. But I also print to pdf all log files generated by
>>>>>> -project-. Printing smcl to pdf doesn't make much sense. I use the
>>>>>> pdf's to share and review when not using my PC.
>>>>>>
>>>>>> Thank you.
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Aug 13, 2013 at 11:12 PM, Robert Picard <[email protected]> wrote:
>>>>>>> I feel that plain text log files loose some visual information (and
>>>>>>> hyperlinks) as compare to what is seen in Stata's result window so I
>>>>>>> set -project- to always use SMCL format. At any time, -translate- can
>>>>>>> be used to convert any SMCL format log file to text format so I
>>>>>>> assumed this would not be much of a burden.
>>>>>>>
>>>>>>> Do you want plain tex log files as a matter of personal preference or
>>>>>>> is it related to sharing them with people that do not have Stata?
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Aug 13, 2013 at 4:32 PM, Sergiy Radyakin <[email protected]> wrote:
>>>>>>>> set logtype only sets the default log type. If the command log
>>>>>>>> using"..." specifies explicitly the log format, then the default is
>>>>>>>> ignored. So you have to find the "log using ..." command in the quoted
>>>>>>>> package and check what's written there.
>>>>>>>> Best, Sergiy Radyakin
>>>>>>>>
>>>>>>>> On Tue, Aug 13, 2013 at 4:22 PM, Roberto Ferrer <[email protected]> wrote:
>>>>>>>>> Regarding the user-written package -project- by Robert Picard and
>>>>>>>>> installed using:
>>>>>>>>>
>>>>>>>>> net from http://robertpicard.com/stata
>>>>>>>>>
>>>>>>>>> I tried changing the log type:
>>>>>>>>>
>>>>>>>>> -set logtype text-
>>>>>>>>>
>>>>>>>>> both in the main do-file and in a nested do-file. Neither worked for
>>>>>>>>> me; I keep getting smcl. Is it supposed to be like this or am I
>>>>>>>>> missing something?
>>>>>>>>>
>>>>>>>>> Thank you.
>>>>>>>>> *
>>>>>>>>> *   For searches and help try:
>>>>>>>>> *   http://www.stata.com/help.cgi?search
>>>>>>>>> *   http://www.stata.com/support/faqs/resources/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/faqs/resources/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/faqs/resources/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/faqs/resources/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/faqs/resources/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/faqs/resources/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/faqs/resources/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/faqs/resources/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/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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