Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: New versions of -dolog-, -dologx- and -dotex- on SSC


From   "Newson, Roger B" <[email protected]>
To   <[email protected]>
Subject   st: New versions of -dolog-, -dologx- and -dotex- on SSC
Date   Wed, 27 Jun 2007 14:38:24 +0100

Thanks to Kit Baum, new versions of the -dolog-, -dologx- and -dotex-
packages are now available for download from SSC. In Stata, use the
-ssc- command to do this.

The -dolog-, -dologx- and -dotex- packages are described as below on my
website, and enable the user to execute a do-file, outputting the
results automatically to a text or LaTeX log file. The new versions fix
a bug, which caused the old versions to fail if the name of the do-file
contained embedded blanks. As this bug has stayed undetected since 2003,
it seems that relatively few users name their do-files with embedded
blanks, even under Microsoft operating environments.

I would like to thank Stefan Ruediger of the University of
Wisconsin-Milwaukee for informing me of this bug.

Best wishes

Roger


Roger Newson
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: www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/pop
genetics/reph/

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


------------------------------------------------------------------------
----------------------
package dolog from http://www.imperial.ac.uk/nhli/r.newson/stata9
------------------------------------------------------------------------
----------------------

TITLE
      dolog: Execute commands from a file, creating a log file

DESCRIPTION/AUTHOR(S)
      dolog (like do) causes Stata to execute the commands stored in
filename
      just as if they were entered from the keyboard, and echos the
commands as it
      executes them, creating a log file filename.log.  If filename is
specified
      without an extension, filename.do is assumed. If filename is
specified with
      an extension, then the log file will have .log as an additional
extension
      (so dolog will not overwrite the original do-file). Arguments are
allowed
      (as with do), but the nostop option is not available.
      
      Author: Roger Newson
      Distribution-Date: 26june2007
      Stata-Version: 9

INSTALLATION FILES                                  (click here to
install)
      dolog.ado
      dolog.hlp
------------------------------------------------------------------------
----------------------
(click here to return to the previous screen)


------------------------------------------------------------------------
----------------------
package dologx from http://www.imperial.ac.uk/nhli/r.newson/stata9
------------------------------------------------------------------------
----------------------

TITLE
      dologx: Multiple versions of dolog for executing certification
scripts

DESCRIPTION/AUTHOR(S)
      dologx (like dolog) causes Stata to execute the commands stored in
a do-file
      named filename.do as if they were entered from the keyboard, and
echos the
      commands as it executes them, creating a log file filename.log.
The dologx
      package contains multiple versions of dolog, written in multiple
Stata
      versions, intended for use when running certification scripts.
Usually, a
      do-file should contain a version statement at or near the top, so
it will
      still run in the Stata version in which it was written, even if
the user runs
      it under a later version of Stata. Certification scripts are an
exception to
      this rule, because they are run under multiple Stata versions, to
certify
      that the package being tested works under all of these versions. A
      certification script therefore should not contain a version
statement at the
      top. The version of Stata under which it run will therefore be the
version in
      force in the program that calls it, even if that program is dolog.
The
      standard version of dolog should therefore not be used to run a
certification
      script, and the user should use the dologx package instead, using
dolog6 to
      run it under Stata 6, dolog7 to run it under Stata 7, and so on.
      
      Author: Roger Newson
      Distribution-Date: 26june2007
      Stata-Version: 9

INSTALLATION FILES                                  (click here to
install)
      dolog6.ado
      dolog7.ado
      dolog8.ado
      dolog9.ado
      dologx.hlp
------------------------------------------------------------------------
----------------------
(click here to return to the previous screen)


------------------------------------------------------------------------
----------------------
package dotex from http://www.imperial.ac.uk/nhli/r.newson/stata7
------------------------------------------------------------------------
----------------------

TITLE
      dotex: Execute a do-file generating a SJ LaTeX log

DESCRIPTION/AUTHOR(S)
      dotex is a version of the dolog package, and causes Stata to
execute the
      commands stored in a do-file named filename.do as if they were
entered from
      the keyboard, and echos the commands as it executes them, creating
a log file
      filename.tex written in Stata Journal (SJ) LaTeX. The file
filename.tex (or
      parts of it) can then be included in the stlog environment of SJ
LaTeX. The
      dotex package was derived by hybridising the dolog package with
the SJ's
      logopen and logclose, which also create log files written in SJ
LaTeX for
      inclusion in the stlog environment. The dotex package has the
advantage that
      a user can run the same do-file using dotex, dolog and do,
creating a SJ
      LaTeX log file, a text log file, and no log file, respectively.
      
      Author: Roger Newson
      Distribution-Date: 26june2007
      Stata-Version: 7

INSTALLATION FILES                                  (click here to
install)
      dotex.ado
      dotex.hlp
------------------------------------------------------------------------
----------------------
(click here to return to the previous screen)

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