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

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

Re: simple tex shell command


From: Joel J. Adamson
Subject: Re: simple tex shell command
Date: Wed, 11 Jun 2008 09:42:21 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

"benjamin.friedrich" <address@hidden> writes:

> Dear all,
>
> I am a lisp newbie;
> I want to define a short-cut in my .emacs which automatically runs
> latex on my thesis,
> i.e. something like this
>
> (defun tex-thesis () "latex my thesis" "latex \\nonstopmode\input -src
> E:/thesis/thesis.tex")
> (global-set-key [f4] 'tex-thesis)
>
> How should this read as correct lisp code?
>
> Thanks,
> Ben

You could instead use AUCTeX, the Emacs mode for LaTeX (and other TeX)
editing.  No need to re-invent the wheel, or AUCTeX ;)  Then when you
are editing LaTeX, all you do is "C-cC-c" and you're good to go.

Joel

-- 
Joel J. Adamson
(303) 880-3109
Public key: http://pgp.mit.edu
Homepage: http://www.unc.edu/~adamsonj
Please read http://www.unc.edu/~adamsonj/roe.html




reply via email to

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