In this presentation, I present a new user package called texdoc. texdoc can be used to create a LaTeX document from within Stata in a weaving fashion. This is especially useful if you want to produce a LaTeX document that contains Stata output, such as a Stata Journal article or solutions to statistics homework assignments. I will provide examples illustrating the usage of texdoc.