auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] shortcut to compile latex only


From: Piet van Oostrum
Subject: Re: [AUCTeX] shortcut to compile latex only
Date: Wed, 13 Sep 2017 14:15:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (darwin)

address@hidden writes:

> Hi Jonas,
>
> try with
>
> (define-key TeX-mode-map [f8] [?\C-c ?\C-c ?l ?a ?t ?e ?x return])
>
> you can add it to the LaTeX-mode-hook. But probably there's a more elegant 
> solution.
>

I think the more elegant solution would be to use elisp:

(define-key TeX-mode-map [f8]
            (lambda () (interactive) (TeX-command "LaTeX" 'TeX-master-file)))
-- 
Piet van Oostrum <address@hidden>
WWW: http://piet.vanoostrum.org/
PGP key: [8DAE142BE17999C4]



reply via email to

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