[OS X TeX] Excel tables to LaTeX - new script
Alan Munn
amunn at msu.edu
Wed Jul 15 02:55:24 CEST 2009
Hi everyone,
Tables are always a pain in the neck to write in LaTeX. I used to
use an Excel macro xl2latex.xls which would convert an Excel table to
LaTeX, but now that I have the latest and greatest [sic] Excel 2008,
which no longer supports VB Macros I'm back to square 1.
A while ago when this discussion cropped up here, some one posted a
nice Ruby script by Tom Counsell which does the trick very nicely.
I've now taken Tom's script and modified it to make it support more
table types, and added an applescript which can be used as a TeXShop
macro, so that inserting an Excel table in TeXShop can now be as
simple as copying from Excel and pasting using the macro.
If you think you would find this useful, please try it out:
<https://www.msu.edu/~amunn/latex/xl2latex.zip>
Questions and comments (and bug reports?) are welcome.
I'd especially welcome additions to the documentation which would
explain how to use the script with editors other than TeXShop, since
it certainly can be.
Perhaps this would be a useful thing to add to TeXShop itself.
Alan
--
Alan Munn amunn at msu.edu
Department of Linguistics
and Germanic, Slavic, Asian and African Languages Tel.
517-355-7491
Michigan State University, East Lansing MI 48824 USA Fax 517-432-2736
More information about the macostex-archives
mailing list