[OS X TeX] How to copy and paste tables into LaTeX (from Excel or other programs)?

gertlist at mac.com gertlist at mac.com
Mon Dec 5 19:36:08 CET 2005


The tool that's mentioned on this website:
http://www.esm.psu.edu/mac-tex/tools.html
works fine for me!
Gert

On 5 Dec 2005, at 19:20, Markus Hänchen wrote:

> Hi,
>
> among the standard LaTeX operations creating tables is certainly  
> one of the most cumbersome one. I am looking for an easy solution  
> to copy data from an Excel table (or Igor, or Matlab) into a LaTeX  
> document.
>
> There are macros and the Matrix Panel in TeXShop to easily create a  
> simple table but how to get the data in it?
>
> My best solution so far was to create an Excel file having only one  
> table and then save it as a csv file. Open the csv file with a text  
> editor and do a find and replace of the comma with an ampersand.  
> Select and copy into the .tex file.
> This, naturally, could be done from any program that can export  
> something like a csv file.
>
> I would like to script that in a way that I ideally only have to  
> select tabular data in any kind of program (even from a website),  
> run the script on the contents of my clipboard, and paste the  
> result into the .tex file.
>
> Does something like this exist already?
>
> Cheers,
>
> Markus
>
> ------------------------- Info --------------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>          & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
>

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list