Statalist


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

Re: st: unix problem


From   Neil Shephard <nshephard@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: unix problem
Date   Wed, 30 Sep 2009 16:29:36 +0100

On Wed, Sep 30, 2009 at 4:17 PM, Michael Hills <mhills@blueyonder.co.uk> 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
-- 
"The combination of some data and an aching desire for an answer does
not ensure that a reasonable answer can be extracted from a given body
of data." ~ John Tukey (1986), "Sunset salvo". The American
Statistician 40(1).

Email - nshephard@gmail.com
Website - http://slack.ser.man.ac.uk/
Photos - http://www.flickr.com/photos/slackline/
*
*   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   |   What's new   |   Site index