Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Re: texdoc


From   Janet Hill <janethill73@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: texdoc
Date   Fri, 3 Apr 2009 14:58:27 +0000 (GMT)

I have found texdoc very useful - many thanks Ben. 

I have a problem in trying to write a label to the output. When I run this do file:

texdoc init plotweave, replace
        tex \documentclass{article}
        tex \usepackage{stata}
        tex \usepackage{graphicx}
        tex \begin{document}
forvalues i==1/4{
	texdoc stlog
	di "`: label (site) `i''"
	tab goc if site==`i' & ogc==1
	texdoc stlog close
	spineplot ogc goc if site==`i' & ogc==1
	graph export plot`i'.eps,replace
	tex
	tex \includegraphics{plot`i'}
	}
        tex \end{document}
        texdoc close

The values of label (site) display on screen but do not appear in the Latex output (everything else is there).
Is there a way of getting them into the output (assuming that I have not made a syntax blunder). I am using Stata 10 and led to read the Latex

Thanks,
Janet




      

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index