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]
st: RE: Opening a particular section of a help file
From
Joe Canner <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: RE: Opening a particular section of a help file
Date
Wed, 6 Nov 2013 17:18:10 +0000
Sergiy,
How about:
. display in smcl "{help regress##display_options:display_options}"
Regards,
Joe
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Sergiy Radyakin
Sent: Wednesday, November 06, 2013 11:49 AM
To: [email protected]
Subject: st: Opening a particular section of a help file
A help file might have multiple sections where one can jump following the link (usually somewhere at the top of the file, perhaps even a small ToC).
Here is an example:
help regress
(note you see 'help regress' in the help window address bar) then click on the "display_options"
(note you see 'help regress##display_options' in the help window address bar)
However, if I try to type this command in Stata's command prompt:
help regress##display_options
I get a "nothing found" response (and same for one #-sign, just in case). Typing the command within the help viewer is ok, and I get transferred to the correct section.
The links themselves are made with the {viewerjumpto ... } command which seems to be part of the viewer/help subsystem, but not understood within SMCL.
Is there any way to create an SMCL link (in the output window) to e.g.
the 'display_options' section of the 'regress.sthlp' directly?
Thank you, Sergiy Radyakin
*
* 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/