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 <roger.newson@kcl.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   RE: st: problems using SMCL for hlp file
Date   Tue, 15 Oct 2002 20:05:16 +0100

At 20:31 15/10/02 +0200, Daniel Müller wrote:
Thanks to Roger Newson for his reply. Unfortunately, his suggestion

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

didn't work in my case. Here's the result:

From my SMCL-help file:
{cmdab:sav:ing}{cmd:(} {it:fileout1 fileout2 fileoutX}{cmd:)}

...and interactive:
. di "{cmdab:sav:ing}{cmd:(} {it:fileout1 fileout2 fileoutX}{cmd:)}"
saving( fileout1 fileout2 fileoutX)

... and the same thing copied from the viewer:
saving{ t:fileout1 fileout2 fileoutX})
      ^^^^
Yet another example:

From my SMCL-help file:
If {cmd:saving} is specified,

...and interactive:
. di "If {cmd:saving} is specified, "
If saving is specified,

... and the same thing copied from the viewer:
If {cmd:saving cified,
   ^^^^^
In the two help-files I am currently working on, this happens four times,
and always the mean word 'saving' is involved. Any ideas?
I just wrote a little file -nutz.hlp- containing only 3 lines:

{smcl}
{cmdab:sav:ing}{cmd:(} {it:fileout1 fileout2 fileoutX}{cmd:)}
If {cmd:saving} is specified,

If I then type, in the Stata viewer,

help nutz

then the viewer contains the line

saving( fileout1 fileout2 fileoutX)
If saving is specified,

with all the correct underlining, italicising and bold fonts. (I use Intercooled Stata 7 under Windows 98 SE.)

Are you beginning your SMCL .hlp file with {smcl} (as you should be?) Because, if this line is absent, then the .hlp file will not be treated as SMCL.

Best wishes

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: roger.newson@kcl.ac.uk

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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index