Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: problems using SMCL for hlp file


From   Roger Newson <[email protected]>
To   [email protected]
Subject   Re: st: problems using SMCL for hlp file
Date   Tue, 15 Oct 2002 17:38:07 +0100

At 18:00 15/10/02 +0200, Daniel M�ller wrote:
I am currently writing a help-file in SMCL. It works well apart from a few
spots... One example:

In the smcl-code of the help file I have a part:
{cmdab:sav:ing(} {it:fileout1} {it:fileout2} {it:fileoutX}{cmd:)}

If I copy this line and -display- it in the results window, it's appears
fine:
. di "{cmdab:sav:ing(} {it:fileout1} {it:fileout2} {it:fileoutX}{cmd:)}"
saving( fileout1 fileout2 fileoutX)

However, if I call the help from within Stata, the same part in the viewer
looks:
saving( eout1} fileout2 fileoutX)

The same problem I have in most (but not all...) of my help files. What am I
doing wrong here?
You should probably write

{cmdab:sav:ing}{cmd:(} {it:fileout1} {it:fileout2} {it:fileoutX}{cmd:)}

or (more simply)

{cmdab:sav:ing}{cmd:(} {it:fileout1 fileout2 fileoutX} {cmd:)}

Either way, the left parenthesis is in cmd mode and not in cmdab mode (because we do not abbreviate the left parenthesis).

I hope this helps.

Roger



--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]

Opinions expressed are those of the author, not the institution.

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




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