Few days back I discovered a great tool for using LaTeX with Stata. Most of us are familiar with Sweave which is a package in R. I was very happy to find the utility to be used with Stata. You can download it from here.
It's a .jar file, so you need to have java installed. I installed it it on my windows machine in root folder that is C:\ with a folder created named 'statweave'. After the installation, you have to adjust the statweave.cfg which is a configuration file. Specially look for your default LaTeX distribution, R and Stata installation folders address whether they are rightly located in the file.
To test whether it is working or not, I have created a separate folder which I guess can be anywhere on you computer. I downloaded some test files from here.
Another important aspect is that you should have Statweave.sty file in the same folder where your .swv or .tex file is. During the installation at one point you would be asked where you want to put your Statweave.sty file? I have chosen "C:\texlive\texmf-local\tex\latex\local". But everytime I run, it says that Statweave.sty is missing. Therefore I have copied it from that directory to the working directory where the .swv or .tex files are. Now it's working just fine.
It's a .jar file, so you need to have java installed. I installed it it on my windows machine in root folder that is C:\ with a folder created named 'statweave'. After the installation, you have to adjust the statweave.cfg which is a configuration file. Specially look for your default LaTeX distribution, R and Stata installation folders address whether they are rightly located in the file.
To test whether it is working or not, I have created a separate folder which I guess can be anywhere on you computer. I downloaded some test files from here.
Another important aspect is that you should have Statweave.sty file in the same folder where your .swv or .tex file is. During the installation at one point you would be asked where you want to put your Statweave.sty file? I have chosen "C:\texlive\texmf-local\tex\latex\local". But everytime I run, it says that Statweave.sty is missing. Therefore I have copied it from that directory to the working directory where the .swv or .tex files are. Now it's working just fine.
কোন মন্তব্য নেই:
একটি মন্তব্য পোস্ট করুন