I would agree with Kit's idea re the SMCL file -examplehelpfile.sthlp-, which of course is distributed with official Stata in the BASE folder, which can be identified by typing
adopath
in Stata. It would be nice for all users to be able to access it, and make copies, without having to get into the official Stata folders.
Re providing TeX templates, as I understand it, the StataCorp policy on this (as of 26 June 2009) was given on StataList by Alan Riley, and can be found at
http://www.stata.com/statalist/archive/2009-06/msg00963.html
where we were told that such templates would be made available at some time during the life of Stata 11.
Best wishes
Roger
Roger B Newson BSc MSc DPhil
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton Campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: [email protected]
Web page: http://www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/popgenetics/reph/
Opinions expressed are those of the author, not of the institution.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Kit Baum
Sent: 23 November 2009 14:46
To: [email protected]
Subject: st: re: TeX template for PDF help files
<>
Nick Winter said
Re: SMCL, I'm no huge fan, but it does seem to have some good features
tied to the needs of displaying things in Stata (e.g., ability to run
example code). In any case, I find coding SMCL by hand about as hard as
coding simple HTML by hand, and considerably easier than coding simple
LaTeX by hand. So I'd love to see the next iteration of the do-file
editor include a more full-blown environment for writing help files.
A good start, which would require no change to the logic of the do-file editor beyond allowing it to open and save .smcl files (as most editors have an option to open any kind of file if you insist---e.g. no reason why it can't open .txt files), would be to provide the sample file given in [U] 18.11.6 in both filled-in and blank template form, and make it easy to load those files into the do-fie editor as read-only documents, to be saved under a different name. We're not talking quantum physics here.
Kit Baum
[email protected]
*
* 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/
*
* 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/