Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: sthlp file not displaying correctly


From   Sunil Kumar <stuff.sunil@googlemail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: sthlp file not displaying correctly
Date   Fri, 9 Nov 2012 14:24:35 +0000

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.



On Thu, Nov 8, 2012 at 5:34 PM, Nick Cox <njcoxstata@gmail.com> wrote:
> I can't reproduce this, although I am not on Mac. I suspect hidden characters.
>
> A secondary point is that you invoke {cmdab:} but don't indicate
> allowed abbreviation.
>
> Nick
>
> On Thu, Nov 8, 2012 at 5:22 PM, Sunil Kumar <stuff.sunil@googlemail.com> wrote:
>> Hello all,
>>
>> I am trying to write an sthlp file for an ado command. But, it doesn't
>> seem to display correctly. I'm using Stata 12.1 for Mac.
>>
>> In the sthlp file, I have the following text:
>>
>> {phang}
>> {cmdab:gamma}{cmd:(}{it:numlist}{cmd:)} is required, and specifies the
>> values of Gamma at which Rosenbaum's sensitivity bounds are to be
>> calculated. {it: numlist} must contain 1, the level of Gamma at which
>> allocation to treatment is assumed to be independent of unobservables.
>> {p_end}
>>
>> But, when I access the file through Stata (typing -help mycommand-) it
>> appears as
>>
>>     gamma(numlist) is required, and specifies the values of Gamma at
>> which Rosenbaum's sensitivity bounds are to be calculated.  numlist
>> must contain 1, the level of Gamma at which allocation to treatment is
>> assumed to b ndent of unobservables.
>>
>> The offending bit is towards the end: "assumed to be independent of
>> unobservables" displays as "assumed to b ndent of unobservables". This
>> pattern continues even if I substitute other text in between, as some
>> or other part always manages to disappear.
>>
>> What am I doing wrong here?
> *
> *   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index