help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Run shell command from latex?


From: saneman
Subject: Re: Run shell command from latex?
Date: Wed, 09 Apr 2008 22:39:03 +0200
User-agent: Thunderbird 2.0.0.12 (X11/20080227)

David Hansen wrote:
On Wed, 09 Apr 2008 21:11:32 +0200 saneman wrote:

I am using auctex for latex. I would like to configure Alt-1 to run a
shell script compiles a .tex file and a few other things I have made.

It this possible?

How about writing a Makefile and use M-x compile?  BTW M-! aka
`shell-command' works everywhere.

David




I know but I don't want to type 'make' each time. Instead I would like to define a short key in my .emacs file that executes the script.

Something like:

(global-set-key "\C-r" 'myscript)


Now each time I press C-r the 'myscript' gets executed. Is that possible somehow?


reply via email to

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