# Re: st: statweave

 From Stas Kolenikov To statalist@hsphsun2.harvard.edu Subject Re: st: statweave Date Mon, 23 Feb 2009 09:14:36 -0600

Phil Schumm presented something along the similar lines of combining
LaTeX code with Stata code at one of the NASUGs, two or three years
ago.

I am happy with producing all my tables using -estout- and then
\input{}ing them. I am OK with hitting some buttons twice.

The thing is, if a person has figured out LaTeX, they would be able to
figure out -file- and all that to produce whatever formatting they
need. But I would guess that on statalist, 75% of people copy/paste
their results to Word, and it is evene worse in the Big World of Stata
users where the ratio will more likely be 90% to 10%. The LaTeX base
is there, it is active, but hardly overwhelming. I would imagine that
with R users, the situation is likely to be reverse: LaTeX is pretty
much a prerequisite to writing a dissertation with more than 10
formulas in it... and most (bio)statistics or econometrics
dissertations would probably exceed that limit. And that's where R is
sitting.

On 2/23/09, David Airey <david.airey@vanderbilt.edu> wrote:
> .
>
>  the longer version....
>
>  http://www.stat.auckland.ac.nz/~paul/Talks/litdoc.pdf
>
>  In this thread I'm opening discussion of what is available in terms of
> approaches comparable to Sweave with Stata. This is obviously not just for
> LaTeX since ODT formats were mentioned in StatWeave above, but XML really
> opens the can.
>
>  -Davee
>
>
>  On Feb 23, 2009, at 8:28 AM, David Airey wrote:
>
>
> > .
> >
> > Here one of R's own pushes to forget about Sweave in favor of XML. That
> might be a direction for Stata to go in, since XML is open and all we might
> think about is a comparable routine to Sxslt
> (http://www.omegahat.org/Sxslt/).
> >
> >
> http://www.stat.auckland.ac.nz/~paul/Talks/litdocbrief.pdf
> >
> > -Dave
> >
> > On Feb 23, 2009, at 7:27 AM, David Airey wrote:
> >
> >
> > > .
> > >
> > > From the developer's page, which makes little sense to me as to why
> there is no direct support on the Mac, as the format of the graph can be PDF
> or EPS, which is what is required for LaTeX. I guess he is talking about
> OpenOffice.
> > >
> > > Stata:
> > > -----
> > > * Available graphics formats are platform-dependent:
> > >  Linux: EPS only
> > >  Mac: PDF and EPS
> > >  Windows: PNG and EPS
> > > Thus, except on Windows, Stata graphics are NOT directly supported
> > > for ODT source/target files, because ODT does not support EPS or PDF.
> > > For the same reason, for a LaTeX source file, you can't directly get
> > > graphics when the target is PDF.  One way to work around this is to
> > > configure appropriate graphics-format converters (Manual Section 6.4).
> > > For Linux LaTeX with a PDF target, an alternative is to make the DVI
> > > target, then convert that to PDF using dvipdf, dvipdfm, or similar.
> > >
> > > On Feb 22, 2009, at 9:55 PM, David Airey wrote:
> > >
> > >
> > > > .
> > > >
> > > > I did find this of course, but wanted to know about real world
> experiences...
> > > >
> > > > http://www.stata.com/meeting/italy08/rising_2008.pdf
> > > >
> > > > I am also wondering if Bill Rising is improving the rough edges of
> StatWeave with regard to Stata use alluded to in the talk.
> > > >
> > > > -Dave
> > > >
> > > > On Feb 22, 2009, at 9:47 PM, David Airey wrote:
> > > >
> > > >
> > > > > .
> > > > >
> > > > > Has anyone used StatWeave
> <http://www.stat.uiowa.edu/~rlenth/StatWeave/> to make
> LaTeX documents on Apple OS X Leopard with Stata 10? Has anyone used
> StatWeave with Stata at all?
> > > > >
> > > > > -Dave
> > > > > *
> > > > > *   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/
> > > > >
> > > >
> > > > *
> > > > *   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/
> > > >
> > >
> > > *
> > > *   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/
> > >
> >
> > *
> > *   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/
> >
>
>  *
>  *   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/
>

--
Stas Kolenikov, also found at http://stas.kolenikov.name
Small print: I use this email account for mailing lists only.
*
*   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/