Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: texdoc


From   Austin Nichols <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: texdoc
Date   Mon, 17 May 2010 14:42:52 -0400

Nick, Michael Norman Mitchell:
In principle, it should be straightforward to do this kind of thing in
RTF; see e.g. http://en.wikipedia.org/wiki/Rich_Text_Format or try:

sysuse auto, clear
qui reg mpg weight
tempfile t
esttab using `t', rtf
type `t'

for an example of what the output would look like.

One issue is, when Microsoft changes the RTF standard or the way Word
reads RTF files, they might break whatever you wrote, without warning
or apology, so a programmer would have to stay on top of those kinds
of changes.

On Mon, May 17, 2010 at 2:28 PM, Nick Cox <n.j.cox@durham.ac.uk> wrote:
> My short answer is No.
>
> My longer answer is that it's difficult to imagine how that would be
> done -- and (not least) who would do it. Does Word lend itself to this,
> even in principle?
>
> One near approach would seem to be those programs with varying degrees
> of support for HTML output. -findit html- finds several.
>
> Nick
> n.j.cox@durham.ac.uk
>
> Michael Norman Mitchell
>
>
>   Thanks for posting this to bring this to our (and my) attention. I
> always believe very strongly in using this kind of "weaving" approach
> and find it very efficient. Are you (or is anyone on the Statalist)
> aware of a tool similar to this that weaves comments, commands, output,
> and graphs into a Word document? At my work, we are in constant need of
> creating such integrated outputs and the standard format is a Word
> document.
>
>
> On 2010-05-16 9.14 PM, Airey, David C wrote:
>> .
>>
>> I just wanted to remind users about Ben Jann's program "texdoc" as one
> solution for combining Stata results and graphs with documentation, in a
> "weaving" fashion, similar to R and Sweave. It works well with
> relatively simple documents one might produce for a course.

*
*   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   |   Site index