auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] TeX-clean misbehaviour


From: Fabio Leimgruber
Subject: Re: [AUCTeX] TeX-clean misbehaviour
Date: Sun, 20 Sep 2009 13:24:37 +0200
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

> Something like the following should work:
>
> (define-key TeX-mode-map (kbd "<f5>")
>                (lambda ()
>                  (interactive)
>                (let ((buf (current-buffer))
>                      (TeX-process-asynchronous nil))
>                  (save-buffer)
>                  (TeX-command-menu "LaTeX")
>                  (with-current-buffer buf
>                    (TeX-command-menu "Clean")))))


Thanks Ralf for the code + explanation. Much obliged.

> Are you aware that your documents can never have cross references or a 
> toc if you purge .aux and .toc immediately after each LaTeX run?
>   

Hm. Good point... I think I'll define 2 shortcuts with different
behaviour. At the moment I am learning and need the latex + clean more
often as the learning materials are just some short snippets.

cheers





reply via email to

[Prev in Thread] Current Thread [Next in Thread]