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 on April 23, 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   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: texdoc
Date   Mon, 17 May 2010 19:49:51 +0100

Good point. 

Somehow I doubt that would satisfy anyone! 

It is not attractive enough to excite either the programmers who might do the work or the users who like Michael would like to have it. 

(Michael has, I think, programmed in Stata, but his question seems to imply that this project is not one he has time for.) 

Nick 
n.j.cox@durham.ac.uk 

Austin Nichols

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