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."
_______________________________________________ Help-gnu-emacs mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
