Fellow Statalisters (especially StataCorp)

I recently tried to update my version of sjlatex to the latest version (dated 29aug2018), and tried to run the doit.bat file (using MiKTeX Version 2.9 under Windows 10). However, LaTeX complained

LaTeX Error: Environment threeparttable undefined.

I tried the experiment of adding the command

\usepackage{threeparttable}

to the preamble in the file main.tex (having previously installed the threeparttable package on the fly). This time, LaTeX only got confused in a more complicated way. and still didn't work, I also tried executing the sequence of commands

> latex main
> bibtex main
> latex main
> latex main
> dvips main.dvi -o main.ps

at the command prompt, but LaTeX still failed as before.

According to the online help for sjlatex,, SJ LaTeX has been tested using MiKTeX version 2.3 under Windows and using teTeX versions 1.0 to 3.0 under Unix. However, MiKTeX version 2.3 is superseded, and teTeX (as I understand it) is no longer even being updated (although it may work). And the TeX community seem to recommend us to use TeX Live (which has multiple maintainers who can presumably therefore fall under buses with a clear conscience)..

Do StataCorp have a recommended way of converting the latest main.tex to .ps and/or .pdf? (The latest version seems to \input readme.tex which seems to \input sj.tex which seems to contain the offending threeparttable environment.)

Best wishes

Roger