TOHTML: Stata module to convert Stata log files to HTML reports
Kerry Du () and
Huanyu Jia ()
Additional contact information
Kerry Du: School of Management, Xiamen University
Huanyu Jia: School of Business, Zhengzhou University
Statistical Software Components from Boston College Department of Economics
Abstract:
tohtml is specifically designed to work hand-in-hand with ishere, forming a unified workflow embodied by the phrase: everything is here: from do to html. This design philosophy emphasizes a minimalist approach to reproducible research—where "is here" corresponds to the ishere command (marking where elements belong), and "to html" corresponds to the tohtml command (converting marked logs into polished reports). The core principle is simple: everything you need for your analysis lives in one place—your do-file. You mark locations with ishere, run your analysis, and tohtml transforms the log into a professional HTML report. No external tools, no manual editing, no copy-pasting—just a streamlined path from code to publication-ready output. tohtml converts Stata log files containing ishere markers into formatted HTML reports. The command can process a single log file or a directory containing multiple table and figure files. The latter gathers all table and figure files in the directory in a HTML.
Language: Stata
Requires: Stata version 17 and pathutil from SSC (q.v.)
Keywords: data; management (search for similar items in EconPapers)
Date: 2026-04-27
Note: This module may be installed from within Stata by typing "ssc install tohtml". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/t/tohtml.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/t/tohtml.sthlp help file (text/plain)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s459685
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().