[OS X TeX] MacOSX-TeX Digest, Vol 47, Issue 18

Claus Gerhardt claus.gerhardt at uni-heidelberg.de
Tue Sep 27 12:21:58 CEST 2011


Add these commands to the script, where 20 is an upper bound for the number of asy files it has not to be precise.

Claus

set i to 1 as number
	set n to 20
	repeat while i < (n + 1)
		try
			set j to i as string
			set shellScript to "cd " & dirName & ";"
			set shellScript to shellScript & "rm -f  " & baseName & "-" & j & ".asy"
			do shell script shellScript
			
		end try
		try
			set j to i as string
			set shellScript to "cd " & dirName & ";"
			set shellScript to shellScript & "rm -f  " & baseName & "-" & j & ".pdf"
			do shell script shellScript
			
		end try
		
		set i to (i + 1)
	end repeat

On Sep 27, 2011, at 3:04, Herbert Schulz wrote:

> 
> On Sep 26, 2011, at 7:06 PM, Murray Eisenberg wrote:
> 
>> When I use asymptotemk, it generates a whole bunch of files that are _not_ deleted by use of the TeXShop console's "Trash Aux Files" button.
>> 
>> How can one change the TeXShop configuration so that these additional files are so deleted?
> 
> 
> Howdy,
> 
> Alan Munn has given an Applescript contributed by Claus Gerhardt that may work. We are looking into it.
> 
> Good Luck,
> 
> Herb Schulz
> (herbs at wideopenwest dot com)
> 
> 
> 
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> 
> 




More information about the macostex-archives mailing list