[texhax] Suppressing intermediary output

Rolf Turner r.turner at auckland.ac.nz
Wed Sep 9 23:53:21 CEST 2009


On 10/09/2009, at 8:50 AM, Stephen McKeague wrote:

>
> Hello, I was wondering if somebody could help with a quick  
> problem.  I am using LaTeX but I think the issue lies with TeX too :-)
>
> When using latex to generate a DVI file, intermediary files (of at  
> least log and aux) are generated.  I do not have any need for these  
> and want to know a command line option or something, which means I  
> don't have to manually delete them every time.
>
> I know the command \nofiles prevents aux files from being  
> generated, but can not find anything to prevent the log file from  
> being generated.


As has been previously pointed out, you *can't* prevent the log file
from being generated, at least not without considerable difficulty.

IMHO this would be unwise anyhow.

Why not simply make it easy to get rid of the unwanted files?

For years I have been using an alias, set in my .cshrc file:

alias clean "/bin/rm -f *.aux *.log *.dvi; /bin/rm -i *.ps *.pdf"

Then just typing ``clean'' cleans up everything.  Notice that
*.aux, *.log, and *.dvi files get zapped with no questions asked,
but *.ps and *.pdf files induce prompting for confirmation of
their removal.  This can be adjusted according to your tastes
and needs.

	cheers,

		Rolf Turner

######################################################################
Attention: 
This e-mail message is privileged and confidential. If you are not the 
intended recipient please delete the message and notify the sender. 
Any views or opinions presented are solely those of the author.

This e-mail has been scanned and cleared by MailMarshal 
www.marshalsoftware.com
######################################################################


More information about the texhax mailing list