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]

Re: st: sthlp file not displaying correctly


From   daniel klein <klein.daniel.81@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: sthlp file not displaying correctly
Date   Thu, 8 Nov 2012 18:33:31 +0100

Sunil,

I cannot reproduce this problem using Stata 12.1 on a WinXP machine.
Might this be a MAC-issue?

Aside from your question migth I suggest that instead of

{cmdab:gamma}{cmd:(}{it:numlist}{cmd:)} is required [...]

think of

{opt gamma(numlist)} is required [...]

if -gamma- is an option. I know it looks the same, it is just that the
"{opt} version" is "cleaner" and fewer typing is involved. Also

{it: numlist}

is probably supposed to be

{it:numlist}

Best
Daniel

-- 
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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index