[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help: execute scripts form emacs
From: |
Pascal J. Bourguignon |
Subject: |
Re: Help: execute scripts form emacs |
Date: |
Mon, 12 Oct 2009 19:30:38 +0200 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/22.3 (darwin) |
wdysun <grammophonia@gmail.com> writes:
> Hello dears,
>
> suppose I have a script in /bin, let us assume it is called mytex. Suppose I
> am editing a file called filename.tex.
>
> If I run the following command from the console:
>
> $ mytex filename
>
> this will do several things (tex the filename with several options, then
> convert the dvi to pdf and it deletes all aux files I don't need).
>
> There is a way to launch the script from emacs or even to build a function
> so that I can run the command just with M - something?
If you are editing this filename.tex in emacs, you may also use
M-x compile RET C-a C-k mytex filename RET
and thereafter:
M-x recompile RET
--
__Pascal Bourguignon__