[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pdflatex short-cut keys
From: |
Stefan Reichör |
Subject: |
Re: pdflatex short-cut keys |
Date: |
Tue, 20 Nov 2007 19:50:41 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
David Rod <angel_ov_north@tiscali.co.uk> writes:
> what is meant by the key as super
I use the windows-keys to gain some extra keybindings:
(setq w32-pass-lwindow-to-system nil
w32-pass-rwindow-to-system nil)
(setq w32-lwindow-modifier 'super) ; lwindow acts as super
(setq w32-rwindow-modifier 'hyper) ; rwindow acts as hyper
> does your code interfere with any of the functions or keybindings in
> latex-mode?
No, I define some extra keybindings.
To get back to your question. If you want to run PdfLatex via M-t, you could
use the following:
(defun tex-build-command-function (cmd &optional recenter-output-buffer
save-buffer override-confirm)
"Build a TeX-command function."
(` (lambda()
(interactive)
(when (, save-buffer) (save-buffer))
(when (, recenter-output-buffer) (TeX-recenter-output-buffer nil))
(TeX-command (, cmd) 'TeX-master-file (if (, override-confirm) 1 -1)))))
(define-key LaTeX-mode-map [(meta ?t)] (tex-build-command-function "PdfLaTeX" t
t))
A precondition is, that PdfLaTeX is available via C-c C-c
Stefan.
--
Posted via a free Usenet account from http://www.teranews.com
Re: pdflatex short-cut keys, Stefan Reichör, 2007/11/19