[OS X TeX] pdflatex figure with the same name as the document?

Herbert Schulz herbs at wideopenwest.com
Fri May 14 13:02:45 EDT 2010


On May 14, 2010, at 10:40 AM, Josep Maria Font wrote:

> El dia 14/05/2010, a les 03:46, Alan Munn va escriure:
> ...
>> Unlike Windows, though, the Mac OS preserves the distinction between upper and lower case in file names, so if you transfer files to a system that does care about case, the names will appear as you actually wrote them.
>> 
>> Apple's version is sort of weird: it preserves the file names, but ignores the difference. Within the terminal, for example, file name completion appears to be case-sensitive: 'app' will not expand to Applications.  But at the same time you can't create two files in the same directory with the same names but different cases.
> 
> I would need some clarification here. I have my disk formatted as "case-sensitive", and I *can* create two files in the same directory with the same names but different cases. I can do this either in the Finder or in the Terminal. They (seem to) appear as different files to the system. This seems to contradict your last assertion. Or is it that they only *look* as different but *are* actually the same file ?
> 
> However, when I backup to a USB pendrive which is formatted as "case-insensitive", the two files are contemplated as the same file, e.g., if only one is present in the pendrive then the most recent of the two is backed up against the other, irrespectively of the case in the names. Not being aware of this has caused some headaches in the past.
> 
> I have asked in the past about the (dis)advantages of case-sensitive versus case-insensitive, but never received a satisfactory answer. Is there anybody here with a clear one ? Thanks in advance !
> 
> 
> JMaF

Howdy,

Well, I think you just gave one of the disadvantages of setting the file system to case-sensitive. :-) This is especially true since case-insensitive seems to be the default.

Although I would like to use the case-sensitive setting I'm forgetful and couldn't afford to have backups messed up.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the MacOSX-TeX mailing list