Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: st: texdoc
From
"Nick Cox" <[email protected]>
To
<[email protected]>
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
[email protected]
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 <[email protected]> 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
> [email protected]
>
> 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/