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

Peter Dyballa Peter_Dyballa at Web.DE
Sat Jan 30 20:01:03 CET 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

-------------- next part --------------
----------- 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



More information about the macostex-archives mailing list