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

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

* For searches and help try:

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