From: Joost Kremers <joostkremers@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: Re: pdflatex short-cut keys
Date: 19 Nov 2007 01:46:15 GMT [thread overview]
Message-ID: <slrnfk1qms.m1o.joostkremers@j.kremers4.news.arnhem.chello.nl> (raw)
In-Reply-To: f177c8cf-b3e7-4127-b6ec-27d337631ea6@41g2000hsh.googlegroups.com
Christian_Yale wrote:
> I want to have a short-cut key for running latex (under pdf mode) in
> emacs22,
C-c C-c RET
if the file was modified from the last time latex was run, that will do the
trick. C-c C-c is also the proper way to run other commands, such as
opening viewers and a couple of other things.
> 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):
the default binding of M-t is way too useful to rebind it to anything
else. IHMO you'd better stick to the shortcut keys that AUCTeX provides by
default, there's good reason why they're set up the way they are.
> (list "pdfLaTeX" "pdflatex '\\nonstopmode\\input{%t}'" 'TeX-run-LaTeX
> nil t)
i'm not entirely sure what you're trying to accomplish here.
> (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
somewhere a function is getting an argument of nil where a stringp is
expected. you'll probably have to dig a little to find out where.
--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
next prev parent reply other threads:[~2007-11-19 1:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-19 1:29 pdflatex short-cut keys Christian_Yale
2007-11-19 1:46 ` Joost Kremers [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=slrnfk1qms.m1o.joostkremers@j.kremers4.news.arnhem.chello.nl \
--to=joostkremers@yahoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).