[OS X TeX] Dots in file names
Claus Gerhardt
gerhardt at math.uni-heidelberg.de
Thu Mar 16 21:41:36 EST 2006
Dear André,
Use hyphens as separators and be done with it. I am using this method
for years and never had a problem, though I have to admit that it
never occurred to me to start a name with a hyphen.
There are so many beautiful problems out there to solve and also
others to worry about that you should save your time and energy for
the important stuff.
Claus
On Mar 17, 2006, at 0:34, André Bellaïche wrote:
>
> Le 16 mars 06 à 02:02, André Bellaïche a écrit :
>
>> How can you tell \includegraphics or TeXShop or teTeX or MacOS
>> that in "Fig.I.1.1" there is no extension (the system is aware
>> that this is a .eps file, of course), and that in "Fig.I.1.1.eps",
>> the extension is .eps. ?
>>
>> Instead of that :
>>
>> \includegraphics{Fig.I.1.1} returns ! LaTeX Error: Unknown
>> graphics extension: .I.1.1.
>>
>> \includegraphics{Fig.I.1.1.eps} returns ! LaTeX Error: Unknown
>> graphics extension: .I.1.1.eps.
>>
>> By the way, Fig-I-1-1.eps works, but any file name beginning with
>> a "-" sign yields an immediate fatal error.
>>
>> If dots, slashes, backslashes are forbidden, and "-" is hazardous,
>> how do you separate chapter, section, etc. numbers in file names ?
>> Using dots, as used by LaTeX, seemed to be the standard way,...
>>
>> André Bellaïche
>
> Thank you to Ross Moore for suggesting the use of the underscore.
>
> I have had a second thought, and made some trials.
>
> 1) Apple Informations (cmd-I) : The answer is Name + extension is
> Fig.I.1.1; without extension, same answer. So MacOS is well aware
> that this name contains no extension.
>
> 2) Adobe Illustrator opens this file without any problem.
>
> 3) So does Microsoft Word, and you can read Fig.I.1.1
>
> 4) When you create a file named untitled.1.2.3, and open it with
> TeXShop, the application thinks it is a file named untitled.1.2,
> with extension .3, and it suggests you to save it as untitled.1.2,
> with extension .tex. This means, only the segment delimitated by
> the last dot is considered as being the extension.
>
> So, can I think that there is some flaw in the programming of
> \includegraphics, and that this flaw can be cured easiy ?
>
> André Bellaïche
>
>
>
>
> ------------------------- Info --------------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
> & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
>
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
More information about the MacOSX-TeX
mailing list