[OS X TeX] simpdftex and spaces in filenames

Peter Dyballa Peter_Dyballa at Web.DE
Fri May 23 16:15:01 EDT 2008


Am 23.05.2008 um 13:23 schrieb Bruno Voisin:

> It seems the problem lies inside simpdftex in the variable
>
> 	nosuffixbasename=`printf "%s" ${basename}|sed 's/\.[^.]*$//'`
>
> which eliminates the space you may have introduced through "\ " in  
> Terminal.

Yes! The printf removes all spaces because ${basename} is not written  
as "${basename}" ...

The problems seem to be that Leopard (Mac OS X 10.5) has a faulty or  
different echo or printf and that the author of simpdftex does think  
further. It's really no problem to check the OS and then decide to  
either use echo or printf or an appropriate syntax in every known OS  
case.

--
Greetings

   Pete

How many Microsoft engineers does it take to screw in a light-bulb?
None.
They just redefine "dark" as the new standard.






More information about the MacOSX-TeX mailing list