Hi, I am trying to include a latex code in a Stata do file using the texdoc.
I tried to replicate the example found in Jann, Ben (2016), but I don't quite get the syntax of the code.
I tried to run the following
Whenever I run this I get the following warning: (texdoc do not running; nothing to do)
I am not familiar with the package; do I need to run
Do I need to run
before the first block of code I reported?
In that case, should "myfile" be created beforehand?
I tried to replicate the example found in Jann, Ben (2016), but I don't quite get the syntax of the code.
I tried to run the following
Code:
texdoc init example.tex, replace /*tex \documentclass{article} \usepackage{stata} \begin{document} \section*{Exercise 1} Open the 1978 Automobile Data and summarize the variables. tex*/ texdoc stlog sysuse auto summarize texdoc stlog close /*tex \section*{Exercise 2} Run a regression of price on milage and weight. tex*/ texdoc stlog regress price mpg weight texdoc stlog close /*tex \end{document}
I am not familiar with the package; do I need to run
Do I need to run
Code:
texdoc do myfile
In that case, should "myfile" be created beforehand?
Comment