[OS X TeX] Re: MacOSX-TeX Digest, Vol 47, Issue 18
herbs at wideopenwest.com
Mon Sep 26 22:52:05 CEST 2011
On Sep 26, 2011, at 3:40 PM, Murray Eisenberg wrote:
> Using that creates a large number of auxiliary files other than the usual ones for an ordinary LaTeX run. How does one change the TeXShop configuration so that clicking the "Trash Aux Files" button on the console deletes those, too?
> On 9/26/11 3:00 PM, macosx-tex-request at email.esm.psu.edu wrote
>> From: Herbert Schulz<herbs at wideopenwest.com>
>> Subject: Re: [OS X TeX] Asymptote
>> To: TeX on Mac OS X Mailing List<macosx-tex at email.esm.psu.edu>
>> On Sep 26, 2011, at 1:18 AM, Ararat Andrasian wrote:
>>> How can I configure texshop so it could use the asymptote in texlive 2011....
>> Assuming you've installed asy already (that's another procedure) and you are using TeXShop it's pretty easy. You need only activate the ``latexmk engines'' by moving them from ~/Library/TeXShop/Engines/Inactive/Latexmk/ two folders up, to ~/Library/TeXShop/Engines/ (note: ~/Library/ is the Library folder in your HOME folder --- if you are using Lion you can get to it by pressing the Option Key and Clicking on Finder's Go menu) and resstarting TeXShop. To tell TeXShop that a .tex file should use the asymptotemk engine place the line
>> % !TEX TS-program = asymptotemk
>> at the top of the file. From then on simply Typeset->Typeset (Cmd-T) will automatically compile only those asymptote figures that have changed since the last compile as well as take care of multiple runs of pdflatex and biblatex and/or makeindex.
>> There is another Asymptote specific engine found in ~/Library/TeXShop/Engines/Inactive/Asymptote/ but try the asymptotemk engine first and see if you like it....
Look for `clean aux files' in TeXShop Help and part of what you get is:
When documents are typeset, auxiliary files are created with extensions .aux, .log, .bbl, etc. Occasionally these files can become corrupt and lead to unexplained typesetting errors. TeXShop has a menu command "Trash AUX Files" which will remove all such files so typesetting can proceed. There is a similarly named button on the Console window. If either of these items is activated, TeXShop will move to the trash all files in the current source directory with the same name as the source file and extension aux, blg, brf, ccs, ent, fff, glo, idx, idv, ilg, ind, ioa, lg, log, lot, mte, mlf, out, pdfsync, toc, ttt, wrm, bcf, run.xml, synctex, synctex.gz, xref, 4ct, 4tc, or fdb_latexmk.
Additional extensions can be added to this list. To add "dvi" to the list, activate the Terminal and type
defaults write TeXShop OtherTrashExtensions -array-add "dvi"
To remove all additions and return to the original default list, tppe
defaults write TeXShop OtherTrashExtensions -array
I think that may be part of the answer. In general though that will only deal with files that have the same base name as the source file and many of the additional files created don't have that kind of file name. As long as you are editing it is wise to keep those files around because latexmk will then be able to tell if a particular asymptote figure has been changed and only compile the ones that have changed since the last compile. No really good way to get rid of all of them that I know of.
(herbs at wideopenwest dot com)
More information about the macostex-archives