[OS X TeX] Adding a macro to TeXShop via an installer script

Peter Dyballa Peter_Dyballa at Web.DE
Sat Jan 30 14:01:03 EST 2010


Am 30.01.2010 um 18:56 schrieb Alan Munn:

> Second, is is possible to add plist items via a script?


Of course! There is the defaults programme. For non-preferences files  
you need to give it the whole pathname but leave away the extension,  
for example:

	defaults read ~/Library/TeXShop/Latex_Macros

And the same way you can write to it, delete settings from it...

--
Greetings

   Pete

No man was ever taken to hell by a woman unless he already had a  
ticket in his pocket, or at least had been fooling around with  
timetables.
				– Archie Goodwin




More information about the MacOSX-TeX mailing list