[OS X TeX] Update to 10.9.3 & Applescript TeXShop Macro
Herbert Schulz
herbs at wideopenwest.com
Sun May 18 20:05:34 CEST 2014
On May 18, 2014, at 12:57 PM, Michael Sharpe <msharpe at ucsd.edu> wrote:
>
> On May 18, 2014, at 9:33 AM, Herbert Schulz <herbs at wideopenwest.com> wrote:
>
>>
>> On May 18, 2014, at 11:10 AM, Michael Sharpe <msharpe at ucsd.edu> wrote:
>>
>>>
>>> I changed "run" to "run.xml" in extensions_to_delete and added code that works with filenames having embedded spaces. This time I'm attaching the correct file.
>>>
>>> Michael
>>>
>>>
>>> <DeleteAux.plist>
>>
>> Howdy,
>>
>> Works as advertised! Thanks very much.
>>
>> I couldn't pick out what you changed to quote the file names.
>>
>
> The lines
>
> set text item delimiters to space
> set ti to (text items of froot)
> set text item delimiters to "\\ "
> set froot to (ti as text)
> set text item delimiters to tid
>
> have the effect of replacing all spaces in froot (the root name of the tex file) with backslash backslash space, so that, after the command reaches the shell, you are left with entries like
>
> name\ with\ spaces.aux
>
> which will be correctly interpreted by unix utilities like ls and rm.
>
> Michael
Howdy,
Ahhh... now I see. I was looking for a place where " are placed around the file name.
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
More information about the macostex-archives
mailing list