From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christophe Jorssen Newsgroups: gmane.emacs.help Subject: A quick build 'function' for auctex Date: 15 May 2008 17:06:39 GMT Organization: Guest of ProXad - France Message-ID: <482c6d9f$0$2002$426a74cc@news.free.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1210944678 12465 80.91.229.12 (16 May 2008 13:31:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 May 2008 13:31: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 Fri May 16 15:31:57 2008 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.50) id 1Jx02I-0000TJ-U0 for geh-help-gnu-emacs@m.gmane.org; Fri, 16 May 2008 15:31:51 +0200 Original-Received: from localhost ([127.0.0.1]:57471 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jx01Z-0006BT-FW for geh-help-gnu-emacs@m.gmane.org; Fri, 16 May 2008 09:31:05 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!feeder.news-service.com!news.astraweb.com!newsrouter-eu.astraweb.com!proxad.net!feeder1-2.proxad.net!cleanfeed2-b.proxad.net!nnrp14-1.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Pan/0.132 (Waxed in Black) Original-Lines: 26 Original-NNTP-Posting-Date: 15 May 2008 19:06:39 MEST Original-NNTP-Posting-Host: 82.228.49.39 Original-X-Trace: 1210871199 news-1.free.fr 2002 82.228.49.39:37297 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:158656 X-Mailman-Approved-At: Fri, 16 May 2008 09:27:20 -0400 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:54062 Archived-At: Hello, I'm quite new to emacs. I used to type my TeX files in kile or in winedt. I'd like to have a function similar to the 'quick build' feature in kile. That is : 1) Save the file (one file or all the files related to a master file) 2) [In pdfmode] Do pdflatex on the file (or on the master file) then if no error detected launch evince to see the resulting pdf file. OR [In dvimode] Do latex on the file (or on the master file) then if no error detected do dvips then do ps2pdf then launch evince to see the resulting pdf file. 3) If errors are detected, open a buffer to see the output These steps would be done without prompting the user. I'm confident that it is doable in emacs but I have no knowledge of emacs lisp. So, if anyone could spend a few time in helping me, I would be very grateful. Thanks a lot. -- Christophe