all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* pdflatex short-cut keys
@ 2007-11-19  1:29 Christian_Yale
  2007-11-19  1:46 ` Joost Kremers
  2007-11-19 18:25 ` Stefan Reichör
  0 siblings, 2 replies; 9+ messages in thread
From: Christian_Yale @ 2007-11-19  1:29 UTC (permalink / raw)
  To: help-gnu-emacs

hi there,

I want to have a short-cut key for running latex (under pdf mode) in
emacs22, then i do not need to click the icon (the lion one, where
appear 'Run LaTeX' if you put the mouse over it) for doing so. I put
the following in my .emacs file, but it did not work (i wanted to get
"ALT+t" to run latex):

 (list "pdfLaTeX" "pdflatex '\\nonstopmode\\input{%t}'" 'TeX-run-LaTeX
nil t)

        (global-set-key "\M-t" 'do-pdflatex)
        (defun do-pdflatex ()
              "pdflatex the current file."
              (interactive)
              (TeX-command "pdfLaTeX" 'TeX-master-file))

but, is not working at all, I mean when i "ALT+t" appear a message (in
emacs) that says

Wrong type argument: stringp, nil

Any suggestions?

Thanks in advance
!!
Ps: about my PC-emacs stuff
I use emacs22 (under ubuntu-linux 7.10), with auctex and ess, to be
able to compile LaTeX and R files from only one program.
Within emacs22 i have installed ECB (http://ecb.sourceforge.net/) and
Org-Mode (http://orgmode.org/), and I also use subversion (http://
subversion.tigris.org/) as the basis of
project and R code version control.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-11-21 17:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-19  1:29 pdflatex short-cut keys Christian_Yale
2007-11-19  1:46 ` Joost Kremers
2007-11-19  7:49   ` Torben Knudsen
2007-11-19 13:17     ` Peter Dyballa
     [not found]     ` <mailman.3789.1195478319.18990.help-gnu-emacs@gnu.org>
2007-11-21 14:22       ` Torben Knudsen
2007-11-21 17:23         ` Amy Templeton
2007-11-19 18:25 ` Stefan Reichör
2007-11-20 14:09   ` David Rod
2007-11-20 18:50     ` Stefan Reichör

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.