http://deabib.org is a website to provide you with bibliographic data about envelopment analysis (DEA). The database – once we have reached version 1.0, currently we are at v0.8.2 – covers more than 5000 papers about DEA that have been published in scientific journals in the years 1950 - 2007 and later.
Becker (2010): epspdfconversion
A LaTeX-package that calls epspdf to convert eps-graphics to pdf. It provides a vehicle for passing conversion options (such as grayscale, prepress or pdfversion) to the epstopdf converter. It is located in /macros/latex/contrib/epspdfconversion at CTAN.
See here for more information and a download-link.
The documentation is here.
5.2008 - Applescripts to convert Excel-Datasets in .csv-files and to bring them in a form that is suitable for an import (insheet) in Stata
Here you can find several applescripts that might help you to work with data-files. They are tested on Mac OS X Leopard (10.5).
Open them in the Script-Editor and have a look at the code to understand in full detail what they do. Applescript can also be saved as an application such that a double-click is enough to run them. For sure you need to adjust the first few lines. They are written for a special problem I had with a dataset but for sure can be modified to be helpful in other situations.
You need the application “TextWrangler”. It is available for free at http://www.barebones.com/. M$ Excel is necessary for the first two scripts. Stata is necessary to run the do file.
1_countrycodes.scpt
Takes all files in a folder, opens them with M$ Excel, and adds a column with the filename as an entry. The files are then saved in another folder. In the examle: The names of the original Excel-Files are based on the country-code of the country they contain the data for.
2_xlsTOcsv.scpt
Takes all files in a folder, opens them with M$ Excel, and saves them as .csv-text-files (comma separated values). The files are then saved in another folder.
3_SearchReplace.scpt
Takes all files in a folder, opens them on TextWrangler and runs several search&replace
procedures. Some of them use grep-expressions. The files are then saved in another folder.
This is the most useful script and also the one that need the most modifications
when applied in other situations. Note that TextWrangler is very “applescriptable” and
that you can use the “record”-functionality in the Apple-Script-Editor while working in
TextWrangler.
4_merge-sort.scpt
Puts the content of all files in a folder in one file, sorts al lines in this file alphabeticallly and then add a header in line 1 (containing the names of the columns).
5_split.scpt
Takes the file from the last step and splits it in several single-files based on a list given in the script.
X_deleteCSVFiles.scpt
Deletes all files with extension .csv in a folder selected by the user. (Not used in my example.)
stata.do
A stata do-file that reads the .csv-files, converts them into single .dta-datasets and then merges them into one proper stata-dataset.
Example-Dataset
contains all folders and source-files necessary. Unpack the zip-file and save the folder example-data, for example to the Desktop. Check carefully all scripts for line that contain the path to this folder and adjust them accordingly. Run the applescript from 1 to 5. The run the do-file from within Stata.
Download all scripts and a folder with an example dataset as .zip-file, 228 KB.
semi-official manual: http://www.ats.ucla.edu/stat/stata/latex/default.htm
Important Stata-Commands for producing tables and the like: tabstat, statsmat, tablemat, fsum, tabform, tabout, svytabs, svytabform, mkcorr, corrtab, makematrix, eststo, esttab, outreg2 (findit commandname finds them)
Download .zip-file with everything necessary, 116 KB.
Usage:
download the zip-file
open the do-file codebook.do. Read the comments. It is necessary that you adjust a few file-paths and that you use the resulting .tex-file properly.
TeX/Example.tex is a small .tex-file that demonstrates how the resulting file can be used.
Based on ideas from: Gini / Pasquini (2006).
TBD - please ask if you need that
TBD - please ask if you need that
TBD - please ask if you need that. For the second part, see 2.5.2.
Information about the package epspdfconversion can be found at CTAN.
Consider you have an eps-graphic file. It could be the result of an export from Stata, MATLAB, Maple or whatever. Sometimes it is necessary to add some notation or additional graphical elements like arrows or boxes.
One way to do that is to use pstricks and/or LaTeX. This is how this can be done
Make your .eps-file part of an \begin{pspicture} ... \end{pspicture}-environment: Create a file my-epsoverlay.tex (or so) that looks like this:
Add code as in the my-epsoverlay.tex-file.
Then run latex-dvips-ps2pdf13 on that file. In TeXShop, this can be done with an “engine” that looks like that:
The code above assumes that the commands latex, dvips, ps2pdf13, /bin/rm, mv and epspdf are available on your system. Especially epspdf is non-standard, you may need to install it separately from your LaTeX-installation. See the documentation of epspdfconversion (2.5.1). If you are using a recent TeXLive-Installation, epspdf is already part of it.
Other LaTeX-Editors/Frontends may provide other ways to apply the commands on your my-epsoverlay.tex-file.
Now you have two file epsgraph.eps and epsgraph.pdf that can be used in LaTeX oder pdfLaTeX.
a collection of TeX-related resources: http://wiht.link/TeX-LaTeX
a tutorials about drawing pictures and diagrams with pstricks / pdftricks: http://sarovar.org/projects/pstricks/ or http://tug.org/PSTricks/main.cgi/
pstricks-related packages: http://tug.org/PSTricks/main.cgi?file=packages
one of the best FAQ’s on LaTeX-Details, maintained by the UK TeX Users’ Group: http://www.tex.ac.uk
more tutorials on more aspects of LaTeX: http://www.tug.org.in/tutorials.html
LaTeX and Macintosh computers, general: http://www.esm.psu.edu/mac-tex/
TeX4ht is a way to produce html-code from a LaTeX-file (this homepage is an example, albeit not the best): http://www.tug.org/tex4ht/. There is a lack of an easy-to-access documentation, but here is a promising start written by the current (most-active) maintainer: https://www.kodymirus.cz/tex4ht-doc/tex4ht-doc.html#Introduction.html
If you compile your references with BibTeX, you could have a look here to see a collection of pre-formatted styles: http://jo.irisson.free.fr/bstdatabase/
As BibTeX really is a pain when it comes to customization, the biblatex-package seems to be the way to go. It is meant as a replacement for BibTeX. There is a learning curve.
What one should know before starting to use graphics in LaTeX: http://www.tug.org/pracjourn/2005-3/hoeppner/
What fonts are there to use in LaTeX? See the LaTeX Font Catalogue. Especially, look at the fonts of the TeX Gyre Project:
Adventor (similar to ITC Avant Garde Gothic) (TFM name: qag)
Bonum (similar to ITC Bookman) (qbk)
Chorus (similar to ITC Zapf Chancery) (qzc)
Cursor (similar to Courier) (qcr)
Heros (similar to Helvetica) (qhv)
Pagella (similar to Palatino) (qpl)
Schola (similar to New Century Schoolbook) (qtm)
Termes (similar to Times) (qtm)
There is also this article that explains the basics.
A site full of examples, mainly with TikZ- and PGF-code, both packages for “drawing” in LaTeX: http://www.texample.net/
If you are using pstricks for your “drawings”, this page with examples is a great help: http://www.tug.org/PSTricks/main.cgi?file=examples
If you look for a book on LaTeX, try http://en.wikibooks.org/wiki/LaTeX/.