[OS X TeX] Error: I can't write on file '(name)'

Roussanka Loukanova rloukano at stp.lingfil.uu.se
Fri Mar 23 05:39:31 EDT 2007


On Fri, 23 Mar 2007, Alain Schremmer wrote:

> Roussanka Loukanova wrote:
>
>> Why don't you try emacs as the editor? Just consider the fact that
>> emacs is *the most advanced on Earth*.
>> 
>> You already have a default emacs with your OSX:
>> 
>> sudo emacs /usr/local/texlive/2007/texmf/web2c/texmf.cnf Ret
>> 
>> And if you want easy, really easy Emacs with GUI, there is an one-click 
>> instillation of a very good Emacs editor:
>> <http://homepage.mac.com/zenitani/emacs-e.html>
>> 
>> Then, after you have downloaded Carbon Emacs, you can start it just by 
>> clicking on its icon. But, as Peter Dyballa's noted, you can start it from 
>> a Terminal window, for accessing and editing root files:
>> 
>> sudo /Applications/Emacs.app/Contents/MacOS/Emacs
>> 
>> Then you can use Emacs' pull-down menu to open the above file, modify it, 
>> save it, etc.
>> 
>> (I haven't really modified any files in the root directories in this way 
>> because I do not have what to modify right now, but it seems working: I 
>> opened the above file, and emacs doesn't issue warnings for write 
>> protection.)
>
> (1) This is all very interesting but, right now, I am not into editors but 
> having trouble dealing with Error: I can't write on file '(name)'

It seems that to fix it, one needs some editor.

> (2) As it happens, a friend came for dinner whose second language is Unix. 
> Before I could blink, he had carried out Voisin' suggestion, i.e. added 
> openout_any = r at the end of the file and it works.

Surely, for this, he talked to Unix via some editor (vi, pico, emacs,... 
:-)

Roussanka

------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the MacOSX-TeX mailing list