Date: Fri, 20 Dec 2002 16:49:49 -0600 Reply-To: Paul Thompson Sender: "SAS(r) Discussion" From: Paul Thompson Organization: Washington University in St. Louis Subject: Re: using latex output from SAS Content-Type: text/plain; charset=us-ascii; format=flowed for those who are interested, I have a macro which produces a variety of types of LaTeX output from SAS datasets, and which I use all the time. If you are interested, I will send you a copy. Roger Cue wrote: > A question to the newsgroup (probalby a simple one but I'm unable > to find the answer, or even where to find the answer). > > I am using SAS v8.2, under W2K. I wanted to get some SAS output > and incorporate it into a Latex document. > > I used the ODS, > > eg > > sas code > > ods latex body='lfile.tex'; > > proc glm; > > etc > > > ods latex close; > > > this gave me a latex file which I hoped to incorporate into my > latex doument. I first tried latex-ing the file (using Miktex 2.2) > and it produces lots of errors, saying that the > \begin{center}\heading > {ProcTitle}{The GLM Procedure}\end{center} > > undefine control sequence > > > I suspect/presume that to use the SAS latex output I may need > some sort of SAS-latex .sty macro. However, searching the SAS > web site for latex ods gets me lots of information on tagsets > but I'm unable to find a concrete example of how I use the > SAS .tex output. > > A pointer to which/where RTFM would be appreciated. > > 

Back to: Top of message | Previous page | Main SAS-L page