auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] shell-escape


From: Ralf Stubner
Subject: Re: [AUCTeX] shell-escape
Date: Mon, 10 Oct 2005 14:59:24 +0200
User-agent: Mutt/1.5.9i

On Sun, Oct 09, 2005 at 14:05 -0700, David Arnold wrote:
> How do I pass shell-escape as an option when compiling a latex  
> document with auctex?

Some time ago David suggested something like this to me after a similar
request: 

(defun TeX-toggle-escape nil (interactive)
  (setq LaTeX-command
        (if (string= LaTeX-command "latex") "latex -shell-escape" "latex")))

(add-hook 'LaTeX-mode-hook
          '(lambda ()
             (define-key LaTeX-mode-map "\C-c\C-t\C-x" 'TeX-toggle-escape)))

Now one can toggle the use of '-shell-escape' with 'C-c C-t C-x'.

cheerio
ralf





reply via email to

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