[OS X TeX] Inserting TeX code via a contextual menu

Herbert Schulz herbs at wideopenwest.com
Mon Dec 20 15:26:33 EST 2010


On Dec 20, 2010, at 2:20 PM, William Adams wrote:

> Is something like this already implemented?
> 
> Open up AppleScript Editor
> 
> <CTRL>-click in a new script
> 
> Scroll down to the Folder icons at the bottom, then select some bit of code.
> 
> I know we have the Templates button, but this is wonderfully interactive, and allows one to easily indicate where the code should go.
> 
> I'd love to be able to have a folder where I could stash all of my TeX code snippets, then insert them thus.
> 
> William
> 

Howdy,

What size snippets are you taking about, i.e., how large a chunk of code? How many snippets? If they aren't too large you could add them as Command Completions. Do you have some examples of what you want to do that you can let me see?

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the MacOSX-TeX mailing list