I am using the texdoc command to build a .tex file by way of a do file. After using "texdoc init ...." I am trying to pass the contents of a stata macro to one of the arguments in the block of LaTex code. While the .do file executes, the .tex file contains the name of the Sata macro with surrounding quotes, not the contents of the macro. I have pasted the relevant code below. Does anyone know if it is possible to have the .tex file contain the contents of the macro?
Thanks.
local cname ABC
/*tex
\rhead{`cname'}
tex*/
Thanks.
local cname ABC
/*tex
\rhead{`cname'}
tex*/