[OS X TeX] Can typeset but cannot just save

Herbert Schulz herbs at wideopenwest.com
Tue Mar 15 14:30:39 CET 2011


On Mar 15, 2011, at 8:23 AM, Richard Koch wrote:

> Alain,
> 
>> On Mar 14, 2011, at 10:00 PM, Alain Schremmer wrote:
>> 
>>> All of sudden, none of the many LaTeX files in a folder can be saved.  (TeX message) Yet,
>>> 
>>> (1 ) They can be typeset (and therefore saved)
>>> 
>>> (2)  If I move a file elsewhere, it still cannot be saved.
>>> 
>>> (2)  If I duplicate the file into another folder, the duplicate can be saved there. And once it is back in the main folder it can now be saved again.
>>> 
>>> So it is not a catastrophe but what am I missing?
>>> 
>>> Intrigued regards
>>> --schremme
> 
> 
> This is caused when the "kHasCustomIcon" flag is set as part of the file's attributes. 
> You can check using Terminal by typing
> 
> 	xattr -l  myfile.tex
> 
> where "myfile" is the file causing problem. I predict the listed attributes will be
> 
> 	** ** ** ** ** ** ** ** 04, etc,
> 
> where ** represents other things which aren't problematic, and it is the 04 causing problems.
> 
> TeXShop doesn't set the flag. I don't know what causes it to be set.
> 
> Cocoa ignores the flag in Tiger, as it should. But it sees it in Leopard, causing the indicated
> problem. The bug is fixed in Snow Leopard.
> 
> Dick Koch

Howdy,

Could this inherited (by mistake --- that's the bug) from the enclosing folder because it has a custom icon? Just throwing stuff in the wind.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list