MA
The top.tex file is one you have to create for yourself (as you observe,
there is an example on p.25 of the tutorial) and you have to place it
where -tabout- can find it.
If it's in the current working directory, then the topf option can be
simply specified as topf(top.tex) otherwise you will need to include the
path eg. topf(d:\data\top.tex). The usual Stata conventions for paths
apply (eg. use " " around paths with spaces, use \ only for Windows, not
Unix etc).
Keep in mind that you can have multiple topf files, each with different
names and different contents, and they can all be located in a
convenient upper-level directory common to all your projects. Then, if
you specify the path to these files in the topf option, they can be used
for any specific project. This is often more convenient than having them
in the current working directory.
Finally, these comments also apply to botf option.
Cheers
Ian
MA V wrote:
> Hi--
> I am trying to use the "tabout" program but I am getting the following
> error message:
> "File top.tex not found.
> Check and retype file specification."
>
> The code I'm using comes directly from p.21 of the tutorial for the
> tabout program by Ian Watson and is the following:
>
> tabout foreign rep78 using table11.txt, ///
> c(mean mpg mean weight mean length median price median headroom) ///
> f(1c 1c 1c 2cm 1c) ///
> clab(MPG Weight_(lbs) Length_(in) Price Headroom_(in)) ///
> sum npos(tufte)
> style(tex) bt cl2(2-4 5-6) cltr2(.75em 1.5em) ///
> topf(top.tex) botf(bot.tex) topstr(10cm) botstr(auto.dta)
>
> Is the file top.tex a file that is supposed to be used by Stata? And if
> so, where should I save this tex file so that Stata can find it?
> (Note: the contents of the top.tex file can be found on p.25 of the
> above mentioned tutorial)
>
> Thanks!
> MA
>
> _________________________________________________________________
> Valentine=92s Day -- Shop for gifts that spell L-O-V-E at MSN Shopping
> http://shopping.msn.com/content/shp/?ctId=3D8323,ptnrid=3D37,ptnrdata=3D2=
4095&tcode=3Dwlmtagline
>
>
> *
> * For searches and help try:
> * http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/