summaryrefslogtreecommitdiff
path: root/support/csv2latex/TeXShop/csv2latex.plist
blob: 2a9620f1ef450d40f8842329f5d27e4a4c38cd2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 &lt;amunn@msu.edu&gt;
--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" &amp; " " &amp;  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>