Trying to convert a text file with some Stata code into a word document. Text file looks like this:
Code:
# Some example of markdown We will use example number three ## A subheading ~~~~ <<dd_do>> webuse auto, clear summarize price <</dd_do>> ~~~~ The mean of price is <<dd_display: %9.0g r(mean)>>. We will also check the relationship between **mpg** and **weight**. <<dd_do:quietly>> scatter mpg weight <</dd_do>> <<dd_graph: saving("graph.svg") replace height(400)>>
Stata code looks like this
Code:
dyndoc "try.txt", replace docx
Code:
option docx not allowed
I am using Stata 15. Any help would be appreciated!
0 Response to Dyndoc with option docx
Post a Comment