<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Mar 9, 2010, at 5:58 PM, Vic Norton wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Your labeling is what had me buffaloed, Alan. I assumed your "csv2latex" did what it says it does---convert "comma separated values" to tabular latex data. In fact it does almost nothing to "comma separated values". It does convert "tab separated values" (like you would copy off of a spreadsheet) to tabular latex data. An appropriate name for your routine might be "tsv2latex".<br><br>The compiled "csv2latex" does convert "comma separated values" to latex tabular data.<br><br>Now that I've figured out that I'm supposed to use "tab separated values" in TeXShop, "Paste Spreadsheet Cells" works fine---and I do appreciate having this tool at my disposal.</div></blockquote><div><br></div>Yes, you're right, the basic format is tab separated since it's designed for cut and paste. Maybe I should just change the name as you suggest and be done with causing this confusion.</div><div><br></div><div>Alan</div><div><br><blockquote type="cite"><div><br>Regards,<br><br>A no longer perplexed Vic<br><br><br><br>On Mar 9, 2010, at 12:30 PM, Alan Munn wrote:<br><br><blockquote type="cite"><br></blockquote><blockquote type="cite">On Mar 9, 2010, at 11:57 AM, Vic Norton wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">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></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">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<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Alan<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Obviously I am missing something.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Regards,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Vic<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">On Mar 9, 2010, at 10:42 AM, Alan Munn wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Hi, this is somewhat off-topic, but ultimately relates to TeXShop.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><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></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Thanks<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Alan<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">-- <br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Alan Munn<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><a href="mailto:amunn@gmx.com">amunn@gmx.com</a><br></blockquote></blockquote></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>