From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: integrating PDFLaTeX with emacs? Date: Thu, 17 Mar 2005 21:58:23 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1111094591 31800 80.91.229.2 (17 Mar 2005 21:23:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 Mar 2005 21:23:11 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 17 22:23:10 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DC2S9-0002hB-BI for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Mar 2005 22:22:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DC2iV-0002MS-FM for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Mar 2005 16:39:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DC2fx-0007Um-5b for help-gnu-emacs@gnu.org; Thu, 17 Mar 2005 16:37:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DC2WY-0004M7-9r for help-gnu-emacs@gnu.org; Thu, 17 Mar 2005 16:27:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DC2WT-0004Gj-VM for help-gnu-emacs@gnu.org; Thu, 17 Mar 2005 16:27:18 -0500 Original-Received: from [217.72.192.209] (helo=smtp05.web.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1DC24Z-0001MQ-6E for help-gnu-emacs@gnu.org; Thu, 17 Mar 2005 15:58:27 -0500 Original-Received: from [84.245.189.176] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.104 #268) id 1DC24X-000600-00; Thu, 17 Mar 2005 21:58:25 +0100 In-Reply-To: Original-To: Elvis Chen X-Mailer: Apple Mail (2.619.2) X-Sender: Peter_Dyballa@web.de 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 X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:24907 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24907 Am 17.03.2005 um 19:50 schrieb Elvis Chen: > I'm trying to get PDFLaTeX to play nicely with emacs. Don't forget RefTeX (it should already be part of your Emacs), (http://staff.science.uva.nl/~dominik/Tools/reftex/). These settings help a bit too: (autoload 'reftex-mode "reftex" "RefTeX Minor Mode" t) (autoload 'turn-on-reftex "reftex" "RefTeX Minor Mode" nil) (autoload 'reftex-citation "reftex-cite" "Make citation" nil) (autoload 'reftex-index-phrase-mode "reftex-index" "Phrase mode" t) (add-hook 'LaTeX-mode-hook 'turn-on-reftex) ; with AUCTeX LaTeX mode (add-hook 'latex-mode-hook 'turn-on-reftex) ; with Emacs latex mode (setq reftex-plug-into-AUCTeX t) ; M-x customize-variable RET reftex-plug-into-AUCTeX RET And besides AUCTeX there is preview-latex (http://preview-latex.sourceforge.net/, http://prdownloads.sourceforge.net/preview-latex/). It converts particularly math into graphics. AUCTeX allows a lot of customization ... (setq TeX-view-format "pdf") ;-- (remove ".pdf" completion-ignored-extensions)) (setq pdf-previewer-program "texdoc") '(TeX-PDF-mode t) '(dired-view-command-alist (quote (("\\.\\(ps\\|ps_pages\\|eps\\)\\'" . "texdoc %s") ("\\.pdf\\'" . "texdoc %s") ("\\.\\(jpe?g\\|gif\\|png\\)\\'" . "xv %s") ("\\.dvi\\'" . "texdoc %s")))) -- Greetings Pete "Don't just do something, sit there."