Thanks. Somehow I had an older version of esttab - the latest version
works fine,
Michael
On Wed, 2009-09-30 at 16:29 +0100, Neil Shephard wrote:
> On Wed, Sep 30, 2009 at 4:17 PM, Michael Hills <[email protected]> wrote:
> > Inspired by a recent talk by Ben Jann to the London SUG I tried to use
> > esttab to create latex under unix but found the lines in the table had
> > \\\ at the end instead of \\. Thus
>
> Are you using _exactly_ the same version of -esttab- on both *NIX and Windows?
>
> The field end of line string for tex is set on line 217 (under *!
> version 2.0.5 09mar2009 Ben Jann ) as...
>
> local tex_end `"\\\"'
>
> I suspect it is set as this because it has something to do with the
> first '\' escaping the second '\'.
>
> Quite why this is the case/required I'm not sure as the -man comments-
> page only lists '//' and '///' as being comment delimiters.
>
> I vaguely remember a similar problem with Roger Newson's -listtex-
> which he resolved fairly quickly.
>
> Sorry thats not much, but checking version should be a start to see
> why there are differences.
>
> Neil
*
* 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/