<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Mar 9, 2010, at 11:57 AM, Vic Norton wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I'll have to say that the TeXShop "Paste Spreadsheet Cells" macro is a complete mystery to me. When I run "csv2latex" from terminal I get what I would expect. Running "Paste Spreadsheet Cells" from TeXShop with some csv data in the clipboard doesn't give me anything like tabular data. In effect it just pastes the csv data, commas and all, into the TeXShop document.<br></div></blockquote><div><br></div>Unfortunately there's a naming problem that has arisen.  There's another csv2latex program around that converts a csv file to latex table format.  Perhaps that's what you have when you run from the command line.  My script modifies the contents of the clipboard directly, and now (as Herb notes) should reside within ~/Library/TeXShop/bin</div><div><br></div><div>Alan</div><div><br><blockquote type="cite"><div><br>Obviously I am missing something.<br><br>Regards,<br><br>Vic<br><br><br>On Mar 9, 2010, at 10:42 AM, Alan Munn wrote:<br><br><blockquote type="cite">Hi, this is somewhat off-topic, but ultimately relates to TeXShop.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Someone has requested a change to csv2latex (the script underlying the Paste Spreadsheet Cells macro in TeXShop) so that the $ character is not escaped (currently, that is the behaviour). This is easy to implement with a command line option to the ruby script, but I'm struggling with a way of passing that option via Applescript. The current Applescript uses "choose from list" to present the list of table style options.  What I'd like to do is add a checkbox to that dialogue corresponding to the option, but this doesn't seem to be possible.  Can anyone familiar with Applescript suggest a way of implementing this?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Alan<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">-- <br></blockquote><blockquote type="cite">Alan Munn<br></blockquote><blockquote type="cite"><a href="mailto:amunn@gmx.com">amunn@gmx.com</a><br></blockquote><br>----------- Please Consult the Following Before Posting -----------<br>TeX FAQ: <a href="http://www.tex.ac.uk/faq">http://www.tex.ac.uk/faq</a><br>List Reminders and Etiquette: <a href="http://email.esm.psu.edu/mac-tex/">http://email.esm.psu.edu/mac-tex/</a><br>List Archive: <a href="http://tug.org/pipermail/macostex-archives/">http://tug.org/pipermail/macostex-archives/</a><br>TeX on Mac OS X Website: <a href="http://mactex-wiki.tug.org/">http://mactex-wiki.tug.org/</a><br>List Info: <a href="http://email.esm.psu.edu/mailman/listinfo/macosx-tex">http://email.esm.psu.edu/mailman/listinfo/macosx-tex</a><br><br></div></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>-- </div><div>Alan Munn</div><div><a href="mailto:amunn@gmx.com">amunn@gmx.com</a></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br></body></html>