[Mac OS X TeX] Using CMacTeX with TeXShop

Michel Bovani michel.bovani at wanadoo.fr
Thu Nov 15 03:52:17 EST 2001



<x-flowed iso-8859-1>Le 14/11/01 à 16:39 -0800 Troy Goodson a écrit :
>At 3:03 PM +0100 11/14/01, Michel Bovani wrote:
>>Le 14/11/01 à 14:26 +0100 Maarten Sneep a écrit :
>>
>>>(* translate the unix path to a mac path. If someone has a better idea,
>>>     please let me know *)
>>
>>
>>	set original_delimits to AppleScript's text item delimiters
>>	set AppleScript's text item delimiters to "/"
>>	set theList to text items of unix_path
>>	set AppleScript's text item delimiters to ":"
>>	set mac_path to theList as text
>>	set AppleScript's text item delimiters to original_delimits
>
>The algorithm given above will transform "hello:goodbye/folder" into
>"hello:goodbye:folder" which isn't what you want.  You simply need to
>find all "/"'s then find all ":"'s, then replace ":" with "/" and
>vice versa.

Right. I admit that it is not the same algoritm. On the other hand, 
CmacTeX does not support a "/" character in the path, anyway...

-- 
Michel Bovani

-----------------------------------------------------------------
To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.
This list is not moderated, and I am not responsible for
messages posted by third parties.
-----------------------------------------------------------------

</x-flowed>




More information about the MacOSX-TeX mailing list