#delim ; version 17.0; * Crib for Stata 17 semicolon-delimited do-files for use with -dolog- and -htmlutil- *; clear all; set scheme rbn4mono; * Beginning of document-generating block *; local fname `"htmcrib17"'; local title `"My HTML document"'; tempname htmb1; sleep 1; htmlopen `htmb1' using `"`fname'.htm"', replace head body title(`"`title'"'); cap n {; * Output document title and initialize figure and table counters *; file write `htmb1' _n `"