Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: Re: st: How to link the help file for a command to its immediate version (or generally add aliases)


From   khigbee@stata.com
To   statalist@hsphsun2.harvard.edu
Subject   Re: Re: st: How to link the help file for a command to its immediate version (or generally add aliases)
Date   Mon, 29 Sep 2008 10:02:00 -0500

Nick Cox <n.j.cox@stata.com> wrote in response to Sergiy Radyakin
<serjradyakin@gmail.com> suggestion to alter the mhelp_alias.maint
file distributed as part of Stata:

> I am not writing on behalf of StataCorp but it's my understanding that 
> user modifications to *.maint are entirely at your discretion, meaning 
> peril, and that there are absolutely no promises by StataCorp to pay any 
> attention to any user modifications to *.maint. In two words, my advice 
> is "Keep off" -- and I'll add, even if you think you know exactly what 
> you are doing.

Nick is correct in warning you away from editing the file.  Stata
updates will overwrite your edited file.  Do not edit the files
that are part of ado/base/ or ado/updates/.

The proper way to link help files is as outlined already by
others:  create the help file with one line starting with ".h "
and then the name of the help file you want to link to.

========= begin myhelp.hlp ================
.h someotherhelp
=========== end myhelp.hlp ================

Then -help myhelp- will be redirected to -help someotherhelp-.
This used to be the way all of Stata help redirection was
handled.  The .maint files came along later for StataCorp use.

Ken Higbee    khigbee@stata.com
StataCorp     1-800-STATAPC

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



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