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

xemacs with auctex



>>>>> "Mario" == Mario Olimpio de Menezes <mario@curiango.ipen.br> writes:

    Mario> Hi,

    Mario> 	I installed xemacs right now. It's nice! But...  I
    Mario> couldn't get my latex menus with xemacs, and I think it's
    Mario> because auctex isn't installed. Auctex depends on emacs :(
    Mario> Is there some other way to get those latex menus with
    Mario> xemacs? Or is there some way of getting auctex installed
    Mario> with xemacs? Is this possible?

    Mario> []s, Mario O.de Menezes mailto:mario@curiango.ipen.br |
    Mario> Nuclear and Energetic Research Institute - IPEN-CNEN/SP
    Mario> BRAZIL | | http://curiango.ipen.br/~mario - -
    Mario> http://www.ipen.br |

Xemacs already includes auctex (as well as lots of other packages that
emacs needs installed separately), so that's not really the problem.
I have the following in my .emacs to get auctex loaded and started:

;;; ********************
;;; AucTeX stuff
;;;
(require 'tex-site)
(setq-default TeX-master nil) ; Query for master file
(setq TeX-parse-self t)       ; Enable parse on load
(setq TeX-auto-save t) 	      ; Enable parse on save
(setq outline-minor-mode-prefix "\C-c\C-o")
(setq TeX-auto-private "/home/npreyer/auto/")
(setq TeX-auto-global "/usr/lib/xemacs/site-lisp/auctex/auto/")
(require 'font-latex)
(set-face-foreground 'font-lock-keyword-face    "midnightblue")
(make-face-bold      'font-lock-keyword-face)
(set-face-foreground 'font-latex-bold-face      "#6920ac")
(set-face-foreground 'font-latex-italic-face    "#6920ac")
(set-face-foreground 'font-latex-math-face      "violetred")
(set-face-foreground 'font-latex-sedate-face    "red2")
(set-face-foreground 'font-latex-string-face    "orange4")
(set-face-foreground 'font-latex-warning-face   "red")
(set-face-foreground 'font-lock-comment-face    "brown")

(require 'bib-cite)
(setq bib-switch-to-buffer-function 'switch-to-buffer-other-frame)

All the "set-face" lines are optional, of course, as is specifying a
directory for auto files.  Check the paths before trying this!

HTH--Norris

-- 
Norris Preyer                   (541) 962-3310 (office)
Physics Program                 (541) 962-3873 (fax)
Eastern Oregon University       npreyer@eou.edu
La Grande, OR  97850            http://physics.eou.edu/npreyer.html
   *** Linux, for those with an IQ above 95 ***


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: