[OS X TeX] Spaces in the filename

Herbert Schulz herbs at wideopenwest.com
Tue Nov 24 09:10:57 EST 2009


On Nov 24, 2009, at 5:57 AM, Josep Maria Font wrote:

> El dia 24/11/2009, a les 03:51, Alan T Litchfield va escriure (in another thread):
> 
>> Note that I also removed the spaces in the file name.
> 
> I know that it is not recommended to put spaces in filenames, although TeXShop is now able to cope with them. Generally speaking. Recently I received a file from a colleague with a space in its name, and without noticing this I successfully typeset it... but synchronization was not working. Intrigued with this, I finally noticed that the created .synctex.gz file had been named "file name.synctex".gz, including the space and the quotation marks. I then removed the space and everything was fine.
> 
> I thought this was an interesting behaviour to share. (And, incidentally, this is perhaps what was happening to the OP of the thread "Need Help with Indexes"). One more reason to not include spaces in filenames.
> 
> Best,
> 
> 
> JMaF

Howdy,

What TeX distribution and TeXShop version are you using. The latest MacTeX-2009 (and I think 2008 too) along with the latest TeXShop 2.8 (only comes with MacTeX-2009 right now and has a synctex bug on PPC systems---TeXShop 2.29, with this fixed, should be out shortly) doesn't have this problem with the syntex.gz file.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the MacOSX-TeX mailing list