[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: binding emacs key combination to external program?
From: |
Roger Levy |
Subject: |
Re: binding emacs key combination to external program? |
Date: |
Tue, 11 Sep 2007 10:42:38 -0000 |
User-agent: |
G2/1.0 |
On Sep 10, 1:59 pm, Joost Kremers <joostkrem...@yahoo.com> wrote:
> Roger Levy wrote:
> > I use a shell script to compile my LaTeX files from the command line
> > and turn them into PDFs in one go-around (using ps2pdf rather than
> > pdflatex), and I would like to bind an Emacs key combination to the
> > execution of this script on the buffer. How can I do this? I'm
> > having a hard time figuring it out from the manual.
>
> you need to define a lisp function that calls your shell script on the
> current buffer, and then bind your desired key combo to this function.
>
> but more likely you should consider using AUCTeX (google for it). AUCTeX
> can be customised to call your script. plus it has a gazillion other
> benefits when writing latex documents.
Many thanks -- I do use AUCTeX but wasn't aware you can customize it
this way. Would the best way to be to edit the TeX-command-list
variable?
Roger
- binding emacs key combination to external program?, Roger Levy, 2007/09/10
- Re: binding emacs key combination to external program?, Joost Kremers, 2007/09/10
- Re: binding emacs key combination to external program?,
Roger Levy <=
- Re: binding emacs key combination to external program?, Peter Dyballa, 2007/09/11
- Re: binding emacs key combination to external program?, Joost Kremers, 2007/09/11
- Re: binding emacs key combination to external program?, Roger Levy, 2007/09/19
- Re: binding emacs key combination to external program?, Joost Kremers, 2007/09/19
- Re: binding emacs key combination to external program?, Roger Levy, 2007/09/25
- Message not available
- Re: binding emacs key combination to external program?, Roger Levy, 2007/09/19
Re: binding emacs key combination to external program?, Matthias, 2007/09/11
Re: binding emacs key combination to external program?, Johan Lindström, 2007/09/11