all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christian_Yale <cseljatib@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: pdflatex short-cut keys
Date: Sun, 18 Nov 2007 17:29:09 -0800 (PST)	[thread overview]
Message-ID: <f177c8cf-b3e7-4127-b6ec-27d337631ea6@41g2000hsh.googlegroups.com> (raw)

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.

             reply	other threads:[~2007-11-19  1:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-19  1:29 Christian_Yale [this message]
2007-11-19  1:46 ` pdflatex short-cut keys 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f177c8cf-b3e7-4127-b6ec-27d337631ea6@41g2000hsh.googlegroups.com \
    --to=cseljatib@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.