From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Roger Mason Newsgroups: gmane.emacs.help Subject: Re: latex template Date: Sat, 08 May 2010 13:29:22 -0230 Organization: Memorial University of Newfoundland Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1273336878 19404 80.91.229.12 (8 May 2010 16:41:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 8 May 2010 16:41:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 08 18:41:15 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OAn5R-0002zX-Q4 for geh-help-gnu-emacs@m.gmane.org; Sat, 08 May 2010 18:41:09 +0200 Original-Received: from localhost ([127.0.0.1]:34596 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OAn5Q-00019z-Ty for geh-help-gnu-emacs@m.gmane.org; Sat, 08 May 2010 12:41:08 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!news2.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nrc-news.nrc.ca!newsflash.concordia.ca!News.Dal.Ca!news.mun.ca!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: perthite.esd.mun.ca Original-X-Trace: klimt.ucs.mun.ca 1273334362 31521 134.153.36.125 (8 May 2010 15:59:22 GMT) Original-X-Complaints-To: usenet@mun.ca Original-NNTP-Posting-Date: Sat, 8 May 2010 15:59:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:v9adybH8OffsY63Cswg6k2Blh2E= Original-Xref: usenet.stanford.edu gnu.emacs.help:178061 X-Original-Bytes: 1456 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:73589 Archived-At: Daniel Dalton writes: > I have a latex template I constantly use for all documents and have to > insert into all new files. It just contains the basic preamble stuff. Is > it possible to have this template I have which is just lines of latex > source automatically inserted into new files which emacs recognises as > "latex-mode"? I use a package called template. Unfortunately I can't remember if it came with Emacs 23.1 or was installed separately. In any case have a look at: http://www.emacswiki.org/emacs/CategoryTemplates Cheers, Roger