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: sthlp file not displaying correctly


From   Sunil Kumar <[email protected]>
To   [email protected]
Subject   Re: st: sthlp file not displaying correctly
Date   Sat, 10 Nov 2012 23:25:50 +0000

Thank you very much Kit and Nick for your advice. Having shorter lines
certainly does get rid of the problem.

Sunil

On Fri, Nov 9, 2012 at 4:30 PM, Nick Cox <[email protected]> wrote:
> Good advice. I tend to set automatic line breaks at 72 characters in
> .sthlp files regardless of whether SMCL is expected to tidy up lines
> within paragraphs.
>
> Nick
>
> On Fri, Nov 9, 2012 at 4:21 PM, Christopher Baum <[email protected]> wrote:
>> <>
>> Nick said
>>
>> . ssc inst charlist
>>
>> for one tool that may help if hidden characters are the problem.
>>
>> On 9 Nov 2012, at 14:24, Sunil Kumar <[email protected]> wrote:
>>
>>> Thank you Daniel and Nick. But the problem still continues (I've tried
>>> with cmd in place of cmdab). If there are any tips on
>>> detecting/getting rid of hidden characters then I'd be grateful. I
>>> have tried writing the sthlp file with Textedit (A Notepad-like
>>> program on mac) as well as with the Stata do-file editor, but the same
>>> problem results.
>>>
>>>
>>
>> Good advice--it could be nonprinting characters--but it may also be that the SMCL parser is barfing on too long a paragraph. Use, e.g., TextWrangler or BBEdit and see just how long each line is. Put in some seemingly unnecessary line breaks so that lines are not too long. I have often been bitten (using a Mac) by SMCL parsing, which seems to have some internal limit that it is not too hard to surpass, and does not give you any warning when you do.
>
> *
> *   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