diff options
Diffstat (limited to 'support/csv2latex/TeXShop/csv2latex.plist')
-rw-r--r-- | support/csv2latex/TeXShop/csv2latex.plist | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/support/csv2latex/TeXShop/csv2latex.plist b/support/csv2latex/TeXShop/csv2latex.plist new file mode 100644 index 0000000000..2a9620f1ef --- /dev/null +++ b/support/csv2latex/TeXShop/csv2latex.plist @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>name</key> + <string>ROOT</string> + <key>submenu</key> + <array> + <dict> + <key>content</key> + <string>--Applescript direct +--This script copyright 2009,2010 by Alan Munn <amunn@msu.edu> +--Version 1.1 2010/01/31 +--Copy cells from Excel or other spreadsheet program and +-- use this script to paste the cells into your LaTeX source +-- in a variety of different table styles. +set mainList to {"cells","booktabs", "simple","longtable" } +choose from list mainList with prompt "Choose a table format" +if the result is not false then + set tablestyle to result as text + do shell script "/usr/local/bin/csv2latex" & " " & tablestyle + tell application "System Events" to keystroke "v" using {command down} +end if +--End of Applescript +</string> + <key>name</key> + <string>Paste Spreadsheet Cells</string> + </dict> + </array> +</dict> +</plist> |