[OS X TeX] "Paste Spreadsheet Cells" and csv2latex

Alan Munn amunn at gmx.com
Sun Feb 21 02:27:46 CET 2010


On Feb 20, 2010, at 7:03 PM, Claus Gerhardt wrote:

> Alan,
>
> Those users of TS who already have created their own macros and a  
> corresponding order in the listing of the macros  might not be too  
> eager to heed your advice especially if they only want to just add  
> one macro.

Yes, I agree with this wholeheartedly.  It's not high on Dick's  
priority list of features to add to TeXShop, though.  The recommended  
procedure is to move all your own macros to a contiguous space in the  
macros menu, but that kind of defeats the purpose of the thematic  
arrangement that currently exists, which most of us probably just  
supplement.

I haven't messed around with the Insert Macros from File to know  
whether it can preserve ordering

Implementation-wise, I think the problem is that since we can change  
any of the macros supplied, there's no coherent way to distinguish the  
default macros from user defined ones, so having a separate "User  
Macros" vs. "System Macros" file from a TeXShop point of view isn't  
practical.

>
> I therefore suggest that TS has one set of default macros which will  
> be added at start up in case no macros could be found, and a set of  
> compiled Applescripts that can be opened in Script Editor and used  
> as macros for those who want to handpick their macros.
>

I'm not quite sure what you mean here with your second set.  Would  
these be equivalent to the macros found in the "Applescript Macros"  
menu in TexShop or something else?

Alan


	
> Claus
>
> On Feb 21, 2010, at 0:35, Alan Munn wrote:
>
>> On Feb 20, 2010, at 3:05 PM, David Messerschmitt wrote:
>>
>>>
>>> As one of those lazy users who just wants things to work without a  
>>> lot of fuss, I was excited to find the Macros Help in TexShop 2.31  
>>> describing a Default Applescript Macro "Paste Spreadsheet Cells".  
>>> With considerable excitement I went to the TexShop Macros- 
>>> >Applescript menu to look for it, and was disappointed that it was  
>>> not listed. Assuming this refers to csv2latex, I then looked for  
>>> csv2latex among the macro menus and could not find it either. Am I  
>>> missing something simple? It would be great if this useful macro  
>>> was available without a lot of installation fuss.
>>>
>>> -dave
>>>
>>
>>
>> Dave, unfortunately the advice from both Schremmer and Claus is  
>> incorrect.  Schremmer's advice is based on the version that was not  
>> bundled with TeXShop, and Claus' kind of combines the two.
>>
>> Herb's advice is correct, but I'll clarify things a bit:
>>
>> To access any new macros in TeXShop you have to get TeXShop to  
>> regenerate your ~/Library/TeXShop/Macros folder.
>>
>> So you need to first save any of your own personal macros to a  
>> file.  You can do this by opening the macro editor, and selecting  
>> any macros that you have added or modified yourself, and then  
>> choosing "Save Selection to File" from the Macros menu.
>>
>> Once you've done that, close TeXShop and  move your ~/Library/ 
>> TeXShop/Macros folder to the trash, and restart TeXShop.  Now the  
>> new macros will become available (including the Paste Spreadsheet  
>> Cells macro).
>>
>> Once you've done that, you can then open the macro editor again and  
>> choose "Add Macros from File" to add back the macros you saved in  
>> step 1.
>>
>> I hope this is clearer.
>>
>> Alan
>>
>> -- 
>> Alan Munn
>> amunn at gmx.com
>>
>>
>>
>>
>> ----------- Please Consult the Following Before Posting -----------
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
>> List Archive: http://tug.org/pipermail/macostex-archives/
>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>>
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>

-- 
Alan Munn
amunn at gmx.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20100220/2223a14f/attachment.html>


More information about the macostex-archives mailing list