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: New package -tfinsert- on SSC
From
"Roger B. Newson" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: New package -tfinsert- on SSC
Date
Mon, 03 Mar 2014 12:44:33 +0000
Thanks once again to Kit Baum, a new package -tfinsert- is now available
for download from SSC. In Stata, use the -ssc- command to do this.
The -tfinsert- package is described as below on my website. It allows
the user to input text, from an existing text file and/or from an
instream sequence of lines in the Stata program terminated by a
terminator string, for output into a file open for text output using the
-file- command. This can be useful if the user is building a TeX, HTML
or XML file using a Stata do-file.
I would like once again to thank Alan Riley, Kerry Kammire and Karen
Hickson of StataCorp for very helpfully explaining to me about how to
use the unpublicized -_request2(macroname)- option of the -display-
command, which made the instream capability of -tfinsert- possible.
Best wishes
Roger
--
Roger B Newson BSc MSc DPhil
Lecturer in Medical Statistics
Respiratory Epidemiology, Occupational Medicine
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.
----------------------------------------------------------------------------
package tfinsert from http://www.imperial.ac.uk/nhli/r.newson/stata10
----------------------------------------------------------------------------
TITLE
tfinsert: Insert text into an open text file
DESCRIPTION/AUTHOR(S)
The tfinsert package inserts text from an instream dataset and/or
an existing text file into a text file open for text output and
identified by a handle recognised by the file command. This
allows the user to insert text into a TeX, HTML or XML file that
is being built by a Stata do-file.
Author: Roger Newson
Distribution-Date: 01march2014
Stata-Version: 10
INSTALLATION FILES (click here to install)
tfinsert.ado
tfinsert.sthlp
----------------------------------------------------------------------------
(click here to return to the previous screen)
*
* 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/